4 ms·
Of course you use classes all the time in Java: it forces you to do so by design. I have significantly more experience with Python than with Java and I find th
by aroberge 15y ago
Of course you use classes all the time in Java: it forces you to do so by design. I have significantly more experience with Python than with Java and I find that writing unit tests on functions is as easy if not easier than writing tests for (small) classes. And Diederich's point about small classes being a code smell (my words - not his) is hard to refute.