4 ms·
Yeah, as someone (re)learning modern CSS/HTML, I really don't understand the hate they get. For a beginner (at CSS/HTML anyway, I'm an HPC engineer otherwise wi
by berkut 5y ago
Yeah, as someone (re)learning modern CSS/HTML, I really don't understand the hate they get. For a beginner (at CSS/HTML anyway, I'm an HPC engineer otherwise with lots of low-level experience), I think it's a great resource, with good examples too.
I can only assume they used to be different?
- SOLAR_FIELDS 5y agoIn terms of the site design itself, it's always been like that - the w3schools site has always had the clean, readable presentation (and it's a pretty easy argument to make that it's much more approachable for a newbie than MDN). The main complaint was with the content. In the past there were some pretty big problems with content on w3schools. Often common footguns (of which there are many in Javascript) were not covered and newbies were encouraged to do things that were bad in the short and long term. IIRC one of the more egregious examples of this was sample code that taught developers to write code vulnerable to SQL injection. Supposedly most of this has been fixed, though I don't really use w3schools that much so I can't really vouch for its integrity or lack thereof these days.
- radlad 5y agoThey used to publish vulnerable code as examples without any context. For example... XSS: https://web.archive.org/web/20060722051641/http://www.w3schools.com/php/php_forms.asp https://web.archive.org/web/20060722051641/http://www.w3scho... / https://web.archive.org/web/20060722073110/http://www.w3schools.com/php/php_post.asp https://web.archive.org/web/20060722073110/http://www.w3scho... / https://web.archive.org/web/20060722072840/http://www.w3schools.com/php/php_get.asp https://web.archive.org/web/20060722072840/http://www.w3scho... Unauthenticated sessions: https://web.archive.org/web/20060716141638/http://www.w3schools.com/php/php_cookies.asp https://web.archive.org/web/20060716141638/http://www.w3scho... MySQL injection: https://web.archive.org/web/20110412041949/http://www.w3schools.com/php/php_mysql_insert.asp https://web.archive.org/web/20110412041949/http://www.w3scho... Nothing directly wrong with this one but prepared queries were not well understood at the time: https://web.archive.org/web/20060718041049/http://www.w3schools.com/php/func_mysql_query.asp https://web.archive.org/web/20060718041049/http://www.w3scho... They were very easy to learn from and thus widely popular, but missed critical security context.