[squeak-dev] The Inbox: Tools-ct.944.mcz

Jakob Reschke forums.jakob at resfarm.de
Sun Feb 23 22:58:13 UTC 2020


Am So., 23. Feb. 2020 um 23:55 Uhr schrieb Thiede, Christoph <
Christoph.Thiede at student.hpi.uni-potsdam.de>:

> I always try to handle all edge cases first, mostly by returning self or
> something other, so I can keep the main logic clean without any nestings.
> Not sure whether this is a pattern,
>
It's an idiom called "Guard Clause"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200223/bd1e3b5c/attachment.html>


More information about the Squeak-dev mailing list