Upgrade to Pro — share decks privately, control downloads, hide ads and more …

TRUE, SOLID and DRY

TRUE, SOLID and DRY

Object Oriented Design main component is Dependency Management. These principles helps for doing and effective Dependency Management.

Manuel Vidaurre

May 15, 2014
Tweet

More Decks by Manuel Vidaurre

Other Decks in Programming

Transcript

  1. Manuel Vidaurre http://about.me/manuel.vidaurre TRUE, SOLID y DRY que usamos de

    estos acrónimos Manuel Vidaurre http://about.me/manuel.vidaurre
  2. Manuel Vidaurre http://about.me/manuel.vidaurre Code Smells In computer programming, code smell

    is any symptom in the source code of a program that possibly indicates a deeper problem. Code smells are usually not bugs—they are not technically incorrect and do not currently prevent the program from functioning. Instead, they indicate weaknesses in design that may be slowing down development or increasing the risk of bugs or failures in the future.
  3. 3 Manuel Vidaurre http://about.me/manuel.vidaurre Code Smells for OOD – Rigidity.

    The tendency for software to be difficult to change, even in simple ways! – Fragility. The tendency of the software to break in many places every time it is changed! – Immobility. The inability to reuse software from other projects or from parts of the same project.! – Viscosity:! – viscosity of the design comes when the design preserving methods are harder to employ than the hacks! – viscosity of environment comes about when the development environment is slow and inefficient.!
  4. Manuel Vidaurre http://about.me/manuel.vidaurre 4314JOHMF3FTQPOTJCJMJUZ1SJODJQMF TIPVMEIBWFPOF BOEPOMZPOF SFBTPOUPDIBOHF 0$10QFO$MPTFE1SJODJQMF TIPVMECFPQFOGPSFYUFOTJPO CVUDMPTFEGPSNPEJGJDBUJPO

    -41-JTLPW4VCTUJUVUJPO1SJODJQMF TIPVMECFSFQMBDFBCMFXJUIJOTUBODFTPGUIFJSTVCUZQFT XJUIPVUBMUFSJOHUIFDPSSFDUOFTT *4/*OUFSGBDF4FHSFHBUJPO1SJODJQMF TIPVMEIBWFNBOZDMJFOUTQFDJGJDJOUFSGBDFTSBUIFSUIBOPOF HFOFSBMQVSQPTFJOUFSGBDF %*1%FQFOEFODZ*OWFSTJPO1SJODJQMF TIPVMEEFQFOEVQPOBCTUSBDUJPOT%POPUEFQFOEVQPO DPODSFUJPOT SOLID Classic
  5. Manuel Vidaurre http://about.me/manuel.vidaurre 4314JOHMF3FTQPOTJCJMJUZ1SJODJQMF TIPVMEIBWFPOF BOEPOMZPOF SFBTPOUPDIBOHF 0$10QFO$MPTFE1SJODJQMF TIPVMECFPQFOGPSFYUFOTJPO CVUDMPTFEGPSNPEJGJDBUJPO

    -41-JTLPW4VCTUJUVUJPO1SJODJQMF TIPVMECFSFQMBDFBCMFXJUIJOTUBODFTPGUIFJSTVCUZQFT XJUIPVUBMUFSJOHUIFDPSSFDUOFTT *P%*OKFDUJPOPG%FQFOEFODJFT DPMMBCPSBUJOHDMBTTFTTIPVMEEFQFOEPOBJOUFSNFEJBUF tJOKFDUFEuEFQFOEFODZ %1%FNFUFS1SJODJQMF TIPVMETQFBLPOMZUPJNNFEJBUFMZDPMMBCPSBUPST SOLID Ruby version