Boolean: Yes or No. Uh or Maybe?

Tuesday, April 17th, 2012

I was casually linked to a site today that had a snippet of code that made me quite angry.


enum Bool {

True,

False,

FileNotFound }; 

I feel the title of ‘logician*’ may no longer apply to this individual!

Feel free to discuss!


* We all need cool job titles!

About these ads

One comment on “Boolean: Yes or No. Uh or Maybe?

  1. Dave Ward says:

    public enum MostlyBool
    {
    True,
    False,
    KindaSortaNotReally
    }

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

Follow

Get every new post delivered to your Inbox.

Join 878 other followers

%d bloggers like this: