turncoat

Piers Cawley pdcawley at bofh.org.uk
Thu Aug 23 06:35:49 BST 2007


On 23/08/2007, Andy Armstrong <andy at hexten.net> wrote:
> On 22 Aug 2007, at 23:47, chromatic wrote:
> >> Some people make such a big deal about this when there really is no
> >> deal to be made.
> >
> > Python's *vertical* whitespace is actually a big deal that you
> > can't wave away
> > by saying "Face it, everybody good idents their code."
>
> You mean the fact that newline is a statement terminator you can only
> introduce additional line breaks inside parens / brackets / braces?

That particular issue annoys me with Ruby if I'm honest. If nothing
else it encourages this bloody stupid culture of Ruby indentation
which has no truck with the right hand margin. You can at least break
a line by \ escaping the newline, or breaking the line where Ruby
_knows_ the statement hasn't ended, but indentation practices like
using a leading comma as you continue an argument list get a little
more complicated because you have to remember to backwhack the newline
every time too.

Frankly, I'd rather have the semicolon as the only statement
terminator. Oh, and please can I have a working strict for ruby? And a
web framework that pays attention to tainting? And my? And no need to
keep unrolling @_ every bloody time I make a method? Ah... sorry...
that last one's why I'm holding out for Perl 6.


More information about the london.pm mailing list