This API has like a dozen classes that implement a `double calculate(double)` method.

None of them implement an interface. Every time I want to switch between them, I"m either writing my own jank wrapper class or changing all their constructors and variable types.

Sometimes I hate this hell language.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.