Wheels: Common utilities reuse and design

  • Search-->Copy-->Small Modification-->Delivery with product...-->Search again-->Copy and modify again-->...Or
  • Rewrite-->Test-->delivery with product...Rewrite-->Test-->delivery with product-->...

We experience the infinitely cycle in different projects when coding some utility functions. 

 

Sometimes, a well developed/designed common utilities may save our time. And Even the system performance. 

 

  • We may spend some time to rewrite an algrithm which We had already tried years ago.
  • A reusable and well designed common utility function could provide better performance (because it had been proven and tested in many projects) than the one you rewrite under delivery/time2Marketing stress.

你可能感兴趣的:(design)