Inline Class

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Ebybymic (Talk); changed back to last version by Paul Williams)
 
Line 4: Line 4:
 
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.
 
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 ==
+
== Additional Resources ==
 
[http://sourcemaking.com/refactoring/inline-class SourceMaking.com]
 
[http://sourcemaking.com/refactoring/inline-class SourceMaking.com]
 
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://ydozenysana.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
 
----
 
=[http://ydozenysana.co.cc CLICK HERE]=
 
----
 
</div>
 

Latest revision as of 03:22, 25 November 2010

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

Personal tools