http://www.perlmonks.org?node_id=11146000


in reply to How has your coding style changed over the years?

I am pretty much on the same page as the OP and others, but I have a fondness for this type of indentation:
foo { some code line; foo { some code line; some code line; } }
which I find it useful for tracking nested structures and more visually pleasing than the pure K&R. Indentation is four spaces.

I also use a final semicolon in the last line within curly brackets even when that is not strictly necessary. In that way I do not need to think about the last semicolon when doing tests or adjustments in the code.

TIMTOWTDI :-)