Reduce Software complexity (Seed)

The language is the way we communicate with others in the software world; code language is our communication

when we write a code, we want to make sure others can read it and work on it efficiently.

"Software should be designed for easy reading, not ease of writing."

Make code obvious to be easier to understand when a new feature is added

or a bug accrue it will be faster to fix the issue and implement a new feature; when the code is obvious, then the reader can go through the code and read code quickly without much thought; in a code review

If someone is reading your code saying it's not obvious, it's not obvious.

"Try to understand why the code is nonobvious, and you will learn how to

write better code."

To make code obvious, try to follow App code style standards and naming conventions and choose the right name. A good name gives a lot of information about the underlying entity; the name should not be broad enough to refer to many different things; in the end, make the code consistency follow the code style standard use the same design when needed.

"Sometimes an approach that requires more code lines is actually simpler because it reduces the cognitive load."

 
 

Reference:

https://www.goodreads.com/en/book/show/39996759-a-philosophy-of-software-design