Re:Why I prefer objects over switch statements
by Scooty on Friday March 01, 2019 @05:16PM
(#19285874)
I was replying to a comment about the performance implications. If you decide on one method over another for performance reasons, I think it's an optimization.
> But is not more readable or even more maintainable.
Both are a matter of opinion and depend on the specific use-case.
> But is not more readable or even more maintainable.
Both are a matter of opinion and depend on the specific use-case.