Yep! That's happy path/golden path/line of sight programming, and it's awesome.
https://medium.com/@matryer/line-of-sight-in-code-186dd7cdea...
https://medium.com/@matryer/line-of-sight-in-code-186dd7cdea...
It's one of my peeves to be following code paths and oh look, now we're in a situation where it's if (OK) { if (OK) { if (OK) { if (OK) { ... } } } } and I'm trying to remember what all the conditions were to get here since it's long since scrolled off the page. I always find myself thinking "why, why didn't you just return way up there!?"