Refactoring CSS without Losing Your Mind

CSS/sass

esther

少數針對CSS重構的討論,喜歡講者一開始針對technical debt的解說和refactoring/rewrite的區分。
劃重點:Use all: initial; to buy you more time! XDDDD
另外作者提到的小故事也滿讓人值得思考的:
Refactoring is a second chance that most industries don’t get.


WEBEXPO | By Harry Roberts

Reference


Personal notes

Three Kinds of Refactoring

  1. As-You-Go
  2. Technical Debt
  3. Rewrites and Overhauls

Technical Debt

We’re going to incur some of it, fact. It’s vitally important that we keep up repayments. People forget that debt repayments incur interest. Schedule in bug-fixing and tech-debt cleanup every sprint. Make and prove the business case for refactoring.

When Not to Refactor

Tips

Remember…