in reply to Re^2: How would you indent this?
in thread How would you indent this?
{ key => 'k', class => 'kanji' },
is best here because it makes it easy to see the differences the rows at a glance.
{ key => 'k', class => 'kanji' },
isn't too bad, since it's almost as good at showing the differences between rows. The extra spacing is a needless hindrance, though, so it's not as good.
But it's definitely not as bad as what you posted in the OP.
{ key => 'k', class => 'kanji' },
This is just plain weird.
Finally, we have this:
{ key => 'k', class => 'kanji', },
It offers no readability benefits over the styles, and makes it even harder to see differences between the lines. No good here. This would be used when dealing with with very long records, and when adjacent lines are substantially different (e.g. in a multi-level structure).
Seeking work! You can reach me at ikegami@adaelis.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How would you indent this?
by LanX (Saint) on Mar 18, 2021 at 19:23 UTC | |
by GrandFather (Saint) on Mar 18, 2021 at 20:24 UTC | |
by LanX (Saint) on Mar 18, 2021 at 20:48 UTC | |
by haj (Vicar) on Mar 19, 2021 at 00:02 UTC | |
by LanX (Saint) on Mar 19, 2021 at 14:20 UTC | |
| |
by GrandFather (Saint) on Mar 18, 2021 at 21:13 UTC | |
by LanX (Saint) on Mar 18, 2021 at 21:22 UTC | |
| |
by no longer just digit (Beadle) on Mar 18, 2021 at 23:04 UTC | |
by LanX (Saint) on Mar 19, 2021 at 12:48 UTC | |
| |
by ikegami (Patriarch) on Mar 19, 2021 at 13:32 UTC | |
by LanX (Saint) on Mar 19, 2021 at 14:04 UTC | |
by ikegami (Patriarch) on Mar 22, 2021 at 08:09 UTC | |
|
Re^4: How would you indent this?
by Anonymous Monk on Mar 19, 2021 at 08:46 UTC | |
by ikegami (Patriarch) on Mar 19, 2021 at 13:41 UTC | |
by Anonymous Monk on Mar 20, 2021 at 02:43 UTC | |
by ikegami (Patriarch) on Mar 22, 2021 at 08:10 UTC |