# Alex Kladov - Size Matters (Highlights) ![rw-book-cover|256](https://matklad.github.io/favicon.svg) ## Metadata **Review**:: [readwise.io](https://readwise.io/bookreview/56545400) **Source**:: #from/readwise #from/reader **Zettel**:: #zettel/fleeting **Status**:: #x **Authors**:: [[Alex Kladov]] **Full Title**:: Size Matters **Category**:: #articles #readwise/articles **Category Icon**:: 📰 **URL**:: [matklad.github.io](https://matklad.github.io/2025/11/28/size-matters.html) **Host**:: [[matklad.github.io]] **Highlighted**:: [[2025-11-29]] **Created**:: [[2025-11-29]] ## Highlights - he number of inputs and the outputs together is the size of the interface. And the length of the body measures implementation. You want functions with bodies that are large *relative* to their interfaces. You need inverted hourglass shape. The converse is more helpful: hourglass functions/modules are a smell. ([View Highlight](https://read.readwise.io/read/01kb6nh4zfgb6fpz3sa6pjdq29)) ^961865406 - Hence, the 100 columns limit, as that allows you to comfortably fit two copies of code side by side on a modern 16x9 display. ([View Highlight](https://read.readwise.io/read/01kb6nhzra4z2q25jx8mkzm1bv)) ^961865508 - Hence, the Schelling point for the upper bound on function length: it’d be better to fit on a screen. Which is about 60-70 lines. ([View Highlight](https://read.readwise.io/read/01kb6nkhzx1ykk8a69f3edx2ep)) ^961865566