3. Convert them to standalone utility functionsDo this. It was fashionable for awhile to add more rightward arrows to your code (see e.g. File::Spec vs. File::Spec::Functions). Then the fashion was to write standalone functions that dealt with this "OO" nonsense and call them a "DSL". All of these options were terrible.
In reply to Re: How to deal with old OO code that mixes instance methods with class methods
by educated_foo
in thread How to deal with old OO code that mixes instance methods with class methods
by eyepopslikeamosquito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |