Re: object(x) rethink
- Posted by Shawn Pringle <shawn.pringle at g??il.com> Mar 07, 2008
- 759 views
There is absolutely no need to change the behavior of object(). And for having a routine that does what is being proposed dummy data can do that same thing. CChris wrote: > > The practice of using special values to mark routine error status, not > properly > initialised yet variables and other equivalent situations is a source of > countless > bugs, because a value is hardly ever special enough. > LOL. "Not special enough"? You should be able to assign it to something legal that will work as a starting case anyway. If I got an uninitialized variable in my code I hope the compiler or interpreter will tell me before test execution. I don't want to test for that while its executing. Shawn