3 ms·
That doesn't follow. Objects do (much) more than implement algorithms in loops. In fact, I'd say that if you're doing algorithms as objects, you're almost cer
by mpweiher 4y ago
That doesn't follow. Objects do (much) more than implement algorithms in loops.
In fact, I'd say that if you're doing algorithms as objects, you're almost certainly Holding it Wrong™.
Algorithms tend to be perfectly fine contained in a method of an object.