this post was submitted on 19 Jan 2024
69 points (90.6% liked)

Programmer Humor

32497 readers
538 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

If you are looking at MDN Web docs and you are confused, look at w3schools.

If you are looking at w3schools and you are confused, look at MDN Web docs.

Repeat as many times as needed

top 17 comments
sorted by: hot top controversial new old
[–] themusicman@lemmy.world 38 points 10 months ago

If you are looking at w3schools and you are confused, stop looking at w3schools

[–] Moxvallix@sopuli.xyz 26 points 10 months ago (3 children)

tbh i dont think i’ve ever needed w3schools, mdn has always been plenty for me.

[–] TxzK@lemmy.zip 16 points 10 months ago (2 children)

Yeah. w3schools sucks imo. It's full of outdated or incomplete information. MDN not only gives more up to date info, it's also more comprehensive. Sometimes it also gives some good guidelines to wether use something or use an alternative etc.

[–] pcouy@lemmy.pierre-couy.fr 13 points 10 months ago (2 children)

I totally agree with w3schools being bad. However, when teaching web dev to beginner students, they usually find the MDN hard to understand and turn to w3schools.

The MDN requires either quite a lot of experience reading documentation, or being shown how to navigate it.

[–] TxzK@lemmy.zip 7 points 10 months ago

Yeah, that's because MDN isn't a site for tutorial site, it's a documentation site. I won't say I have much experience in reading documentation, I don't, but I still find MDN easy to read/navigate tbh. And also, w3schools is where I started learning JavaScript as well actually. Then I found MDN, learned about ES6 and cursed tf out of w3schools for teaching me outdated shit. Maybe it's better these days idk. So if you're a beginner, w3schools might be better choice than MDN otherwise no

[–] Nommer@sh.itjust.works 2 points 10 months ago

It took me a long time to start understanding MDN but now that I kind of have a feel for reading docs it's a bit better although I still miss bits of info and sometimes struggle to understand the examples.

[–] Emerald@lemmy.world 3 points 10 months ago

w3schools sucks and I suck at web development so we make a good couple 👍

[–] thanks_shakey_snake@lemmy.ca 8 points 10 months ago

Same-- MDN is S-tier, usually.

[–] aidan@lemmy.world 1 points 10 months ago

I like w3 css

[–] fidodo@lemmy.world 15 points 10 months ago (1 children)

Did they get their act together? Because the w3 schools I grew up with was outdated, incomplete, and inaccurate.

[–] Potatos_are_not_friends@lemmy.world 7 points 10 months ago (1 children)

When I checked in 2019, they definitely cleaned up.

But I still won't use them as primary resource. Not even secondary.

If I was a noobie dev today, I'd rather ask AI and get sources.

[–] Nommer@sh.itjust.works 4 points 10 months ago

It's what I do. MDN first, chatgpt second. Everything else is third.

[–] Zachariah@lemmy.world 9 points 10 months ago* (last edited 10 months ago)

Kids these days*. When I learned HTML, it was straight from the cow's teat.

  • … are just great, and don’t let anyone tell you otherwise
[–] damnthefilibuster@lemmy.world 8 points 10 months ago

W3s is where is starts for me. Then move to MDN for more specific and in depth things. W3s just gives the best examples and has that lovely playground for every documentation step.

[–] victorz@lemmy.world 6 points 10 months ago

Just want to drop devdocs.io here for anyone who might benefit. It's an aggregation of many different popular documentation works from different projects. All in one place. One tab. Imagine one tab of documentation.

[–] pastermil@sh.itjust.works 3 points 10 months ago (1 children)

Don't forget the documentation of your web framework as well as the language features!

[–] Emerald@lemmy.world 2 points 10 months ago

Imagine using a framework. I write spaghetti code myself mind you.