Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MicroObjects Technical Practices 20180419

Quinn
April 19, 2018

MicroObjects Technical Practices 20180419

What practices are used to wire in the microObjects style? This presentation goes over the 12 primary practices that produce simple, understandable, testable code resulting in a highly maintainable product.

Quinn

April 19, 2018
Tweet

More Decks by Quinn

Other Decks in Programming

Transcript

  1. @TheQuinnGil https://QuinnGil.com Who Am I? • Quinn Gil ◦ @TheQuinnGil

    ◦ https://QuinnGil.com • Professionally programming 20 years • Passion for helping others write better • Coding is my hobby µObjects
  2. @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