A plea for pattern matching

bearophile bearophileHUGS at lycos.com
Thu Dec 25 15:13:33 PST 2008

KlausO, I like limited forms of pattern matching, I have asked for them in D in the past; they also fit with the growing functional nature of D2.
But I've seen the pattern matching you can see for example in Scala adds lot of complexity to the compiler (and some to the language too), and D2 is already a quite complex language. So I am not sure it's a good thing to add it to D2.


More information about the Digitalmars-d mailing list