in reply to Different ways of formatting/writing code
because human beings can see patterns better vertically rather than diagonally. There is a history behind this { on the same line stuff. I used to do it that way too, but I have changed my "evil" ways. I think that vertical paren alignment is better, but of course the language allows you do it either way.sub function_A { .... }
The idea of function prototypes in Perl is a bit more dubious, but I don't think that was your question. Perl allows that too, but that doesn't necessarily mean that it is a good idea.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Different ways of formatting/writing code
by DStaal (Chaplain) on Dec 09, 2009 at 17:14 UTC |