| ▲ | rgrau 2 hours ago | |
for multiline pipes, it's WAY better to format like
You don't have to use backquotes, AND, it allows you to comment line by line, because there's no backslash messing with the parser.I also use a last `|\ncat` so you can delete any line and you don't have to worry about the last line being a bit different than the rest I created a list of similar tricks in https://github.com/kidd/scripting-field-guide in case anyone wants to take a look | ||
| ▲ | mzs 31 minutes ago | parent [-] | |
You'll probably dislike this too:
There's good and bad to both approaches. I like how I can use () and {} to bracket things and otherwise every line that end in \ is continued. I line-up on the left with the operator, you with indentation. When you use a # style comment, you have to look up and back and forward to see what the operator is you are continuing over to the next line:
Which only takes an extra neuron or so, but then history... | ||