enforce()?
Rory McGuire
rmcguire at neonova.co.za
Mon Jun 21 06:37:04 PDT 2010
On Mon, 21 Jun 2010 06:08:01 +0200, Leandro Lucarella <luca at llucax.com.ar>
wrote:
> Walter Bright, el 20 de junio a las 19:32 me escribiste:
>> Leandro Lucarella wrote:
>> >Why will you assume I'm so dumb that I won't use your
>> >interface correctly?
>>
>> Windows has had major legacy compatibility issues because critical
>> third party applications misused the APIs.
>>
>> People *will* misuse your API, and you will get blamed for it. It's
>> unfair, but that's how it works.
>
> Luckily I haven't used Windows for about 10 years now =)
>
> It's really a shame that D will take the stupidity route.
>
> PS: I don't know how windows work, but if calling the Windows API is
> like going into kernel mode, and you can mess other processes, it
> seems reasonable to do check every API call as if it were user
> input, but if you're confined to your process, is really stupid.
>
I think perhaps you mis-understood, it is mostly not stupidity that causes
people to use
undocumented "features" of an API but rather, it is people being overly
"clever".
More information about the Digitalmars-d
mailing list