in reply to Different ways of formatting/writing code

I use

sub foo { print "do stuff"; }
but I'm old and I grew up on K&R. As others have said, pick a style you like and stick to it.

Replies are listed 'Best First'.
Re^2: Different ways of formatting/writing code
by DreamT (Pilgrim) on Dec 10, 2009 at 07:37 UTC
    Ok, thank you all for your replies, that was some good reading:-) I understand that the program itself doesn't care which style I use (as long as the syntax is correct). I'm more interested in finding the optimal way of writing code that is easily maintainend.