this post was submitted on 19 Jan 2024
75 points (91.2% liked)

Programmer Humor

36950 readers
397 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 18 comments
sorted by: hot top controversial new old
[–] themusicman@lemmy.world 44 points 1 year ago

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

[–] Moxvallix@sopuli.xyz 27 points 1 year ago (3 children)

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

[–] TxzK@lemmy.zip 17 points 1 year 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 15 points 1 year 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 10 points 1 year 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 1 year 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 5 points 1 year ago

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

[–] thanks_shakey_snake@lemmy.ca 8 points 1 year ago

Same-- MDN is S-tier, usually.

[–] aidan@lemmy.world 2 points 1 year ago

I like w3 css

[–] fidodo@lemmy.world 18 points 1 year 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 8 points 1 year 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 1 year ago

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

[–] Zachariah@lemmy.world 10 points 1 year ago* (last edited 1 year ago) (1 children)

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
[–] Fint0034@lemmy.ml 2 points 1 year ago

I'm laughing out loud here, cow's teat 😂

[–] damnthefilibuster@lemmy.world 8 points 1 year 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 1 year 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 4 points 1 year ago (1 children)

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

[–] Emerald@lemmy.world 3 points 1 year ago

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