Best Practices for Removing Unused Code

后端 未结 8 1235
花落未央
花落未央 2021-02-07 17:56

I\'d like to know what people\'s best practices are for removing unused code. Personally I\'m a fan of deleting (not just commenting) anything that\'s not currently being used.

8条回答
  •  佛祖请我去吃肉
    2021-02-07 18:51

    I usually let dead code idle for a while until its use has stabilized & I won't be using that functionality anymore. At that point, I remove it.

提交回复
热议问题