[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should records be able to mimic primitive types?
From: |
Stefan Monnier |
Subject: |
Re: Should records be able to mimic primitive types? |
Date: |
Mon, 01 May 2017 08:03:25 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
>> - no benefit since this doesn't catch a common situation.
> Catching uncommon situation is precisely the point of precondition
> checking.
I'm talking about "common" within erroneous situations.
There is an endless supply of erroneous situations: we only bother to
try and detect those that are serious (e.g. could cause a memory
corruption) or frequent/common.
I've never seen this kind of error in the wild, so I doubt it would
*ever* prove useful to someone.
Stefan