This blog moved to medium->https://medium.com/@cocoamaemae

Sunday, February 11, 2018

Key points of objected oriented design

Brief
Recap key points when using object oriented design and writing codes.


Complete constructor pattern

  • Configure essential information when creating constructor 
  • Not specify arguments of methods as possible as it can. 
  • If member variables are considerably increased, extract new classes.

First class correction
  • Recap related methods or logics and fields to one class 

No comments:

Post a Comment

Front End Development Tools

TaskRunner Tool executing multiple tasks by only one execution. Tasks are like CSS preprocessor, Transpire, Module Bundler, etc... e.g. ...