Hacker News new | ask | show | jobs
by guideamigo_com 1027 days ago
Another day.

Another Typescript library that does what languages like Java, Python, and Go have for decades!

3 comments

I’m not sure what’s your point? That JS shouldn’t have this library because other languages did it first a while ago? Should concepts only be implemented in one language because after that it’s rediscovering knowledge rather than being inventive?

I also really dislike the undertone of « other languages are better », which is naive at best.

This. Fixed-point decimal isn't even implemented in standard Rust– which I would deem a very mature language, because they want to keep the standard library quite small. If you want to use fixed-point decimal, there's a crate for that;

https://crates.io/crates/rust_decimal

Rust standard library is very limited and IMO a huge downside of the language, especially as the third party libraries to replace it are not up to par and also often the community has not agreed on one single standard so writing higher level libraries forces you to pick one side of the ecosystem
I'm curious where you got this information from? How do you know the third-party libraries are not up to par? Is this personal or second-hand experience? Is it an assumption?
We can have nice things in multiple languages.
Wait, you can use Java, Python, and Go in browser and the edge ?
You can compile Java and Go to web assembly and use those wherever you would have used JavaScript.
Don't know about Java or Go, but Python... yes.

https://codepen.io/johndodo/pen/ExGyWbx

We've had Java in the browser since the '90s.
Until 2015
One can only hope for webassembly...