Stop Abusing Interns For Automation Purposes

This article originally appeared on LinkedIn Pulse. I’m a tad bit surprised when I hear about some business practices. Especially when I hear horror stories about daily reporting schedules that are off-loaded on interns who last for 3-6 months. The best part of it is – the interns feel proud. They are doing something “important”. […]

Go Anti-Patterns : os.IsExist(err) != !os.IsNotExist(err)

This article was first published 3 years ago as a gist. os.IsExist(err) != !os.IsNotExist(err) An old Golang anti-pattern is to mis-use the functions os.IsExist(err) and os.IsNotExist(err), thinking that they are the opposite of each other. But that couldn’t be further from the truth. They are error checkers, so use them only when err != nil, […]