2 ms·
To me early returns and top level exceptions are nice to convey base cases, invariants, short cuts etc. nested branching to convey choice that is more closely r
by dgb23 5y ago
To me early returns and top level exceptions are nice to convey base cases, invariants, short cuts etc. nested branching to convey choice that is more closely related.
The former is often not possible (or idiomatic) in expression based languages however.