Best Practices for Removing Unused Code

后端 未结 8 1223
花落未央
花落未央 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:48

    We have an "Obsolete" area in our source tree where we move stuff that is no longer used. It is away from the trunk in an area that isn't normally checked out, so nobody has to look at it.

提交回复
热议问题