Came across a question posted by someone in a mailing list asking how to create and/or use a null object in ColdFusion. Problem is ColdFusion is a typeless language. Meaning a variable can contain an array one second and then a string or integer another. A null object isn’t really an object per se. It’s the lack of an object. ColdFusion has a habit of using a blank string as a ColdFusion “null”. However other typed programming languages (.Net, Java, C++, etc) treat a null object differently than any other object.
Categories
Archives
- September 2008 (3)
- August 2008 (3)
- July 2008 (6)
- June 2008 (3)
- March 2007 (1)
- December 2006 (1)
- November 2006 (3)
- October 2006 (6)
- September 2006 (3)
- August 2006 (8)
- July 2006 (2)
- June 2006 (1)
- April 2006 (1)
- March 2006 (1)
- February 2006 (3)
- September 2005 (1)
- August 2005 (11)
- July 2005 (4)
- June 2005 (2)
- May 2005 (10)
- April 2005 (4)
- March 2005 (9)