4 ms·
> In a few particular cases, I've found myself having > to move functions out from one subclass and into the > superclass, in order for related subclasses which
by raymondh 9y ago
> In a few particular cases, I've found myself having
> to move functions out from one subclass and into the
> superclass, in order for related subclasses which
> needed access to it, for me to be able to add more
> functionality to the site.
That seems like a refactoring basic. Far from being miserable, it is likely the easiest way to have met the requirement to add functionality.
- scarygliders 9y agoThe misery comes from zero documentation, no code commenting, very short variable names, and having to trace backwards from the subclass to the superclass to the ancient frameworks and libraries being used. Especially tracing backwards from a subclass and it's undocumented! :)