Find & Share Quotes with Friends
Laminar Software Design Quotes
Laminar Software Design: Foundations of High-Quality Code
by
Igor Zarvanskyi0 ratings, 0.00 average rating, 0 reviews
Laminar Software Design Quotes
Showing 1-20 of 20
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“Readability first, then Flexibility, then Performance.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“An abstraction is a simplified representation of something, with a boundary that exposes what is relevant and hides the rest.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“Encapsulation is a process of separating a part from others and hiding its details from them.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“Size follows from consistency rather than from line count rules, because line counts measure a symptom while consistency addresses the cause.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“Waste is extra data movement that a known alternative avoids while preserving correctness, and that you can identify from the code without measurement.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“A unit test is a test where the code under test does not span from application entry boundary to exit boundary.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“The principle of encapsulation: every part should hide its details from others, exposing only what they need to interact with it.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
“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.”
― Laminar Software Design: Foundations of High-Quality Code
― Laminar Software Design: Foundations of High-Quality Code
