Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide won't
Message
From
12/03/2014 13:48:27
 
General information
Forum:
Javascript
Category:
JQueryUI
Title:
Miscellaneous
Thread ID:
01596038
Message ID:
01596322
Views:
42
>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.
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform