I'd especially like to know for c++.
I'd especially like to know for c++.
cppreference.com is what I usually use for C++. It's well organized, well cross-linked, and uses exact standards language whenever possible. It's also very good about showing the differences between successive versions of the C++ standard libraries, which is invaluable if you're working with any sort of legacy code and wondering why something looks funny.
For HTML5/JS, MDN (Mozilla) was my default when I did front-end, but it's been a little while. I'm sure Mozilla is still great, but there might also be something easier to traverse.
I felt it was wrong because I was concerned about SQL injection, but my professor really didn't care about security so I wasn't too too concerned. Later on my professor mentioned that pre-compiled statements (I think that's what they are called) and I facepalmed because that would have been way more secure and been 5x easier anyways.
So yea, I guess they still are giving bad advice.
[0] https://www.w3schools.com/jsref/jsref_reduce.asp [1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Its a lot worse for python than, say, kotlin. That was one of the biggest things I noticed when changing languages recently.