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

Programmer Humor

31793 readers
69 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
[–] [email protected] 43 points 7 months ago

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

[–] [email protected] 27 points 7 months ago (3 children)

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

[–] [email protected] 17 points 7 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.

[–] [email protected] 15 points 7 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.

[–] [email protected] 10 points 7 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 2 points 7 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.

[–] [email protected] 5 points 7 months ago

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

[–] [email protected] 8 points 7 months ago

Same-- MDN is S-tier, usually.

[–] [email protected] 2 points 7 months ago

I like w3 css

[–] [email protected] 17 points 7 months ago (1 children)

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

[–] [email protected] 8 points 7 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 4 points 7 months ago

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

[–] [email protected] 10 points 7 months ago* (last edited 7 months 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
[–] [email protected] 2 points 7 months ago

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

[–] [email protected] 8 points 7 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.

[–] [email protected] 6 points 7 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 4 points 7 months ago (1 children)

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

[–] [email protected] 3 points 7 months ago

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