News for hackers. Stuff that matters.
Re:Bash $* and $@ (2017) by mysterydip on Sunday January 12, 2020 @03:52PM (#22029232)
A common problem that happened to a coworker was he made a quick bash script for something simple, then kept adding "just one more" thing with sunk cost fallacy not wanting to take the time to rewrite it. Eventually the monstrosity created was too difficult to debug and it had to be rewritten in a different language.
Re:Bash $* and $@ (2017) by Jade_Jet on Sunday January 12, 2020 @09:33PM (#22031383)
I’ve seen the same thing happen with any language. Generally tends to happen when a dev hasn’t thought through the scope of what they are doing beforehand. I’ve written some ugly python in my earlier days due to this as well.

My point here is it is less to due with the language and more to due with the mindset when solving a problem.

The main issue I see with more inexperienced devs with bash is that they tend to think it’s okay to be lazy with the code because it’s just “bash”. If you would write safety checks and comments in your python you should be doing the same in bash really.