|
|
| P is for Practical | |
| PerlMonks |
Re: The One True Style of indentation:by mattr (Curate) |
| on Apr 15, 2002 at 10:40 UTC ( #159130=note: print w/ replies, xml ) | Need Help?? |
|
I use two spaces for manual indentation in Perl, and to continue a block of information in my own todo lists which are ascii, two newlines separating each block. It prints well and looks sane to me.. I use XEmacs which seems to get it right, tab eq 2 spaces. Personally I just find it to be the right amount, it generally leaves me enough room for short comments on the same line even when nested. I learned curlies from Niklaus & Wurth but forget what they said.. I use
if (true) {
..Vertical real estate is important too. The real holy war is, how do you line up long || statements (over 2 lines for me)..
Right??!?!?!? (smiling like jack n. in the shining) hee hee hah hah ahaha ahaa!!
In Section
Past Polls
|
|
||||||||||||||||||||||