#design
Posts tagged with “design”.
5 posts
01
Color Contrast: Meeting WCAG Without Ugly Design
Contrast is a measurable accessibility requirement. Learn the ratios, the WCAG levels, and how to fix a failing colour without ruining it.
02
Composition vs Inheritance: Why Composition Usually Wins
Inheritance models is-a relationships; composition models has-a. Learn why composition is more flexible, and when inheritance is still right.
03
Exceptions vs Error Codes: Choosing the Right One
Exceptions and error codes are two ways to signal failure. Learn the trade-offs, when each fits, and why most languages use both.
04
Interfaces vs Abstract Classes: When to Use Which
Interfaces define a contract; abstract classes share implementation. Learn the difference, the trade-offs, and how to choose in real designs.
05
Typography for Developers: Practical Principles
A working guide to web typography for developers: type scales, line length, line height, font loading, variable fonts, and CSS that keeps text readable.