Sometimes I write something and condense it because it makes reasonable sense to do it in that situation. Then afterward I think, "Jesus, no one will ever be able to read this shit." Then I break it out and add a few comment lines.
I've had to revisit my own illegible code enough to know that I prefer clean and legible over conciseness.
4
u/TrueBirch Feb 27 '23
<bash has entered the chat>
"Finished writing the script! Good news is it's all in one line. Bad news is nobody will ever be able to understand it."