News for hackers. Stuff that matters.
Re:Ruby 2.6 by briandear on Monday December 24, 2018 @12:49PM (#18753241)
Crystal is nice, but my love affair with Swift is going strong. Not exactly Ruby syntax but pretty similar in terms of simplicity. I am a Rubyist who feels right at home with Swift. But for the new year, I definitely want to give Crystal a fair shot!
Re:Ruby 2.6 by pkulak on Monday December 24, 2018 @01:21PM (#18753423)
Kotlin is my new love. Best collections library of any language I've used, great type system, coroutines are amazing, and all of it integrates perfectly with 25 years of rock-solid Java libraries.
Re:Ruby 2.6 by kodablah on Monday December 24, 2018 @01:41PM (#18753548)
While the collections library may be better than others, it has a great many warts, many of which aren't discoverable until you've used it a long time. Some of these warts are a result of JVM interop requirements. It's not just the collections library, while the language is great and better than others, there are mounds of bugs and poor design decisions.
Re:Ruby 2.6 by buckysock on Monday December 24, 2018 @07:52PM (#18755166)
What do you use Coroutines in a static language like Java, for ?
Re:Ruby 2.6 by pkulak on Monday December 24, 2018 @10:58PM (#18755817)
Everywhere I used to use CompleteableFutures, except without ending up with completely unmaintainable code.

https://github.com/Kotlin/kotlinx.coroutines/blob/master/cor...

Re:Ruby 2.6 by buckysock on Tuesday December 25, 2018 @10:01PM (#18760191)
Very interesting, thanks!