Wednesday, November 07, 2018

Humility as a Programmer virtue

Humility is good in programmers.

Not just 'humility as lack of arrogance', but 'humility as not assuming you know everything'

A few days ago, a cow-orker had an issue pushing some code into our repository, and had to recreate the work.  He pushed the fix, or so he thought.  I went to our build machine (yes we don't had automated builds, mea culpa), cloned the repository, and tried to build the system.  When it got to his code, the build failed due to a missing file.

When he arrived, I mentioned that I was unable to build the repository version of his code, and his reply was "And yet I can build it in my workspace"

It pissed me off because he has had previous cases of him forgetting to add files to the push, so he should know that it's one of the possible errors he could make that would show up on another machine.

So be humble.  If someone mentions something you worked on is not right, ask them to show you what is going on before you attempt to evade blame.