Skip to content

huvber/cmm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Code Minimalism Movement

Emphasize the importance of writing less code.

Manifesto

  1. Write the minimum code needed to accomplish the task.

    1. Read your code again in order to remove the unnecessary code.
  2. Write more code than needed only if at least 2 of the following conditions are satisified:

    1. Write more code allow contributors to understand better the code itself.
    2. Write more code made the implementation more efficent.
    3. Write more code allow to reuse it at least in 3 different places.
    4. Adding code allow to test it.

Why

Having less code have a lot of benefits. We can list a non comprehensive list of the most important benefits:

  1. Less code is more maintainable.
  2. Less code has less bugs.
  3. Less code is easier to modify and to extend.
  4. Less code is, usually, more efficent.
  5. Less code require, usually, less time to write it.
  6. Less code is easier to test.
  7. Less code is easier to read.
  8. Less code is easier to rewrite somewhere else or in other language.
  9. Less code is easier to review and increase collaboration.

Inspiration and related principles

A very similar concept and mutual principle is the KISS Principle

Who

Here a list of developers who tries to follow and spread the Movement

How to contribute and to sign it.

Please write your opinion, comment, contribution in this discussion:

#1

or open a new one.

You can also fork this repository and open a PR to it to improve the manifesto, add your sign to it and to propose any change.

Thanks for reading and write less.

About

Code Minimalism Movement

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published