What are the dumbest, most obvious ways you have shot yourself in the foot?


I just spend 3 hours debugging a network issue across three servers in dev, 
after copy-pasting some code from a crappy proof-of-concept into a 
complicated package with lots of modules.

defer serverConn.Close()

1 line. 3. hours.
Welp.

<https://lh3.googleusercontent.com/-bS90R3YB6m0/WLv05zAt05I/AAAAAAAAEtE/LLpepY14VYUSTSGLP1e1VsZ8DEOZJMygwCLcB/s1600/rekt.jpg>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to