2 ms·
I think that you can replace almost any If else with pattern matching. Pattern matching makes type checks easier, which if you are really heavily using types th
by ecshafer 3y ago
I think that you can replace almost any If else with pattern matching. Pattern matching makes type checks easier, which if you are really heavily using types through your program, makes pattern matching even better.