Re:Show HN: A Firefox add-on to strip Google search results ...
by Nightshaxx on Saturday June 06, 2020 @02:43PM
(#23441382)
Ahhhh.....you know what, now that I think about it, I remember last semester for a class I had to do a bunch of PHP + SQL for a Backend (my first time really using either). I basically just googled a bunch of stuff and I ended up just writing the queries in as strings basically because that's what I saw on a site (very possibly one of the ones in question).
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.
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.