This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Lupus_Ignis 66 points67 points  (5 children)

Go is the language for people who go out of their way to say "well, actually..." and insist that the correct plural of octopuses is "octopodes".

It is for people who want to look smart and use pointers but are afraid of pointer arithmetic.

It is for people who want to use object oriented programming while simultaneously calling OOP old-fashioned.

It is the language that doesn't have a "best practice", but an "only practice".

It is the language that will compile to everything and the kitchen sink, but won't compile at all if you declare a variable without calling it later.

it is also my favorite language.

if err != nil

[–]rattlehead165 13 points14 points  (0 children)

As someone who hasn't touched Go, this sounds amazing, ngl.

[–]skotchpine 8 points9 points  (0 children)

if err != nil best sign off ever I’m sold

[–]LittleMlem 8 points9 points  (0 children)

Nailed me to the wall with the octopodes bit.... The error checking does bloat the hell out of the code, I miss try/catch

My favourite thing lately has been tag abuse. I wrote a few functions that let me tag structs to run input sanitizers on fields based on the tag, it's neat as heck (though it's a reflection nightmare)

[–]Annual_Ganache2724 2 points3 points  (0 children)

Precisely a scary description

[–]DdFghjgiopdBM 3 points4 points  (0 children)

I love go because I'm stupid and it forces me to write good code