The book of inspiration

March 19, 2010

Forget booleans

Filed under: tech — Tags: — zproxy @ 12:11 pm

While watching this Out of Browser Experience video I got the idea to reuse the is keyword:

Thoughts?

Update: IntelliSense for is operator should filter to types known to subclass the referenced member.

About these ads

2 Comments »

  1. I like it… Very readable. Now, how that could work with code completion? I mean… Context.Network is {Possible “enums?” of states}?

    Comment by Marcelo Volmaro — March 19, 2010 @ 2:05 pm

  2. :)

    [...] IntelliSense for is operator should filter to types known to subclass the referenced member.

    Comment by zproxy — March 19, 2010 @ 2:58 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 30 other followers

%d bloggers like this: