Re:“Clean Code, Horrible Performance” Discussion
by jdlshore on Saturday March 11, 2023 @01:40PM
(#35111218)
Polymorphism is useful when switch statements are repeated, as a way of eliminating that duplication, not when there’s a single well-encapsulated switch statement.
[ Parent
| on HN ]
There are no comments on this comment yet.