News for hackers. Stuff that matters.
Re:Go Is the New Ruby by karmakaze on Monday October 28, 2019 @08:36PM (#21383271)
I don't really get the affinity of Go and Ruby. The most similar thing I could say about them both is that they're both not Java. This makes sense from a hiring sense, either your hiring from the large Jvm/.Net pools or you're not.

I suppose both Ruby and Go have less steep learning curves compared to Java/Kotlin/Scala.

I can't wait until Go v2 gets generics then I can use it like other statically-typed compiled, gc'd languages. At the rate of Go language development, Java might get coroutines and value-types before then.

I haven't used Rust but I read the "Rust where the compiler constantly shouts “fuck you”" quote differently. I read it as, where the non-existent Ruby compiler will shout “fuck you” in production.

Re:Go Is the New Ruby by tln on Monday October 28, 2019 @08:47PM (#21383326)
The affinity for the author is in the last line,

"Go has become the new Ruby. A language I use to get things done, and enjoy programming again."

Good for him

Re:Go Is the New Ruby by paulddraper on Tuesday October 29, 2019 @03:57AM (#21384976)
It does seem a weird comparison.

It would be hard to find two more different major languages.

Go is underpowered, explicit, and statically typed; Ruby overpowered, implicit, and dynamically typed.

But I think they're alike because the author likes both of them.

Re:Go Is the New Ruby by warmind99 on Tuesday October 29, 2019 @11:58PM (#21394567)
Yeah, new Rust programmers always fight the borrow checker. Once you get used to it though, Rust's compiler is literally orgasmic. It has a build in spell checker for christ sake.