2 ms·
There’s another side, which is that from a source code management perspective, modern pattern matching forces you to group implementation by operation (to get
by beagle3 5y ago
There’s another side, which is that from a source code management perspective, modern pattern matching forces you to group implementation by operation (to get all the benefits), modern OO let’s you group by “class”.
There’s no right or wrong answer here. For GUIs, it appears grouping by class is more effective. But many other times, it’s not.