Dev shrinks font size with each nesting level to 'implicitly train' developers to write flatter code

AlanZucconi · x · 2026-11-20

Developer Alan Zucconi shared a screenshot where each level of code nesting uses a smaller font size, joking that it's "the quickest way to implicitly train developers to write better code" — nest too deep and the text becomes unreadable, a visual-guilt trick for enforcing flat code style.

Original post →

More from Fun

Fun channel →