logoalt Hacker News

WalterBrightlast Sunday at 5:51 PM2 repliesview on HN

The trouble with warnings is every compiler has a different set of warnings. It balkanizes the language. Many D features are the result of cherry picking warnings from various compilers and making them standard features.


Replies

pseudohadamardlast Thursday at 5:03 AM

I see this as a feature, not a bug. I compile my code with a range of different compilers because each one catches things the others don't. The creeping gcc-isation of everything is what I'd see as a bug.

1718627440last Monday at 8:13 AM

> It balkanizes the language.

Not really, as C has had even more diverse implementations per-standardization. I would say the situation is now, much less diverse under the rule of GCC and Clang. (Yeah MSVC also exists.)

show 1 reply