in reply to Re^4: How would you indent this?
in thread How would you indent this?

Everything else needs intelligent heuristics to determine if the data has a repeated structure requiring another presentation

Well, yeah. In case you missed the implication, some styles are better than others in certain situations, and you should use the appropriate style to the situation.

Style is about readability, not slavishly following some preset rules.

Seeking work! You can reach me at ikegami@adaelis.com

Replies are listed 'Best First'.
Re^6: How would you indent this?
by LanX (Cardinal) on Mar 19, 2021 at 14:04 UTC
    > Style is about readability,

    I agree with you about the best representation of this particular set of data.

    > not slavishly following some preset rules.

    And I said more than once that the editor shouldn't change the authors decision but assist when wanted.

    I'm just skeptical there is a Perl tool yet, which auto-detects tabular structure with empty cells and represents it accordingly.

    I could think of ways to implement this, and would be thankful to hear about tools which do it already.

    All discussed tools so far are either not changing key order or sorting alphabetically.

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

      I'm just skeptical there is a Perl tool yet

      That may be, but the question didn't say anything about tools.

      Seeking work! You can reach me at ikegami@adaelis.com