2 ms·
The ecosystem is big. Too big, you spend almost as much time trying to find the right tool as it takes to do it from ground up. My example: I needed to work wi
by kodfodrasz 10y ago
The ecosystem is big. Too big, you spend almost as much time trying to find the right tool as it takes to do it from ground up.
My example: I needed to work with dates. Under .Net the DateTime and TimeSpan types do this pretty well, and under Java 8 it is also well solved.
Under JavaScript this is not so clean. I found the moments library to work well, but had some tries before.
With one when I tried the example code from the homepage I received Nan/NaN/NaN NaN:NaN:NaN as a string representation for a valid date :D
This is a thing which is "trivial" (you expect it to be there, and be solved) and you expect it to just work if not socialized in the JS world. Surely I'll encounter other such things, even as we use JS only for integration tests.
Also the Java/.Net ecosystem is also big, but does not completely overlap with the JS world, and stuff doesn't get reimplemented so often. (JS attiute in the HN bubble: This library had no release and no tweets in 2 weeks. The project is dead! have to rewrite from ground up!)