4 ms·
Not sure pattern matching will age well. It seems to promote anti-OO design, may cause the switch statement to devolve into if/else, and creates another way to
by typescriptfan1 6y ago
Not sure pattern matching will age well. It seems to promote anti-OO design, may cause the switch statement to devolve into if/else, and creates another way to do the same thing.
- mrkeen 6y ago> Not sure pattern matching will age well. I've been using pattern matching for around 8 years now and still love it. > may cause the switch statement to devolve into if/else What does that mean?
- Smaug123 6y agoIt's increasingly looking like in ten years C# will contain F# as a subset, so pattern matching is certainly not going away.