這是一篇讀書心得,主要分為兩部分:重構的核心概念,以及實際的重構solution。我會將重點著重在前者,後者若有時間的話會列出我覺得重要的部分。
寫在閱讀之前:目標
了解什麼是重構。
了解為什麼需要重構。
找出程式碼中哪裡需要重構。
如何開始重構的第一步。
重構的實際案例
Are you sure to leave this team?
Once you delete your team, all team notes will be deleted and cannot be recovered. Please ensure you've exported or transfered these notes.
Enter team name before deleting it:
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up