Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return 2 values from a function
Message
De
17/10/2008 10:50:05
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
17/10/2008 10:32:50
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01355203
Message ID:
01355596
Vues:
31
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform