hronecviktor
Joined 2 years ago
Karma
60
Submissions
19
Member since
Dec 10
Joined 2 years ago
Thank you
Still, I may be a little anal about this but I align with this. I quote everything in bash. In this case I would do single quotes as it's a literal. You never know when someone with lesser bash knowledge will modify your script and put a variable in there. Shell expansions are nothing but footguns everywhere. Proper quoting hygiene and `--` goes a long way
Also for the masochists among us - obfuscated perl, IOCCC style C and Malbolge ;)
I was using a 106 with US layout
Colleague #1 was using 60% with russian layout
Colleague #2 was on catalan layout
90% of the time we were just hunting for special chars
Ofc stuff that is actually deprecated is a different story.
When I see some kind of tutorial or whatever from 2025 by a young dev and he is using ifconfig instead of ip or similar stuff... I am having a hard time holding myself back not telling them ifconfig was deprecated before they were even born :)
On the other hand sometimes when my brain goes full autopilot it still defaults to writing
/etc/init.d/someservice restart
Like sysV wasnt out for a decade by now