http://qs321.pair.com?node_id=11146093


in reply to Re^4: How has your coding style changed over the years?
in thread How has your coding style changed over the years?

> or END in languages like PASCAL - is visually showing me the end of the block, it should obviously have the same indent as the block itself.

> In other words: I see the braces being part of the block,

I don't understand this argument. From all languages I remember using an end keyword, I can't remember any seeing it as part of the block, but indenting it as part of the surrounding construct.

e.g. Ruby

block_name do #statement-1 #statement-2 . . end

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery