Slide 44
Slide 44 text
@TheQuinnGil https://QuinnGil.com
µObjects Practices
µObjects
● Never Return Your Data
● Always Immutable
● No ‘new’ Inline
● No Primitive Obsession
● Encapsulate Relationships
● No nulls
● ‘if’ Only as Guard Clause
● ‘switch’ & ‘else’ Always Evil
● Composition Over Inheritance
● Interface Everything
● No Statics
● No Public Constants
● No Asymmetric Marriage
● OS Abstraction Layer
An Object Does A Single Thing