Home About

Tags

MachineLearning (26) LinearAlgebra (16) GameDesign (12) LargeLanguageModels (11) ComputerScience (11) SoftwareEngineering (11) AudioEngineering (7) DiscreteMath (6) AutomatedTesting (6) ReinforcementLearning (5) Roblox (5) Zettelkasten (5) More

Notes by Lex Toumbourou

Encapsulation

Apr 19, 2021 permanent    SoftwareEngineering

Encapsulation is the act of protecting code against invariant violations and a key component of a Well-Designed API.

"You cannot trust yourself to do the right thing all the time—so, eliminate the very possibility of doing the wrong thing."

[@khorikovUnitTestingPrinciples2020] (pg. 104)


Backlinks

  • Well-Designed API