What the hell is wrong with D?

Brad Anderson eco at gnuk.net
Tue Sep 19 18:34:13 UTC 2017


On Tuesday, 19 September 2017 at 18:17:47 UTC, jmh530 wrote:
> On Tuesday, 19 September 2017 at 17:40:20 UTC, EntangledQuanta 
> wrote:
>>
>> Thanks for wasting some of my life... Just curious about who 
>> will justify the behavior and what excuses they will give.
>
> Pretty sure it would be exactly the same thing in C...

It is (and Java and C# and pretty much every other C style 
language though the nicer implicit conversion rules means it gets 
caught more easily). It is a big source of programmer mistakes. 
It comes up frequently in PVS Studio's open source analysis write 
ups.


More information about the Digitalmars-d-learn mailing list