Get the latest tech news

Push ifs up and fors down: The idiom, its algebra, and its limits


Tiger Style and matklad recommend pushing ifs up and fors down. This post looks at what the idiom actually says, where it shows up in query optimization and in the algebra of functional programs, and where the analogy stops paying for itself.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of limits

limits

Photo of idiom

idiom

Photo of algebra

algebra

Related news:

News photo

Google Releases a New Flagship A.I. Model, With Limits

News photo

US Revokes Limits on Power Plants' Climate Pollution

News photo

Show HN: Die With Me – Claude and Codex rate limits as AIM away messages