by atoav · 1y ago · 0 comments
There is only a very specific class of person, who is often overcautious and perfectionist to a degree that they won't even get started. They might need some advice that eases their worries. But the dangers are real. Overcomplexity is also a danger.
Most of the "dangerous advice" I have encountered as an engineer (be it electrical or software) I have seen in the form of legacy projects without anybody there to explain them to me. There you can see where corners where cut, where they were completely out of their depth, etc.
E.g. beginners with electrical wiring may or may not know what is up to code and what isn't and thus violate said code without knowing it.
To know when certain rules can be bent or broken usually requires a deep understanding for why the rules exist and what they are meant to prevent. Beginners do not have that knowledge and thus I'd hessitate to give any general advice to skip rules to them, unless it is extremely specific and tied to one specific situation.
Usually the more useful advice to beginners is when to ignore conventions and how everybody is doing it and when to just use the boring stuff.
I've heard the demographics in Germany have changed dramatically. That could no longer be the case.
The advice "use 'any' if it's too much work to type" is dangerous/bad advice for some developers because they don't have a well tuned definition of 'too much work', and they might not have all the tricks in the toolbox for every situation.
But legacy code or poorly typed libs can be an infinity time suck, and the most pragmatic approach might be to cut your losses, slap an 'any' on it and move on.
A great mentor gives the best (different axis than good/bad or safe/danger) advice for an individual in a specific situation.