News for hackers. Stuff that matters.
Re:10 Weird HTML Hacks That Shaped the Internet by rchaud on Friday December 01, 2023 @10:18AM (#38487708)
A lot of people on HN seem to have this opinion. A lot of the content on that site has been re-written, and it's now a pretty fantastic resource for beginners.

If you tell 2 beginners to build something with PHP/jQuery/JS, and send one person to W3Schools and the other to PHP.net/jquery.org/MDN, I have no doubt that the W3schools person will get something done in workable state faster.

Re:10 Weird HTML Hacks That Shaped the Internet by jorgesborges on Friday December 01, 2023 @12:32PM (#38489472)
What would be the point of that exercise though? It's true they might produce something faster, but if those sources are meant to be an educational resource then they'll learn more reading through actual documentation than copy-pasting questionable code to get something done.
Re:10 Weird HTML Hacks That Shaped the Internet by Tijdreiziger on Friday December 01, 2023 @01:44PM (#38490550)
You need a ‘tutorial’-style guide to bootstrap your knowledge. After that, you’re ready to use a technical reference.

Some programming languages ship a good tutorial as part of their documentation (e.g. Python), but not all.

Re:10 Weird HTML Hacks That Shaped the Internet by creatonez on Friday December 01, 2023 @11:21AM (#38488465)
I haven't noticed a difference since I first heard of the site. They may have corrected factual inaccuracies, but the overall organization and prioritization of information is not for me.
Re:10 Weird HTML Hacks That Shaped the Internet by anarazel on Friday December 01, 2023 @12:02PM (#38489074)
My main issue with them is not their content proper, but that their SEO ranks them above much more topical results. That's clearly also Google's fault, but it's also clearly w3school's strategy.
Re:10 Weird HTML Hacks That Shaped the Internet by woodrowbarlow on Friday December 01, 2023 @10:42AM (#38488026)
i'm mostly upset that they use "w3" in their name to masquerade as an "official" source of documentation. i know their about page clears this up, but it's pretty buried.
Re:10 Weird HTML Hacks That Shaped the Internet by rchaud on Friday December 01, 2023 @11:31AM (#38488618)
Well perhaps W3C's official site would rank higher if it actually offered any tutorials, i.e. the thing people are searching for, as opposed to a list of specifications and draft specifications that won't be finalized for 10 years.

In any case, "W3" is just another representation of 'www', which the W3C doesn't have any kind of claim over.

OpenAI isn't open. W3Schools is unaffiliated with the W3C. The world keeps spinning.

Re:10 Weird HTML Hacks That Shaped the Internet by explaininjs on Friday December 01, 2023 @01:13PM (#38490119)
> won't be finalized for 10 years

That's optimistic, optimistically. It's a group of ivory tower academics with no stake in any browser implementation acting like they have any right to tell actual browser implementors how to behave.

Re:10 Weird HTML Hacks That Shaped the Internet by reddalo on Friday December 01, 2023 @03:49PM (#38492172)
> acting like they have any right to tell actual browser implementors how to behave

Well, I totally prefer that, than letting Google decide by themselves

Re:10 Weird HTML Hacks That Shaped the Internet by explaininjs on Friday December 01, 2023 @04:29PM (#38492711)
Have you ever had academics that have nothing to do with you, your company, or your product, tell you how to do your job?

And besides, what makes you think Google listens to them?

Re:10 Weird HTML Hacks That Shaped the Internet by SkeuomorphicBee on Friday December 01, 2023 @12:36PM (#38489526)
I disagree, "w3" doesn't have any official connotation, it is literally the name of the thing they are teaching (or the alternate spelling of the abbreviation, but same thing). It is a common pattern for a school that teaches [thing] to call themselves "[thing] school", nothing wrong there.
Re:10 Weird HTML Hacks That Shaped the Internet by zlg_codes on Friday December 01, 2023 @03:17PM (#38491716)
You're telling me it's unreasonable for people to mix up W3schools and W3C? lol
Re:10 Weird HTML Hacks That Shaped the Internet by reddalo on Friday December 01, 2023 @03:50PM (#38492183)
I agree with you.

The name is so confusing that if you search for "w3c" on DuckDuckGo, the first result is W3Schools, and then the official W3C website.

Re:10 Weird HTML Hacks That Shaped the Internet by mpixel on Friday December 01, 2023 @10:22AM (#38487755)
And if you tell 2 experts to build something with W3Schools as the resource against better documentation, I'm sure the results will be the opposite.

That's not the point though, I'm not going to say different strokes for different folks.

Instead I'd say, if that beginner uses the 'slower' path instead, that will pay dividends in time -- they are better of learning to use the docs than getting paid peanuts for delivering that project which depends on the juniors faster.

Re:10 Weird HTML Hacks That Shaped the Internet by subtra3t on Friday December 01, 2023 @10:31AM (#38487884)
I disagree with you. "Learning" to use a particular documentation website (which, mindyou, changes its layout frequently) is not very time consuming.

So a beginner should use w3schools while they see fit, and then move on to MDN, etc. when they find it to be unsuitable for their purposes.

Re:10 Weird HTML Hacks That Shaped the Internet by rchaud on Friday December 01, 2023 @11:28AM (#38488570)
That's exactly what the progression was for me. W3S laid the foundations, and then I went on to MDN and other sources once I felt more comfortable.
Re:10 Weird HTML Hacks That Shaped the Internet by rchaud on Friday December 01, 2023 @11:26AM (#38488537)
An expert wouldn't go to W3schools to begin with. They would have far more specific problems that would be better explored on Stack Overflow.

A beginner on the other hand would have their SO questions locked/closed within minutes because it would likely break any one of the thousand little rules SO has (to reduce duplicates) that are unknown to beginners.

Horses for courses; I read the official MDN and PHP docs now, but I didn't when I began because those sites assume an enormous amount of prior knowledge about programming.

Re:10 Weird HTML Hacks That Shaped the Internet by account-5 on Friday December 01, 2023 @12:31PM (#38489463)
This exactly. I still look to w3school over mdn if I can. The information is just friendlier. I'll use "proper" documentation if needed and never post anything to SO for the reasons you state.