logoalt Hacker News

joaohaastoday at 12:54 AM1 replyview on HN

Go design is not around being concise as possible, in fact it's the complete opposite.

One of the cores behind Go is to make language simple, even if at the expense of more verbose code.

Two main examples of this is the infamous 'if err != nil' and how you handle filter/map/funcional operations.


Replies

bushbabatoday at 2:00 AM

Yes but it’s err not error. The variable and method names are meant to be concise and highly readable without the CS fluff of Java naming hell.

show 1 reply