News for hackers. Stuff that matters.
Re:Stop pushing the web forward by bhousel on Tuesday July 28, 2015 @10:57AM (#9961939)
>What JavaScript needs much more IMO is a (better) stdlib, with more datatypes and procedures than currently available (including big numbers, the various flavours of trees, etc).

Isn't that "pushing JavaScript forward?"

Re:Stop pushing the web forward by apalmer on Tuesday July 28, 2015 @11:47AM (#9962375)
Agreed. However I think to build on his argument, we should push JavaScript forward in a targeted fashion, based on its intended purpose.

Level 1: There are known huge missing chunks of JavaScript that should be resolved as they severely limit the power of javascript as a development platform which lives in a network application.

For instance modules, promises, etc...

Level 2: There are known huge missing functionality which are missing which are well known elements of a sane UI framework which should be implemented because bottom line javascript is a UI scripting language.

For instance properties and some kind of observable mechanism.

Level 3: IS all the highly subjective and often syntatic sugar intended to make javascript work more like other programming languages like C# or Python.

For instance classes,. arrow functions, generators, let statements...

Generally the problem is the focus seems to be completely skipping Level 2, to get to Level 3.

Re:Stop pushing the web forward by wging on Tuesday July 28, 2015 @01:33PM (#9963177)
Re:Stop pushing the web forward by apalmer on Tuesday July 28, 2015 @01:50PM (#9963284)
Yes thats the point really... Observable are scheduled for ES2016, which satisfies a clear unamibigous and relatively not controversial 'need' is coming out in 2016.

Meanwhile arrow functions, let vs var, generators, etc etc etc are coming out in 2015. Why?

Its not skipped as in 'its not on the roadmap', its skipped like 'lets leave it for now and do something else'. Its skipped over to add a bunch of shiny bells and whistles and syntactic sugar. You shouldnt put in the leather seats before the steering wheel.

Re:Stop pushing the web forward by thekingofspain on Tuesday July 28, 2015 @11:55AM (#9962437)
Those phases exactly mirror the phases listed in the article.
Re:Stop pushing the web forward by apalmer on Tuesday July 28, 2015 @12:04PM (#9962522)
where in the article?
Re:Stop pushing the web forward by thekingofspain on Wednesday July 29, 2015 @12:20PM (#9969664)
Re:Stop pushing the web forward by adrusi on Tuesday July 28, 2015 @11:09AM (#9962052)
Maybe what skwosh means is a moratorium on new features in javascript so that we can refocus on the features that are useful, and actually improve rather than complect the language.
Re:Stop pushing the web forward by skwosh on Tuesday July 28, 2015 @11:21AM (#9962168)
Thanks, that's what I mean. My feeling is that some of the syntactic extensions to the language are piecemeal and don't reflect the full expressivity of JavaScript.
Re:Stop pushing the web forward by angersock on Tuesday July 28, 2015 @11:18AM (#9962139)
It's slightly different.

The addition of sets and symbols, for example, did little to change what an existing codebase looked like. Similarly, adding explicit trees, binums, and so on won't really change much.

The improvements going on right now, though, seem mainly concerned with syntactical sugar and extra syntax. The problem (and I'm in a minority here, I think) is that this creep and bloat takes a quirky language that fits into one's head and instead starts making it a rat's nest of special-cases and odd interactions. This is the sort of thing that caused C++ so much trouble.

Once they add annotations and shared state and threading (and that's coming), the party will be over and the earth salted.