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.
- Host: GitHub
- URL: https://github.com/claudio-code/object-calisthenics-exercises-with-php
- Owner: Claudio-code
- Created: 2021-12-26T19:29:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-30T02:25:06.000Z (over 3 years ago)
- Last Synced: 2025-02-15T20:54:10.355Z (4 months ago)
- Language: PHP
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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