6 ms·
The state of Javascript in 2019 is that it should be deprecated. I have never had more problems, undefined behavior, mysterious errors and malfunctions, depende
by LessDmesg 7y ago
The state of Javascript in 2019 is that it should be deprecated. I have never had more problems, undefined behavior, mysterious errors and malfunctions, dependency hell and generally shitty syntax as when dealing with Javascript. God, please, just destroy this language. The web needs something different, something not broken and flawed.
- Gibbon1 7y agoA friend of mine worked on JavaScript at Netscape. He says he's sorry.
- LessDmesg 7y agoThanks, I appreciate it as I go on to the third day of trying to find why Javascript cannot get the correct width of an image but only under some circumstances unconnected to the JS code.
- adventskalender 7y agoMaybe sometimes it is not loaded yet? (Just a wild guess)
- LessDmesg 7y agoYes, that's the typical explanation, but no, the images are most definitely loaded, thanks.
- adventskalender 7y agoMeaning you have received the event that it has been loaded?
- arvinsim 7y agoTell me about it. I have tried my darndest to use types and tests to make things predictable. But there is always something that comes up. It might be Javascript itself. It could also be the endless permutations of environments(browsers, resolutions, devices, etc) that we have to cater to. Front End Web Development is hard.
- LessDmesg 7y agoIt would be much easier without the moving target of new Javascript features that browsers have to keep up with. With a real, mature, nonbroken language there would be no need to add new features every year. Someone said that Python is badly suited for the web because not event-oriented, whatever that means. Well, JS didn't have async/await until recently, and there's still lots of code that uses promises, yet even promises aren't supported by ancient browsers. It would have been so much easier to use a language that had ironed its sophomore mistakes somewhere on the desktop, before the web limelight. Instead, they created an all-new "web language" to ensure decades of volatility and reinventing the wheel for all the world wide web...