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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: How has your coding style changed over the years?
by Tux (Canon) on Aug 11, 2022 at 07:00 UTC | |
by LanX (Saint) on Aug 11, 2022 at 13:53 UTC | |
by Fletch (Bishop) on Aug 11, 2022 at 14:01 UTC | |
by GrandFather (Saint) on Aug 12, 2022 at 03:53 UTC |
In Section
Meditations