Live data from Hacker News

Go Is the New Ruby

00f.net

31–40 of 61 posts

Re: Go Is the New Ruby

#34

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'…

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

#35

Earlier quoted context omitted.

Go is the new Java. It runs everywhere, is easy to learn and use and people who don't get it hate it with passion. Anyway, comparing go documentation with rust docs, I'm surprised anyone can get any work done with rust.

I’m a devout Go developer and I feel like this is accurate. It’s got some uglies (eg no generics, verbosity in general), but man, overall, it’s so pleasant to work with. Which is probably how great Java developers feel. Thanks for inspiring empathy!!!

And Java also didn't start with generics either. They were bolted on later.

Which is why it uses type erasure for generics rather than reification like C#.

Re: Go Is the New Ruby

#36
post #3

Go really is the easiest language I've used. It installs with no fuss. The VSCode extension sets everything up and works perfectly. The library documentation is so clear that it usually answers any question I have without having to dig up blog posts and without dodging top search result Stack Overflow pages closed without answering the question. The highly opinionated nature means I can go into any Go code base and m…

Go is the new Java. It runs everywhere, is easy to learn and use and people who don't get it hate it with passion. Anyway, comparing go documentation with rust docs, I'm surprised anyone can get any work done with rust.

> Anyway, comparing go documentation with rust docs, I'm surprised anyone can get any work done with rust.

That's an unexpected comment. Rust has among the best documentation I've seen, and arguably the best ecosystem around documentation, which helps a lot and encourage third party developers to write high quality doc. I understand when people complain about the learning curve (like this article, because fighting the borrowchecker is only a thing while learning) but docs, really?

Re: Go Is the New Ruby

#37
The key point of the article is that Ruby and Go are similar for being very developer friendly and productive languages. It is not about keyword arguments or the expressive power of the language or something similar. Although it's not explicitly mentioned why Go is the new Ruby, given that both are equally productive, I would assume that it's because Go is much faster where it counts.

Re: Go Is the New Ruby

#38
> For me, Go has become the new Ruby. A language I use to get things done, and enjoy programming again.

Despite my annoyance with the direction that Go's taken since 1.10, this line really resonates with me.

TL;DR

Windows + PHP + slow laptop drove me to put away my childish anti-Google fears for a weekend and try Go, and for the first time since I started coding (with Pascal) I enjoyed programming.

Cool story:

Around late 2010, after a few years of using (btw, Arch) Linux exclusively, I was given a slow Windows laptop for work. The laptop came with Windows Vista IIRC and the whole experience of writing PHP code on an unfamiliar OS combined with a slow laptop was just misery - it was even worse than my memories of Windows ME/XP.

I tried everything to get a familiar Linux env going: Cygwin, msys, KDE... and it just added insult to injury.

Anyway, soon after, it was Go's birthday so it was in the news again and one weekend I decided to put away my childish anti-Google fears and try it and I never looked back.

Something about the simplicity, its lack of CMake, Makefiles, latest build-system-of-the-week, dynamic linking hell, C++ complexity, D and its 2 std libs, etc. was a breath of fresh air.

Before even falling in love the the concurrency primitives, I started writing "bash scripts" in Go - something I do to this day. I even started writing prototypes in Go to then port them to PHP and Python because I could write the inefficient, naive, brute-force code to validate an idea... and it'd still end up being faster and use less memory than the code the was deployed to production.

I later also discovered that my shitty naive linters written in Go that parsed and checked whole PHP packages every time I saved a file ran near instantly compared to the heavy disk-destroying IDE indexing - it was crazy.

Re: Go Is the New Ruby

#39
As in, all of the 10-week crash course in programming people now use Go instead of Ruby to fuck up an entire code base. The people who take the time to make shallow proclamations about how great Go is are never the people actually using it well nor making real contributions at work. They don't ever learn the fundamentals of programming and software engineering. They take 6 coffee breaks a day, chat all day about tech, and never make a difference at work.

Go is the new watering hole for low quality talent.

Re: Go Is the New Ruby

#40

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?

React SemanticUI is great.
Post reply on HN