The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
When I went to college I don't remember anyone teaching anything like that for the languages that they taught which included pascal and fortran.
So not sure why anything should be different now.
More so since I have since learned of course that often "best-practice" is very likely only "my opinion" when someone actually questions the source. In college though the 'source' at least sometimes was cited as some book which the teacher was the author - so often not really a viable source even then.
Chris Maunder wrote:
...as to how knowledge of these ancient arts is passed down in a way that let's people move on sanely.
By doing it day to day in a job. Certainly how the two people that I worked with in a lab in college did it. The lab certainly wasn't teaching anyone how to create an actual circuit but at that point they had been doing it for a job for about 15 years. They were only going to the university because, at that time, the only way you could move up at their company and get paid more was by getting a degree. Despite the very obvious evidence that taking the class wasn't going to teach them anything at all.
They didn't teach JS when I was in college (Java instead ). Tbh I think a lot of JS confusion comes from attempting to apply how other languages work that you already know to how JS works - and it's almost always wrong. The topic that always comes to mind is this[^].
Personally I like that JS lets you have flexible control on context, use, and binding. I disliked the complexity at first but after spending some time with the language I see the usefulness on top of it being much less mysterious now. Some stuff is obsolete but some things can only be accomplished using a specific technique as the article points out.
I grad I'm NOT using C or C++. The day of manual memory management, its so flexible, so archaic, its such a dinosaur. I have to go back to it once in a while when developing IoT stuff, but other than that, I'm happy with C# and even JS.
They copy-paste random code until it magically starts working, then refactor everything into a gazillion functions and plaster unit-tests all over it. Once they realize they've written too much code and have too many dependencies, they call it a framework.