4 ms·
Classes are just synthatic sugar over closures anyway. The benefit of OOP classes is that they can be extended. But closure cannot.
by moltar 3y ago
Classes are just synthatic sugar over closures anyway. The benefit of OOP classes is that they can be extended. But closure cannot.