[fpc-devel] Dangerous optimization in CASE..OF
Marco van de Voort
marcov at stack.nl
Sun Jul 2 22:49:56 CEST 2017
In our previous episode, Florian Kl?mpfl said:
[ Charset UTF-8 unsupported, converting... ]
> Am 02.07.2017 um 21:40 schrieb Martok:
> > Honestly, I still don't understand why we're even having this discussion.
>
> Because it is a fundamental question: if there is any defined behavior possible if a variable
> contains an invalid value. I consider a value outside of the declared range as invalid, if it shall
> be valid, change the declaration of the type.
_AND_ remove types that can't have reasonably cheap range checks like sparse
enums ? :-)
More information about the fpc-devel
mailing list