2 ms·
This is the only case where I think that using whitespace indentation for delimiting blocks of code is not a good idea. It makes this particular problem very di
by ceronman 12y ago
This is the only case where I think that using whitespace indentation for delimiting blocks of code is not a good idea. It makes this particular problem very difficult to solve elegantly. In languages where blocks are delimited by brackets is easer.
- angersock 12y ago...perhaps this is a hint that significant whitespace is a bad idea?
- lmm 12y agoIt's an argument to weigh in the balance, yes. Given that Python is more readable than languages without significant whitespace (even when those languages have the advantage of easy multiline lambdas), I don't find it convincing.
- pyre 12y ago... like $[ in Perl?
- draegtun 12y agoFortunately $[ was disabled from v5.16.0 (released in 2012). ref: http://perldoc.perl.org/perl5160delta.html http://perldoc.perl.org/perl5160delta.html