Skip to navigation Skip to content
Reality Me

A juggling technophile shares personal stories, challenges, humor and perhaps some political commentary.

  • Home
  • Cart
  • Checkout
  • My account
  • Rebuilding Reality
  • Shop
  • About
    • Thank you!
    • Why I Blog
    • Contact Me
  • Employers READ ME
  • That Stuff
    • The Buddha, Geoff and Me
    • Rezoning Roundup
    • del.icio.us
  • Home
  • Cart
  • Checkout
  • My account
  • Rebuilding Reality
  • Shop
  • About
    • Thank you!
    • Why I Blog
    • Contact Me
  • Employers READ ME
  • That Stuff
    • The Buddha, Geoff and Me
    • Rezoning Roundup
    • del.icio.us

Day: August 11, 2010

Posted on August 11, 2010August 11, 2010 by Doug McCaughan — 2 Comments

Simplifying Code

Often I run across code like this:


<cfif ArrayIsEmpty(Cart.Products)>
     <cfset HasCart = False>
<cfelse>
     <cfset HasCart = True>
</cfif>

Frankly, that makes me twitch a little. This has the same result:


<cfset HasCart = NOT ArrayIsEmpty(Cart.Products)>

Categories: ColdFusion, Programming, Technology
Posted on August 11, 2010 by Doug McCaughan — Leave a comment

Deep Thought

If my head explodes, who will clean up the mess?

Categories: Deep Thoughts, Philosophy
Search posts
Archives
Categories
djuggler

djuggler

Husband to one wonderful wife, father to five fantastic children, juggler, technophile, freelancer, DIYer, adventurer, volunteer, KO4NFA (2m/70cm), WRMJ225 (GMRS)

View Full Profile →

© Reality Me 2026
Built with Storefront.