News for hackers. Stuff that matters.
Re:Use long flags when scripting (2013) by m463 on Saturday September 19, 2020 @02:17PM (#24529399)
sometimes I do something like this:

  foo \
    --group1 \
    \
    --group 2 \
    --more-stuff 2 \
    | \
   bar \
    --bar-stuff
using a line with a single backlash or breaking out the pipe can make grouping stuff clear. well, I mean as clear as having to use backslashes which to me is a little inelegant. Personally python and its indenting strategy has grown on me especially since editor support makes it painless to use and visually excellent.

There are no comments on this comment yet.