📜 ⬆️ ⬇️

Why Go surpasses mediocrity

In April 2001, Paul Graham wrote an article “Beating the averages” (Orig) .

This post on why Go, following the article, is the very secret weapon every startup should have.

Secret weapon


Software is a very competitive business, with good ground for the emergence of monopolies. A company that writes its software faster and better, other things being equal, leaves its competitors out of business. In a startup, if you put on the wrong technology, your competitors will erase you from the face of the earth.

The quoted paragraph describes how important development speed is for a startup. And this is logical, because startups are always limited in time and money.
And achieving high productivity is exactly where Go shines.

Go is not a language full of features. There are no Generics in it (although you can use code generation to create custom data structures), its approach to inheritance varies greatly with what the majority is used to, it has only partial tail recursion optimization, etc. But this is exactly what makes Go great! The compact specification of the language and excellent tools allow you to solve problems at a very high speed, and the code that usually results is:
')

1. Easy to write




2. Easy to understand


Thanks to go fmt , most of the go code looks the same. This is a very important aspect, as your development department grows, beginners can pick up a project very quickly.

But what if the newbies don't know Go? No problem. Due to the minimum specification of the language, a good programmer can learn Go in 1-3 days, while mastering all of its features.

3. Simple for deployment


Nowadays, most startups use Rails or Django to quickly develop a prototype. It looks reasonable, but as soon as you need to deploy the code into production, what begins? This is what people usually do:

What if your startup can get rid of all this, and increase the speed even more:


4. Ready for production


In most cases, Go's performance is similar to Java, and it consumes many times less memory.

The blub paradox (reference to the original article)


This whole part, about Lisp vs Blubs, prompted me to think about the Go-community.

There is no need to complain about the lack of those hypothetical Blub programmers looking down on Go, because there are no X features.

Should the Go community worry about them? I do not think.

Go conquers the startup community very quickly. This is not a complete, and constantly growing list of companies using Go: Bit.ly, Baidu, CloudFlare, CoreOS, DigitalOcean, Disqus, Docker, Dropbox, GitHub, Heroku, New York Times, Parse, Square, Twitch, Tumblr, Twitter, etc.

Soon enough, many of the opponents will switch to Go simply by following market trends.

Returning to the original thought


Given all the arguments above, the founders of startups, you should all consider Go very seriously.

There are too many pros and zero cons. Why wait? Call 1-800-SWITCH-GO and get all the benefits right now.

Source: https://habr.com/ru/post/260451/


All Articles