Deciding on coding standards

As everyone knows coding standards quickly become a religious debate as soon as there are more than a single developer working on a piece of code. Luckily the people I work with share the same sense of clean coding standards as I do.

However the other day we had a dissagreement about what to name the event parameter in a handler, ‘e’ or ‘evt’. Neither of us had a strong argument for using one over the other. So we ended up playing Rock, Paper, Scissors. It is the perfect solution for deciding on issues that have little to no impact on how the code actually works. It enables a decision to be quickly made, and hopefully the parties involved agree that RPS is a fair and balanced method.

If you want to get super geeky, you could play Rock, Paper, Scissors, Spock, Lizard. I just found out about that the other day because of a t-shirt on Think Geek. I haven’t tried playing yet, it may take a while to remember what beats what now.

Leave a Reply