I'll admit that I'm a shite coder. That said, there's stuff I see that always makes me shiver when I see it in others' code I've been asked to review. Like, this morning, someone sent out an installation script (BASH) for installing HBSS on production systems. While there was much I didn't like about the script's contents the thing that made me straight-up shudder was the script-author kept using echo -e "\n<MESSAGE_STRING>"
. Me? If I need to do something like output-formatting in a BASH script, I use printf
. (Ab)Using the echo
built-in, that way, just makes me go all..
Bootstrap css or any other css framework which makes you use 4-5 level of unnecessary nested Dom elements just to make a simple form look align. Infact, After watching few old talks from Heydon Pickering last years, I have started focusing on better CSS writing instead of depending on Scss to do my dirty work.
I recently updated a client's website from over 600kb of css to about 160kb (even after adding micro-animations for more modern feel). Total js size reduced from about 1mb to just 280kb using typescript and removing all dom libraries. My IDE is smart enough to type document.getElementById for me.