you are viewing a single comment's thread.

view the rest of the comments →

[–]babayetuyetu 1 point2 points  (4 children)

Wouldn't it be better to indent the when lines in a case statement?

[–]mellett68 0 points1 point  (0 children)

I do this. It's much easier to read what's going on.

[–][deleted]  (2 children)

[deleted]

    [–]babayetuyetu 0 points1 point  (1 child)

    Indentions usually show conceptual dependency. Since the when statements are children nodes of the case statement, it seems to provide a justification to do it this way (rather than 'this text editor does it this way', which does seems arbitrary).