3 ms·
i 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 abominatio
by nathants 2y ago
i 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...