Re:Show HN: Sapper.js – towards a better web app framework
by dsego on Tuesday January 02, 2018 @02:48PM
(#16054905)
This ideal framework would probably work in an ideal browser, without the DOM. Doug Crockford put it nicely, today's browsers are a "vast source of incompatibility, pain and misery".
Re:Show HN: Sapper.js – towards a better web app framework
by innocentoldguy on Tuesday January 02, 2018 @02:54PM
(#16054958)
Perhaps you're right, there may not be one. However, I think the point the OP is trying to make is that JavaScript is a shitty language and it would be better to invest some effort in replacing it with something better than to continuously try to "fix" all its inherent shitty-ness over and over again to little avail. Sure, JavaScript isn't as shitty today as it was 10 years ago, but it still isn't a well-thought-out, well-designed, or consistent language.
For examples of JavaScript's shitty-ness, I'd point to its various function declaration styles and their disparate effects on the code you write, its wishy-washy scoping, namespacing, the number type's precision problem, NaN being a number type, the ambiguity of this, just to name a few.
Re:Show HN: Sapper.js – towards a better web app framework
by QGmLe on Wednesday January 03, 2018 @11:02AM
(#16062070)
yes. well put
Re:Show HN: Sapper.js – towards a better web app framework
by brett40324 on Tuesday January 02, 2018 @11:08PM
(#16058295)
FWIW, there's Dart, but at the end of the day it's still just JS. This isnt to argue your point either, but one possible answer to the question(s) you bring up.
Because I don't know of any. Except maybe the new Rust framework, Yew. Which seems very interesting.