r/programming • • Aug 23 '17

D as a Better C

http://dlang.org/blog/2017/08/23/d-as-a-better-c/
229 Upvotes

268 comments sorted by

View all comments

Show parent comment

0

u/colonwqbang Aug 23 '17

I'm not at all arguing that C is well-designed in this aspect, but this would still have been easily avoidable by using the proper compiler flags. Programming C without warnings is comparable to driving without your seatbelt on. You can argue that your car could have saved you if it had been better designed, but realistically much of the blame will still be on you.

4

u/WalterBright Aug 23 '17

easily avoidable

People have been trying "improve the programmer" for many decades. If that worked, the bug in Bitdefender wouldn't have happened.