digitalmars.D.learn - proposal: remove case keyword
- mandel (6/6) Jul 28 2007 Hi,
- Jason House (3/12) Jul 28 2007 What is your proposed alternate syntax for case statements. You can't
Hi, simple question; do we need to write "case" inside a switch statement? Is it needed for parsing? To me it seems to be superfluous and could be removed or at least made optional. Opinions?
Jul 28 2007
mandel wrote:Hi, simple question; do we need to write "case" inside a switch statement? Is it needed for parsing? To me it seems to be superfluous and could be removed or at least made optional. Opinions?What is your proposed alternate syntax for case statements. You can't replace case A: with A: because then it'd look like a line label.
Jul 28 2007