Awsum: a functional language where every integer operation that can fail returns `Either`.
No silent wrap. No `NaN`. No `Infinity`. No `-0`. Code that doesn't handle overflow doesn't compile.
Same on JVM, CLR, JS, WASM, LLVM.
@hmemcpy I dislike golang, but I avoid talking about it because I don't want to sound like I'm whining and complaining.
But this picture expresses precisely how I see this language: as a glitch.
@ppavel24@damikin20734@ChShersh My friends and I use Dmitrii's work to build my project to make money in the crypto market. Another friend uses Dmitrii's work in a real-time tracking system for gliders and other aircraft on a 3d map. And all of us use Dmitrii's work to brag more efficiently in our CVs.
@ChShersh "whole ecosystem search by just type"
Honestly, it's more fun than really helpful. Even though I think of types first, coming up with a useful query for that kind of search is 80% guessing on what wrappers, helpers, and whatever else the library author may use in the actual type
@ChShersh I'd say that using anything time- and date-related for a 1h challenge is a bad idea.
A proper coding challenge answer should include tests.
Testing this function correctly can easily take more than 1 hour.