Does the developers want the people to give suggestions?

oddp oddp at posteo.de
Mon Aug 17 21:50:18 UTC 2020


Hi there! Sorry, have to keep it short.

> First and most importantly I would say to automatically break in each case

Nothing new, folks already discussed this suggestion over ten years ago, when D2, the current 
language version, was still fresh. You can check it out here: 
https://forum.dlang.org/post/hdr46b$1770$1@digitalmars.com

In short: "either behave like C, or raise a compile-time error".

> Or even better
> case 1 .. 6:

This is covered in the FAQ: https://dlang.org/articles/faq.html#case_range


More information about the Digitalmars-d mailing list