Zig's Lovely Syntax
https://matklad.github.io/2025/08/09/zigs-lovely-syntax.html
Published: August 9, 2025 00:00
It's a bit of a silly post, because syntax is the least interesting detail about the language, but,
still, I can't stop thinking how Zig gets this detail just right for the class of curly-braced
languages, and, well, now you'll have to think about that…
Partially Matching Zig Enums
https://matklad.github.io/2025/08/08/partially-matching-zig-enums.html
Published: August 8, 2025 00:00
A short post about a neat little Zig idiom. Consider your average {sum type, variant, tagged union,
enum, alt}:
font-size-adjust Is Useful
https://matklad.github.io/2025/07/16/font-size-adjust.html
Published: July 16, 2025 00:00
In this article, I will describe a recent addition to CSS, the font-size-adjust property. I am also
making a bold claim that everyone in the world misunderstands the usefulness of this property,
including Google,
MDN, and
CSS Specification itself.
(Just to…
Inverse Triangle Inequality
https://matklad.github.io/2025/07/07/inverse-triangle-inequality.html
Published: July 7, 2025 00:00
|AC| < |A B| + |BC|
is one of the most hardworking inequalities in mathematics. It illustrates an obvious fact --- the fastest way to go from point A to point C is to go directly, without detours: