5S Principles to Maintain Your Code Base

Xiao Yang
Altcademy
Published in
1 min readNov 22, 2016

The Japanese created a production approach in the 1950s called the Total Productive Maintenance (TPM) that strives to achieve optimal production efficiency in the factory. At the foundation of TPM is the 5S principles. Its goal is to create a clean and organized work environment. 5S can be adopted in the software development process to reduce friction during production and stress level of engineers.

  1. Seiri – “Sort”: Organizing your code base, knowing where things are; naming things appropriately.
  2. Seiton – “Set in order”: Make sure your code is where you would expect them to be. If they are not, re-factor until they are.
  3. Seiso – “Shine”: Keep your code clean, delete unnecessary comments and commented out code that are no longer used.
  4. Seiketsu – “Standardize”: Have a consistent style and syntax guide for your team. Airbnb’s JavaScript style guide sets a good example.
  5. Shutsuke – “Self-discipline”: Have the self discipline to ensure the standards are regularly applied.

By the way, we are offering online front-end and back-end web development courses (10 weeks) at Altcademy.

--

--