3 ms·
This was always my interpretation of "Flat is better than nested." from "The Zen of Python". I often run into conflict with developers who believe in the singl
by bcoughlan 3y ago
This was always my interpretation of "Flat is better than nested." from "The Zen of Python".
I often run into conflict with developers who believe in the single return statement. This is flatter but irks a lot of devs:
if (!condition) {
return
}
more code
return