Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 31,720 posts.

Any topic
Any year
27586

Locality of Behaviour (2020)

Carson Gross explores the Locality of Behaviour (LoB) principle, which emphasizes making the behavior of code units obvious on inspection to enhance maintainability. He discusses the tradeoffs between LoB and other software design principles like DRY and SoC, offering insights on balancing clarity, abstraction, and…

27592

JEP 325: Switch Expressions

Extend the switch statement so that it can be used as either a statement or an expression, and that both forms can use either a "traditional" or "simplified" scoping and control flow behavior. These changes will simplify everyday coding, and also prepare the way for the use of pattern matching (JEP 305) in switch …

27600

Restic 0.13.0

For downloading the new release and to see a more detailed list of important changes, please head over to GitHub . If you already have restic (0.9.4 or later), you can use the self-update command to automatically download and verify the new release.