Re:Yarn's Future – v2 and beyond
by mhd on Thursday January 24, 2019 @01:26PM
(#18991400)
I'd prefer Eiffel or Oberon, but almost anything is better than ES6. I just wish there was some kind of standard library movement to coincide with it, but even MS seems okay with left-pad.
[ Parent
| on HN ]
Re:Yarn's Future – v2 and beyond
by chaostheory on Thursday January 24, 2019 @03:04PM
(#18992386)
> I just wish there was some kind of standard library movement to coincide with it,
I keep hearing this complaint, and at the same time I'm wondering why it's a big problem. So you can't find 3rd party libraries that are good enough to fill in the void from the lack of a good standard library?
Yes, pretty much. I don’t want to bikeshed elementary parts of the developer experience, never mind vetting all the teeny components or find replacements if dependency hell strikes, quality regresses or maintainers disappear.
Given all the constraints, it’s highly unlikely that you find something consistent.
Re:Yarn's Future – v2 and beyond
by chaostheory on Friday January 25, 2019 @01:57PM
(#19001144)
So you write your own standard library substitutes? Math, functional, etc...?
Re:Yarn's Future – v2 and beyond
by iamjaredwalters on Thursday January 24, 2019 @01:34PM
(#18991473)
ES5 is not better than ES6. So I prefer ES6 in that case.
Re:Yarn's Future – v2 and beyond
by RobertKerans on Thursday January 24, 2019 @04:28PM
(#18993168)
> even MS seems okay with left-pad
That's a strange choice of example to highlight the sparseness of the standard library.
I thought it's a good illustration of how fractured and fragile the JS "library" situation is. It's a bit like the previous PHP standard library, combined with the worst of Perl's Tim Toady.
Re:Yarn's Future – v2 and beyond
by RobertKerans on Friday January 25, 2019 @10:57AM
(#18999037)
The reason I say it's a strange example is because of this: https://github.com/tc39/proposal-string-pad-start-end, which was added to the language two years ago (and seemingly very quickly [as tc39 proposals go], I assume due to left-pad)