Sunday, May 31, 2020

Martin Fowler - Software Design in the 21st Century ( Code Refactoring )

Code Refactoring  

  • Break code to small methods.
  • After that, it is  easy to understand performance issues and then address  those issues.
  • Use meaningful names for those methods.
  • In team it is better  to have common naming conversion ways.
  • Consider about temporary variables.
  • Do refactoring step by step , commit that stage to you branch.
  • If some modification doesn't work then go back to early safe step.
  • Tools will faster refactoring.
  • Rewrite vs Refactoring .
  • Refactoring  >>  To  make, change easy .
  • Rewrite        >>  If we can do it better  way than old  system.


 

Some interesting things to explore more

 Here  some  some  things  to  study  more ,     How Google Search works               https://developers.google.com/search/docs/fundamental...