empty arrays and cast(bool): WAT
timon.gehr at gmx.ch
Sat Feb 18 21:40:07 PST 2012
On 02/19/2012 06:15 AM, Bernard Helyer wrote:
> On Sunday, 19 February 2012 at 04:01:45 UTC, Timon Gehr wrote:
>> On 02/19/2012 04:56 AM, Bernard Helyer wrote:
>>> On Sunday, 19 February 2012 at 03:33:14 UTC, Timon Gehr wrote:
>>>>> That would potentially break code.
>>>> It would also potentially fix code.
>>> Well that's the stupidest thing I've read today. Can you point to people
>>> using it in the way that you expect? Besides which, that's just about
>>> the worst way to fix bugs in code is to change the language's behaviour.
>> I was not being entirely serious here... Do you have any opinion about
>> the topic?
> I think it's too late to change the behaviour,
It is a good time to change the behavior: We are still in a stage where
almost every release of the reference compiler breaks some code.
> and it's not too terrible, even if un-ideal.
It is completely useless. It should rather be disabled as bearophile
suggests and then be re-enabled with the sane semantics after enough
time has passed.
More information about the Digitalmars-d