Both are fine illustrations of the importance of careful formatting and whitespace — and yes, sometimes even comments — to make the intentions clear.
I don't see anything even close to "clear intentions". Sure, the first chunks of code were rather hard to discern the intentions of. But a lack of whitespace made the parsing of the code only slightly more difficult. The blown-up examples of code actually did very little to make any intentions clear to me. There seems to be a bunch of added "text" especially in one case that I find mostly contributes confusion.
I think you've managed to instead demonstrate that whitespace, formatting, and comments are often not worth spit in the face of bizarre code. You've just reinforced my belief that writing clear code is much more important than any of whitespace, formatting, or comments... probably quite counter to your intentions for the above node.
- tye
In reply to Re: Unearthed Arcana (intentions)
by tye
in thread Unearthed Arcana
by tchrist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |