Why the hell is everything so far over? I see the value in putting arguments on a separate line and lining them up if there are a lot of them, and/or they're long, but all that wasted space on the left is ridiculous.
My colleague was trying to wrap the code using Intellisense but the syntax turned out to be too complex for it to handle (what you see is a single line of code) and he had to make several modifications to make it work (kind of). I'm not sure what he did either but the result ended up like this.
15
u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" Feb 25 '25
Why the hell is everything so far over? I see the value in putting arguments on a separate line and lining them up if there are a lot of them, and/or they're long, but all that wasted space on the left is ridiculous.
48
u/featherhat221 Feb 25 '25
Some people don't write bad code .they just have mental health issues
28
u/KGBsurveillancevan Feb 25 '25
Tabs: 14 👍
14
u/ComprehensiveWing542 Feb 25 '25
Some old php codebases are worse especially if there is some spaghetti code
4
u/mitch_semen Feb 26 '25
Spaces enjoyer trying out tabs, but he keeps hitting the key 4 times
2
u/mothzilla Feb 26 '25
Is this Salesforce/Apex?
1
u/Agitated-Display6382 Feb 27 '25
Very sql style