Find & Share Quotes with Friends

Laminar Software Design Quotes

Quotes tagged as "laminar-software-design" Showing 1-24 of 24
Igor Zarvanskyi
“Code that achieves all three qualities is laminar: simple to understand and change, correct in behavior, and fast enough for its purpose. Code that suffers from any of the persistent problems is turbulent: tangled, incorrect, or too slow for its purpose.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“High-quality code is simple enough for humans to understand and change, works correctly as intended, and performs adequately for its purpose.”
― Igor Zarvanskyi

Igor Zarvanskyi
“The brain determines simplicity, not the style guide, because cognitive limits are biological facts rather than arbitrary conventions.”
― Igor Zarvanskyi

Igor Zarvanskyi
“Laminar Software Design is the activity of creating abstractions and defining the resulting abstraction levels to make software simple, correct, and fast enough.”
― Igor Zarvanskyi

Igor Zarvanskyi
“Code is simple when readers can build a complete mental model fast and reason about changes without exceeding working memory limits.”
― Igor Zarvanskyi

Igor Zarvanskyi
“Too little encapsulation leaves all details visible at one location, which fills working memory before the reader reaches the purpose. Too much encapsulation splits related logic across many small abstractions, which forces readers to navigate through depth to find what they need.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“Single level of abstraction is a quality of internals: everything inside an abstraction is a part of what the name describes, and nothing is a detail of one of those parts.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“The principle of encapsulation: every part should hide its details from others, exposing only what they need to interact with it.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“When tests are hard to write, the instinct is to reach for sophisticated testing techniques. This instinct points in the wrong direction, because test difficulty is feedback about production code, not the testing approach.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“A unit test is a test where the code under test does not span from application entry boundary to exit boundary.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“A poorly-named abstraction works like a door without a label, where you cannot predict what lies behind it. You must open it every time to check, which adds cognitive load instead of removing it.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“Waste is extra data movement that a known alternative avoids while preserving correctness, and that you can identify from the code without measurement.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“Experienced developers create and reshape abstractions as naturally as they write functions, because they understand that abstractions are cheap to create and expensive to neglect.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“Because the activity and its tools stay the same at every scale, architecture and code design are one discipline rather than two. What changes across scales is the expertise required to evaluate each abstraction level, not the activity itself.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“The same pattern repeats at every scope: existing abstractions grow because the new abstractions that should exist are never created. A method accumulates conditions until it fills the screen, a class accumulates methods until no one understands its purpose, and a module accumulates classes until navigation becomes a search.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“The same working memory limit of about four items, the same reliance on recognition and prediction, and the same compression of familiar patterns apply whether a developer reads a function body or a system architecture diagram. Because the whole set of constraints holds at every scope, principles that help at function scale must also help at module scale and system scale.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“SOLID gathers five separate and unrelated ideas under one name, and the most accepted of them breaks down as soon as you apply it. It is easy to agree that a class should have a single responsibility, which means one reason to change. Yet nothing says how to count the reasons to change in a class, so a disagreement about that class gets stuck on the rule instead of the code.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“Size follows from consistency rather than from line count rules, because line counts measure a symptom while consistency addresses the cause.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“Encapsulation is a process of separating a part from others and hiding its details from them.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“An abstraction is a simplified representation of something, with a boundary that exposes what is relevant and hides the rest.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“Laminar structure is an arrangement of abstractions at ordered abstraction levels, where each abstraction is consistent inside and separated from others by a boundary you can trust.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“Readers get no signal that anything is absent, because mental models represent what the reader has seen and contain no marker for what is missing.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“Readability first, then Flexibility, then Performance.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code

Igor Zarvanskyi
“An integration test is a test where the code under test spans from application entry boundary to exit boundary. A controller test that invokes the controller with real services and reaches the database is an integration test, because it spans from entry boundary to exit boundary. The critical factor is the path through the application: not whether dependencies are real or substituted, and not which output the assertion targets.”
― Igor Zarvanskyi, Laminar Software Design: Foundations of High-Quality Code