News for hackers. Stuff that matters.
Re:Why I prefer objects over switch statements by sacado2 on Friday February 22, 2019 @03:48PM (#19228966)
Anything with successive iterations / optimization phases, like simulation or even simple machine learning.
Re:Why I prefer objects over switch statements by Scooty on Friday March 01, 2019 @05:41PM (#19286047)
That's why I said "majority". Obviously you should optimize code that is run frequently. I could be wrong, but last time I checked most applications don't involve even "simple machine learning" and when they do it's in a library or service that abstracts those concerns away.