Mar-05-2022, 11:35 PM
I still don't get why you insist on making your life more complicated by coupling two unrelated things in your class. It's not hard to see how that could get worse: imagine you now want to write the result of a conversion to a file. Would that go in your conversion methods too? Yet more code in there that obscures the real intent of the methods. Each to their own, though.