Hacker News new | past | comments | ask | show | jobs | submit login

I tried D last year. As I recall it, there's at least one obvious things from C that D should add:

Switches can't seem to figure out that I have a case for every value of the enum I'm switching on, so I need a pointless default: assert(0);

I didn't check if this also breaks me getting warnings if I add new values to the enum but not the switch, but I imagine it does




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: