top | item 37520297

(no title)

bcoughlan | 2 years 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

discuss

order

No comments yet.