Inline Class

From CSSEMediaWiki
Jump to: navigation, search

A class isn’t doing very much. Move all its features into another class and delete it.

InlineClass.gif
If a class has been re factored and lot of its previous responsibilities have been removed then fold this class into another class and get rid of it.

Additional Resources

SourceMaking.com