Earlier quoted context omitted.
> Well then do you think no language that "compiles to machine code" really creates new language primitives, either? No, because javascript isn't machine code, it's a high-level interpreted language. The metaphor of javascript as "bytecode" is just that - a metaphor. >The compiler can do compile-time checks that wouldn't be possible if it were implemented as a library instead. Fair enough, but it doesn't actually cha…
> No, because javascript isn't machine code, it's a high-level interpreted language. The metaphor of javascript as "bytecode" is just that - a metaphor. This is a psychological distinction, not a technical one. There is no fundamental difference between machine code, byte code, or a “real” programming language. There were machines that executed lisp, and at the dawn of time people programmed in assembly. Heck, people…
2017 JavaScript Rising Stars
71–80 of 101 posts
Re: 2017 JavaScript Rising Stars
#72From the Vue.js information page on that site, 'The concept of single-file component that includes template, logic and styles in a single file .vue file is really nice.' NO IT IS NOT!
Aside from that, single file components are completely optional.
Re: 2017 JavaScript Rising Stars
#73Why is Polymer left out of frameworks top 10? It has 18k stars and should be No. 3... https://github.com/polymer/polymer https://risingstars.js.org/2017/en/#section-framework
As it is ranked based on new stars in 2017, not total amount of stars.
Re: 2017 JavaScript Rising Stars
#74Earlier quoted context omitted.
From your link, in the last year alone Vue has had approximately a 5-fold increase in the number of downloads. Describing this trend as "mostly flat with a slight upward bend." is very misleading.
See it in context. The fastest growing framework on npm right now for instance is Preact (as per official report posted by Lauri Voss last week), but Preacts userbase is so small that it could grow hundredfold with insane growth rates percentually without scratching a competitor. That also applies to Vue. React gets more users in a week than Vue in its entire lifespan. Go 2 years back on that page and you see a clear…
Re: 2017 JavaScript Rising Stars
#75Earlier quoted context omitted.
Reading over the Elm documentation, I respect the ideals a lot, it looks like a fantastic language, but why does it need to be a completely new language instead of a framework in js? It's not particularly convincing to my co-workers if I have to convince them to try a completely new syntax instead of just a new framework. Actually, I think this is why something like cycle.js is more tractable.
It’s as much about what Elm _doesn’t_ have. The biggest thing here is that Elm does not allow mutation. This turns out to be great because it eliminates little pockets of state that make your app’s behavior hard to predict and that eventually cause bugs. It also seems like it would be very hard to bolt this on to JavaScript; you’d have to break existing code and then your runtime would miss out on the performance ben…
Isn't immutability a problem in a garbage collected environment? I come from a C++ and ActionScript background, and on the ActionScript side garbage collection was a major issue. Would I not have the same if not worse issues in Elm?
Re: 2017 JavaScript Rising Stars
#76First I'd heard of dva [1] (#6 in the frameworks section), interesting that it eases use of redux-saga as well as the usual abstractions over redux. redux-saga has been something I've avoided after initial evaluation (I also avoid redux unless absolutely necessary), but might take a second look with this. Hope the project gets some more English translations! https://github.com/dvajs/dva/issues/1#issuecomment-33433418…
[1]: https://playoverwatch.com/en-us/heroes/dva/
[2]: http://batmanjs.org/
Re: 2017 JavaScript Rising Stars
#77I hope the big guns like Alibaba or someone else acquire Vue.js and make it a real competitor to React.
Re: 2017 JavaScript Rising Stars
#78Earlier quoted context omitted.
But why does that need to be tied to the framework? It seems that Elm provides two things that work together well: new language primitives and a functional framework. Tying the success of each component to the other doesn't seem like a great choice.
The Elm experience simply cannot work on JavaScript. It demands a pure, strongly typed functional language that guides developers from any background into the right direction.
Re: 2017 JavaScript Rising Stars
#79Earlier quoted context omitted.
Reading over the Elm documentation, I respect the ideals a lot, it looks like a fantastic language, but why does it need to be a completely new language instead of a framework in js? It's not particularly convincing to my co-workers if I have to convince them to try a completely new syntax instead of just a new framework. Actually, I think this is why something like cycle.js is more tractable.
It’s as much about what Elm _doesn’t_ have. The biggest thing here is that Elm does not allow mutation. This turns out to be great because it eliminates little pockets of state that make your app’s behavior hard to predict and that eventually cause bugs. It also seems like it would be very hard to bolt this on to JavaScript; you’d have to break existing code and then your runtime would miss out on the performance ben…
Or you could have a runtime development option to detect mutations similar to existing redux-type solutions. This also still doesn't explain why the need for a new language instead of decoupling the two. As I mentioned in another comment, all these features make working in Elm probably a superior experience, but I fail to see why it's mandatory and the mandatory-ness is what makes this a much harder sell.
Re: 2017 JavaScript Rising Stars
#80Earlier quoted context omitted.
As it is ranked based on new stars in 2017, not total amount of stars.
And it doesn't say much about usage. There are projects which get a lot of stars because people think that it looks cool at a glance but which nobody uses.