Re: It is okay for things to break in the future!

Damian Morris <[email protected]>
Newsgroups gmane.text.xml.devel
Message-ID <[email protected]>
I think what you’re suggesting is that it’s generally possible to know the world, and developers can and should do this, because the benefits of trying to model the world in ways that break your model when the world doesn’t agree are actually a good thing.

We’re suggesting that it’s even less possible to model the world - even in incredibly simple ways - than most people realise, and the costs of breaking your model when the world inevitably doesn’t agree with your model far outweigh the relatively minor benefits that the (broken) validation brings.

Cheers,

Damian


> On 5 Sep 2022, at 7:30 am, Roger L Costello <[email protected]> wrote:
> 
> Michael Kay wrote:
> 
>> So you're seriously suggesting that just because no employee
>> has ever earned a bonus of more than $1m, or has had a
>> surname longer than 20 characters, your schema should
>> impose these as upper limits?
> 
> Absolutely.
> 
> If the current worldview is that, then those should be the limits.
> 
> In my opinion, the "Golden Rule of Validation" is this:
> 
> 	Do not treat invalid data
> 	as valid.
> 
> /Roger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.