Comment

Comment by chimeracoder

This article doesn't address one of the biggest benefits I've noticed in switching from Python to Go.

I've been using Go for almost two years now. Like OP, I am/was primarily a Python developer. Like OP, my first Go project was a time-sensitive rewrite[0] of a project from Python (tornado) to Go.

Even though I was an experienced Python developer, the Go rewrite was marginally (~20%) faster[1]. But the real benefit came from the subsequent development - refactoring, rearchitecting, and maintaining the project on an ongoing basis. Go was designed to make it easy to scale the maintenance[2] of software, and on this one axis, it absolutely blows every other language and environment I've used out of the water.

For a fresh project, I'd say Go is about 10% slower to write than the equivalent Python[3] for the average case. But the time/cost savings are very quick to come thereafter.

[0] I would absolutely not recommend doing time-sensitive rewrites in general, but that decision was a separate matter.

[1] Some of this is due to the nature of rewrites in general, but the fact that it wasn't slower to use a language I'd never used before says something about the language.

[2] Scaling software development as teams grow is very different from scaling software as users grow.

[3] Assuming comparable familiarity with both languages, which is rarely the case, of course

parent chimeracoder 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton