当前位置:网站首页>如何把无用的代码注释为 Deprecated 弃用
如何把无用的代码注释为 Deprecated 弃用
2022-08-09 07:45:00 【Pandy : )】
代码开发过程中,总会出现更新的版本代码,而老的代码由于需要兼容等等考虑,不能直接删除,但是保留着也需要提示后续开发者不能再继续使用, 这个时候就需要用到注释的 @depreacted
,来说明该段代码弃用:
边栏推荐
猜你喜欢
随机推荐
排序第四节——归并排序(附有自己的视频讲解)
设备指纹详解之识别垃圾账号
【Reprint】Deep Learning (deep learning) study notes arrangement
贪吃蛇小游戏——C语言
毕业我选择了保家卫国,退伍我选择了华为外包
更改Jupyter Notebook默认打开目录
2042. 检查句子中的数字是否递增
Four departments including the Ministry of Industry and Information Technology promote green smart home products to the countryside
SSL证书最长有效期13个月,还有必要一次申请多年吗?
C语言:字符逆序
MUI无法滚动?完美解决
ImportError: cannot import name ‘imresize‘
Kotlin Coroutines - Exception Handling
链表专项练习(三)
LeetCode:876. 链表的中间结点————简单
SSM整合开发案例
PyTorch中 torch.nn与torch.nn.functional的区别
Important news丨.NET Core 3.1 will end support on December 13 this year
Anaconda 使用代理
(error) NOAUTH Authentication required.