Re: The BOOLEAN data type
Date: 9 Apr 2003 09:29:15 -0700
Message-ID: <c0d87ec0.0304090829.7a14941a_at_posting.google.com>
>> I do agree that storing a ship_date (shipping date) makes data more
meaningful and is a good thing in 91,7%, or so, cases. <<
Accounting will not work without it! This example is a 100% requirement.
This is a bad data model; clearly "female" is a value of an attribute; the domain is "gender". Why do you want to find ways to do bad data models? N. Wirth said it very nicely: "A good language should make good programming easier and bad programming harder".
>> And sure - one can always store boolean values as expression: (some
property = some value), but isn't this complexity overhead in general?
<<
That is not complexity; that is reality <g>! A Boolean is too general to carry much meaning. Received on Wed Apr 09 2003 - 18:29:15 CEST