An open API service indexing awesome lists of open source software.

https://github.com/claudio-code/object-calisthenics-exercises-with-php

:scroll: Exercises to practice Object Calisthenics.
https://github.com/claudio-code/object-calisthenics-exercises-with-php

Last synced: 3 months ago
JSON representation

:scroll: Exercises to practice Object Calisthenics.

Awesome Lists containing this project

README

        


:scroll: Object calisthenics :scroll:

## Content studied



- Object orientation
- Simplifying methods
- Enriching the domain
- Keeping legibility
- Keeping cohesion


- Tell, don't Ask
- Don't use getters and setters
- Early return
- Has one only one level per method
- Never use ELSE
- Fail fast
- Involve yours primitive types#
- First class collection
- Only one point of line (access point)
- Never abbreviate
- Maintain your class and packages smalls
- Has maxim two properties of class