Live data from Hacker News

Go Is the New Ruby

00f.net

11–20 of 61 posts

Re: Go Is the New Ruby

#13
post #9
post #2

“All languages suck, but they all bring interesting concepts as well, that can overall make you a better programmer.” True on so many levels. Learning other languages means learning a new way of thinking due to the reasons those languages were created in the first place. Even if you never change the language you use daily, learning other languages and doing small projects in them will make you better in your “home” l…

Not true, There are lots of languages that bring absolutely nothing to the table in terms of making you a better programmer. Take something like Elm, it doesn't make you a "better programmer". It does make your program better by being statically typed. Kinda like typescript doesn't make you a better programmer than if you use javascript, but it makes your program better. You can say this for a lot of languages.

I don’t agree with this. Using typescript really helped me understand the value of types, which wound up radically changing the way I read and write vanilla JS. I’m much better at recognizing and preventing bugs in vanilla JS because typescript has changed the way I think about JS.

Re: Go Is the New Ruby

#15

I enjoy learning new languages. In my day job I spend most of my time writing JS (ReactJS specifically) building dashboards and other internal business tools. Sometimes I need to build API's or perform tasks that just cannot be done in the browser and I take the opportunity to experiment with other languages. A few examples: - We purchased a cheap USB duplicator (10 slots) to copy the contents from a master USB to th…

On top of ReactJS, what else do you use to build dashboards and internal business tools?

Re: Go Is the New Ruby

#17
post #4

Then what is the new Rails?

You can't have Rails in Go.

I mean you can, but "go advocates", would crap on your work with an endless litany of articles about why whatever you wrote shouldn't be used because it's not the "go way". Remember Martini? That's right you don't.

Fortunately for Go, the biggest pain in the ass when it comes to web development is kind of a solved problem with the use of JSON support in SQL Dbs. All you have to do then is un-serialize directly from the DB, which helps getting rid of ORM when building object graphs.

Re: Go Is the New Ruby

#19

I thought Crystal was... https://crystal-lang.org/

as for rails, pick your poison https://luckyframework.org/ https://amberframework.org/ https://spider-gazelle.net/

I tried Lucky, Amber, then finally Kemal which is more of a Sinatra. It was the only thing that compiled fast enough to feel productive.

Re: Go Is the New Ruby

#20
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.

Post reply on HN