a lot of people believe in single point of return i was really happy when the term "guard clauses" was invented, since it's impossible to defend any practice unless there's a trendy buzzword for it
when single point of return does something important it's about making sure that everything that setup has happened for also gets teardown, 's more important in languages where you do a lot of managing of transient resources which everything ~modern~ is designed to avoid
-
-
a lot of the time single point of return advocacy is basically "hey guys i found the embedded systems dev"
-
so yeah the two-point-of-return-with-cleanup pattern is addressing the core concern
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.