DEV Community

Derek Strickland
Derek Strickland

Posted on

6 1 1 1 1

Go: Six months in

  • Go is a mixed bag
  • Its possible to write elegant go
  • The go community doesn't want you to
  • If you do, you might regret it, and end up deleting it all
  • if err != nil was invented by evil monkeys that get paid by scrollbar pixel movement
  • if err != nil will seriously save your bacon
  • In many languages, the standard library is a good place to look for examples of good code
  • In go, the standard library encourages many practices I have, over the too many years, come to consider harmful
  • I am learning to question my beliefs, but it hurts really bad, and I'm not always wrong
  • Go docs are syntax references, not docs
  • Go docs assume too much prior knowledge
  • There are some foundational Go essays that are absolute gold
  • Ardan Labs has some killer go content and doesn't assume you know it all already - no affiliation, just mad respect
  • Many well respected go experts seem to believe in copy paste coding
  • This makes me want to vomit locusts
  • Gophers really hate dependencies, which leads to the aforementioned copy pasta
  • Not managing tons of lib dependencies of your own making is really liberating
  • I'm learning to eat locusts, but sometimes cotton candy is better
  • Go mod needs a UX/DX designer to join the team badly
  • Go mod's job is hard - so that's not a criticism as much as a real hope

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (4)

Collapse
 
kishanbsh profile image
Kishan B • Edited

Ardan labs content is real nice thanks for sharing. Never knew about them before

Collapse
 
kishanbsh profile image
Kishan B
if err != nil was invented by evil monkeys that get paid by scrollbar pixel movement
Enter fullscreen mode Exit fullscreen mode

This was epic :-D

Collapse
 
derekstrickland profile image
Derek Strickland

Thank you :)

Collapse
 
nozibul_islam_113b1d5334f profile image
Nozibul Islam

great.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay