« Learning Web Development | Main | Singapore-RB meetup: OAuth4R Presentation PDF »

November 23, 2007

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e398212d6f883300e54f8c06048833

Listed below are links to weblogs that reference The "No Special Case" Pattern:

Comments

spleenboy

Great insight. I've always felt like I was doing something dirty when I would write stuff like

if itsAllGood return this;
else return null;

Now, where's the language that treats every object like a list? That's one I want to learn.

choonkeat

that would be Lisp

Breton

except you replace special casing with looping, which just becomes a new and different tax unless you always loop using something like map/foreach/filter, which aren't as difficult as a for/each or while.

choonkeat

@Breton yep, the idea is to do just that: always code as a loop.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

My Other Stuff

Blog powered by TypePad