Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hide won't
Message
De
12/03/2014 13:48:27
 
 
Information générale
Forum:
Javascript
Catégorie:
JQueryUI
Titre:
Divers
Thread ID:
01596038
Message ID:
01596322
Vues:
47
>2) Personally I think white space IMPROVES code readability. There is no performance penalty since the compiler discards it all.

white space: yes. unnecessary blank lines: not for me...
>
>
>snip
>
>>My biggest problem(s) with the '{' are that
>>1) They're WAY too easy to lose track of. If you absolutely must have something to designate the beginning and ending for a code chunk, what's wrong with 'begin' and 'end'? Much easier to keep track of
>>2) The fact that, because of 1, people will put them on separate lines, increasing the white space in a program and (to me) making it more difficult to read and to follow the logic flow. I have the same issue when people comment out huge swathes of code rather than remove it after a set period of time. Seriously, we've got programs that have 100's of lines that were commented out in 2005.
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform