Don’t be a half-witted, nerf herder. Or what is Clean Code?

Our team is reading through the classic Clean Code together. After reading a chapter or two we will get together to discuss the concepts over lunch. We try to keep them fun and interactive. These are the slides from our first session (link).

In discussing the question – why don’t we write clean code – we explored the following three reasons.

There is a level of subjectivity

There is a good chance that when I opened a pull request for my team to evaluate, I thought the code being pushed read like well written prose, was understandable to others, tested, and was thus maintainable by my colleagues. However, the code should be considered readable by the team that is responsible for owning and maintaining it. Which usually means that there will be some comments and feedback.

mycode

There may not be an understanding of what Clean Code is

If writing clean code was obvious I imagine that Bob Marin would not have written a book on it. And sites , like the Daily WTF, poking fun at various “dirty” code would not exist. Understanding what clean code looks like and the techniques to improve it must be learned. Our goal as a team is to work through Clean Code so everyone on the team will know what clean code is and why it is important. Continue reading “Don’t be a half-witted, nerf herder. Or what is Clean Code?”

Advertisements

Not Just Coding Zombies

Listened to this talk by Martin Fowler, of Agile Manifesto fame. In this talk he suggests that “we as developers should not be just code monkeys bashing out code.” We developers, he suggests, need to consider the responsibility that we have for the software that is going to be written and used.

And I think that we have a certain responsibility to say: where are we going to apply our talents? Because in the end we are responsible for using our talents to, hopefully, make the world somewhat of a better place.

… we should say “is what we are doing useful?”

This reminded me of the Spiderman quote : with great power comes great responsibility. And having just read the graphic novel Marvel Zombies, led to capturing the main idea of the talk in this graphic.

codingzombies2

Continue reading “Not Just Coding Zombies”