Every now and again I am reminded of certain software development lessons I've already learned and, for reasons I'm yet to document, I keep re-learning. Groundhog Day feelings.
Writing these lessons down is my attempt at retaining this knowledge long(er) term; to reduce the time spent going in circles only to learn the same lesson again. When the code is giving us the same ol' hints, we, most certainly, can apply the same ol' techniques.
There are overlaps with common code smells, well known good practices and other practices. I don't mean to give them new names or anything. Instead, I want to put them words that I can refer to later and quickly remember.
I'll organize these lessons in a series of smaller, focused posts, and I'll try my best to link to where I believe I first learned about them. Some of them are directly related to one another.
This series is somewhat open-ended, as I intend to keep making adjustments and adding new lessons. So, without further ado, lets get to the lessons:
- No Primitives
- Isolate Nondeterminism
- Reduced Integration Surface
- Inject Dependencies
- (planned) No Getters Nor Setters
- (planned) Own Your Interfaces
- (planned) Only One Return Type
- (planned) Avoid Private Methods