5S as a software development tool

When most people think of software development, they immediately think of Scrum. However, did you know that the 5S Lean principles are also essential for writing maintainable and reliable code?

Of course, a tidy workplace will not lead to good software. No, essential for good software quality is clean code. And as James Coplien remarks somewhat surprisingly but oh so rightly in the book Clean Code: the 5S principles are perfectly applicable to “clean” code.

 

Good example is good to follow: when it is already a mess, little attention will be paid to make an addition neat. Extra mess on a mess does not stand out. This applies to every workplace, but certainly also to code. When developing new code, surrounding code is consciously or unconsciously used as inspiration for the new one.

 

Another very important principle of the 5S methodology is the well-known floor marking in factories or the shadow board to tidy up tools. People like to tidy up things, but it must be clear to everyone where something needs to be tidy up. When tidying up, it is very important that everyone uses the same layout. And nothing could be further from the truth in software development. Clearly structured code should not only be easy to understand, but should also lead to it being obvious where new functionality needs to be added.

Empower your journey with us

Take the first step by scheduling an appointment now or contact us today!

5S for clean code

  • To divorce: Distinguish between what is necessary and what is unnecessary. Throw away what is not used (dead code), broken or duplicated (code duplication).
  • Arrange: A suitable place for everything and everything in its place. Everything must be findable for everyone (clear naming). It must be where you expect it and for everyone it must be clear where something should be placed.
  • Cleaning: Keep your code clean and refactor it with every change to keep it tidy.
  • Standardize: Agree on your working methods with your team and ensure that everyone works in the same way (coding conventions).
  • To stand: create the group discipline to keep it going. Don't succumb to time pressure and remain critical of yourself and each other (code reviews).

Want to know more?
We are happy to think along with you.