Alex R�nne Petersen <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #11 from Alex R�nne Petersen <> 2012-01-15 
09:54:54 PST ---
I'm just going to interject here.

I don't understand why anyone sees the need to limit the switch construct in
any way. Why force it to use compile-time values? Why force it to support
primitives only?

A full-blown, generalized switch would greatly improve D's expressiveness, and
would cater to functional programmers. Functional languages have shown that
pattern matching (which is essentially just a generalized switch, or -- as I
like to call it -- switch done *right*) is extremely useful to write short and
concise code, especially the ML family of languages (SML, OCaml, F#, etc).

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to