8 ms·
It’s stable relative to JS which is a nightmare in this regard.
by giann 9y ago
It’s stable relative to JS which is a nightmare in this regard.
- allover 9y agoHow so? JS is backwards compatible in the extreme, because browsers. New features does not equal unstable.
- giann 9y agoI’m talking about the cognitive load of the language. Learning JS is a real complex task whereas learning Lua is not. Learning JS as is is hard since its moving so fast. I think nobody can deny the confusion surrounding the language. Lua is stable is the sense that 5 years from now you will still know how to use it even if you don’t keep up with the latest updates. Also if you have ever dealt with any babel/webpack craziness recently you know what I’m referring to :)
- Can_Not 9y agoSo JavaScript _the language_ is "unstable" because you (for no discernable reason) switch to every bleeding edge JS framework that gets posted to HN?
- giann 9y agoI’m not talking about frameworks. I’m talking about ES5/6/2016/2017/7/8 ... which all add new concepts and complexity.
- Can_Not 9y agoYou know those new concepts and complexities are optional? And backwards compatible? None of my jQueries broke when generators came out. And that's not even very fast at all. And people have been complaining for the longest time that JS didn't have those features.
- giann 9y agoThis really is not a good argument. You can still write php like in 98, that doesn’t mean you shouldn’t learn modern php if you want to work ever.
- Can_Not 9y agoBut isn't modern PHP moving too fast though? They also break BC with a proper deprecation process. I don't know what you mean it's not a good argument, I've just been casually pointing out that your points are completely invalid. There's actually pretty good reasons to use lua over JS, you don't have to make up reasons.
- giann 9y agoI think I list a good amount of reasons to use Lua. The focus of the article is far from being fixated on JS being bad.
- bsg75 9y agoMaybe "relative to the JS ecosystem" instead?