by duxup · 7y ago · 0 comments
As someone who has changed careers and moved into web development I found w3schools.com did a nice job of complementing MDN as if I was unfamiliar with the concept (or just forgot entirely) w3 was a good "layman's terms" stop just to start. And if I needed a more technical / granular detail, MDN.
I really wouldn't want to use one without the other.
Many years ago I took some C programming classes in college. It was in the early days of the internet and it was very much a "here's the book, a bit of lecture, now sit alone at your computer and do it". MDN can feel that way at times where it's example is ultra specific and while nothing is technically wrong.... it's like learning a language with a dictionary. w3schools.com fills that gap nicely.
At the same time if I need the dictionary to figure out more precisely how something works and all my options, it's MDN all the way.
https://web.archive.org/web/20110117085131/http://w3fools.co...
I like them. MDN is great, but w3schools is better in giving examples on how to use stuff.
W3schools were so bad, essentially just a click farm promoting any old crap for the pageview, that it'll take a huge amount of correcting, improving, and newly found ethical standards to let me forgive them. Or forget there really was a need for w3fools. They always gave lots of examples, and they were often simply wrong.
Even when they apparently have the answer, until I can validate it on SO or some other place, I'll tend to not trusting...
<p>see the Console API</p>
<footer>don't use alert(), don't talk about alert(), don't teach alert(), it's not 1997 anymore</footer>
Original comment:
There is still some complete nonsense on w3schools. For example, I wanted to know recently whether Python supports arrays. The first result on Google is this page: https://www.w3schools.com/python/python_arrays.asp
There is a small disclaimer at the top stating: "Note: Python does not have built-in support for Arrays, but Python Lists can be used instead."
Why the fuck is your page called "Python Arrays" if you don't plan to talk about arrays?
Then the rest of the page talks about lists, while erroneously calling them arrays, in complete defiance of the disclaimer. I imagine what happened is that someone who doesn't know what an array is wrote the page originally, then someone else came by later and realized it was wrong, but instead of actually fixing it, slapped that half-assed disclaimer on top.
I still don't know whether stock Python actually supports arrays. I ended up just importing Numpy.
that w3schools page is indeed nonsense. They should probably stick to JS.
That's a pattern of the language and why I don't like it: It's very often almost like the other C-like languages, only to be that much different that it gets confusing. To just ignore that and call a list an array is not correct, but it makes the beginner searching how to do array-like stuff in python succeed in his task.
I'd be more annoyed at that page if they didn't explain the situation, but they do.
Of course improvement without expectation of reward shows a higher moral stature, but it is a stature that is perhaps not to be expected, whereas improvement based on reward seems more likely to exist in our world - given studies of the matter.
"Today, W3Schools has largely resolved these issues and addressed the majority of the undersigned developers' concerns. For many beginners, W3Schools has structured tutorials and playgrounds that offer a decent learning experience. Do keep in mind: a more complete education will certainly include MDN and other reputable resources."
Compare https://www.w3schools.com/jsref/jsref_substring.asp with https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
The MDN doc allows you to run the code there and then - no jumping around to a "Try it yourself" page. Also, MDN gets to the syntax quickly - with w3schools, I have to search for the syntax in amongst a bunch of other junk that I really don't care about at that moment (like browser compatibility).
To a seasoned dev, MDN feels clear, w3s feels like a confusing mess. Maybe for early stage devs it's the other way round?
If I need the finer details and understand what i'm looking up, straight to MDN.
If I'm in over my head and want a bit more context, back up to w3.
And then sometimes back to MDN ;)
If you actually read the docs on MDN, you can write stuff that actually work instead of copying random snippets of code until it does what you want to do.
Seeing that many developers (including experienced professionals) thought the two entities were related, it seems obvious that they directly benefited from that confusion. Luckily this seems less relevant now that WHAT WG exists separately from W3C and ECMA/TC39 is more prominent.
[1] Just checked. Twenty years!
But it is pretty natural in how language works for people to see similar names and assume an association. And you can't reconsider an unconscious association, since it's unconcious.
TIL
I wonder how many folks using w3schools.com really know who w3.org really is ;)
W3schools is better when it comes to HTML+CSS with JS sprinkled on top questions IMHO.
MDN for the specifics.