News for hackers. Stuff that matters.
Re:There’s No Such Thing as Clean Code by ziml77 on Friday January 28, 2022 @09:51AM (#30115287)
Exactly my experience with polymorphism. It starts out looking super clean but then the business requirements shift and each has its own edge cases that turn it into a giant mess, often ending up as a mix of both polymorphism and convoluted if statements.

There are no comments on this comment yet.