News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.