4 ms·
Devil's advocate; each class in the array has a consistent interface, making it easier to do common things every step like measurements and logging during itera
by gitgud 5y ago
Devil's advocate; each class in the array has a consistent interface, making it easier to do common things every step like measurements and logging during iteration etc.
But I agree with you, it's simpler to just call the functions only giving them what they need. This prevents them from implicitly depending on context and makes reasoning about the code much easier....