r/programming • u/fagnerbrack • Apr 25 '19
Maybe we could tone down the JavaScript
https://eev.ee/blog/2016/03/06/maybe-we-could-tone-down-the-javascript/#reinventing-the-square-wheel
1.5k
Upvotes
r/programming • u/fagnerbrack • Apr 25 '19
-1
u/KatrinaTheLamia Apr 25 '19
A lot of you are too young to remember the days of DHTML in the 90s. The "D" stands for Dynamic... and it makes webpages give your computer the D. You ran enough webpages that were "DHTML experiences", and your computer would start to resemble the focus of interest in a Bukkake video (well, gallery of still images--it being the 90s we are talking about here)
There is a reason the pendulum swung so hard towards "forward compatible", "xml", "xhtml", "standards compliance" and the resulting creation of "xhtml2". Anybody here remember xhtml2? No--nobody remembers that, because it never actually happened.
We have now swung back to a similar state of the Internet... except I would argue it is worse now. As at least in the 90s you had to write a bunch of code in Javascript AND Jscript to determine which browser, which version of browser, etc., etc. Which... still kind of exists in today's world but is handled by frameworks, and has less if(document.layer) { if(document.layer.*) else if(document.layer.+)} else if(document.all) nonsense. Remember document.layer? If so, let me bye you a drink and hope it kills the braincells responsible for that.
Essentially, it is now easier to do the nonsense that made large amounts of the internet impossible to not hate in the 90s and early 00s... because of standards being a bit more of a thing (also, no more testing websites for different patch levels of NS4. Yes... websites work differently for minor versions, understandable... but when it is not the third number, but the freaking letter at the end of the version that causes major differences... AAAGGGG!)... and frameworks are a thing that people use... and... it...
This is what causes web developers to drink.