4 ms·
there’s two types of programmers: - those who’ve worked with go fulltime for a few months - those who haven’t looking back at the go i wrote in my first week
by nathants 2y ago
there’s two types of programmers:
- those who’ve worked with go fulltime for a few months
- those who haven’t
looking back at the go i wrote in my first weeks after dropping python, it is very different from the code i write now.
go is imperfect, but fantastic. hard to hold any other view without being in the latter category.
- arunix 2y agoCan you say more about how your code changed?
- nathants 2y agoi used to write code like this[1]. now i write code like this[2]. mostly what changed is the way i read code. if err != nil is a friend now, not the abomination i first thought it was. 1. https://github.com/nathants/s4/blob/15eb67158cdc03ee1983d0601516e08ed48b348d/cmd/s4_server/main.go#L97 https://github.com/nathants/s4/blob/15eb67158cdc03ee1983d060... 2. https://github.com/nathants/libaws/blob/affb1d6002250e35c5ba253a87f634babb876e35/lib/ec2.go#L113 https://github.com/nathants/libaws/blob/affb1d6002250e35c5ba...