FactaeThe Factual News

Linus Torvalds advises limiting indentation levels in programming to three

Developer Nev R. Nester highlights a recommendation by Linus Torvalds on code.

Published 18sem1 sourceupdated 3sem
Lire en français
20s

The fact

The latter suggests not exceeding three levels of indentation to avoid structural issues.

An example of a function with three nested conditions is cited to illustrate the point.

Click the link to read an article on the topic:
Explore this topic
What if you saw the whole news differently?Factae cross-checks hundreds of sources worldwide to keep only the fact, no opinion. Explore the front page.
Follow topic →
Auto-synthesis from 1 media source · identified on May 1, 2026
Back to home
Discover

Read more

All tutoriel →