Intermediate Booleans

|

Ned Batchelder uses intermediate booleans to tame conditions from hell.

Ned does a great job of cleaning up those conditions from hell. I would recommend taking it one step further: When cleaning up complex conditions, create functions/methods instead of intermediate booleans, thus facilitating reuse of these partial conditions.

About this Entry

This page contains a single entry by HMK published on August 14, 2004 11:43 AM.

GUI Patterns was the previous entry in this blog.

Humbleness is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.