3 ms·
The complaints about these sites is usually that (a) they're literally wrong just often enough that you don't want to rely on them, which defeats the point of a
by GeneralMayhem 6y ago
The complaints about these sites is usually that (a) they're literally wrong just often enough that you don't want to rely on them, which defeats the point of a reference, or (b) they try to "teach" things that are not recommended best practices. With w3schools in particular, there's the added "ick" that they try very hard to make it look like they're an offical W3C source, and sell scammy certifications based on that confusion. They also provided (past tense, because I haven't looked at it in years) some very questionable practices with PHP that would lead to trivially insecure code.
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.
- Nightshaxx 6y agoAhhhh.....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.