Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return 2 values from a function
Message
From
17/10/2008 10:50:05
John Baird
Coatesville, Pennsylvania, United States
 
 
To
17/10/2008 10:32:50
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01355203
Message ID:
01355596
Views:
34
>>BTW like me you are using multiple returns as in your example:) It shouldn't be a bad practice if many developers including those claiming that it is bad are using it.
>>Cetin
>
>Cetin, You are right and I was trying to make that point exactly even though I said I wasn't taking a side. I suggested it was best left to each developer to decide what works best for them. For me I do it also technically but I have my own standards for how far I would take it. You obviously are free to do what you want and I am not judging you or anyone else.
>Tim

That's okay if you're a one-man shop, but if you work as part of a development team, then you need coding standards and everyone needs to follow them. the coding standards that most c# coders follow as a general rule are available all over the net. They are a good starting point. Its nice knowing that I can pick up someone elses code and start wokring with it without trying to figure out what the hell they're doing.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform