Re: NULL value anyone?
- Posted by irv Mar 28, 2015
- 1560 views
Seems to me there is a need for null values in a program. How else are you going to warn the programmer, "Hey dummy, you forgot to supply a value for ..."?
If you forget to declare a variable x, and then write ? x * 2, you expect to be warned that "x is undeclared". Similarly, if you do declare "atom x" and then code ? x * 2, what is the answer supposed to be? There's no default value of x that could be assigned without causing somebody some trouble sometimes.
What is two times "darned if I know"? How could that produce meaningful results?