Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
python:防止丢弃函数返回值
代码中有一个常见错误 人们会这样写 if id query filter row id id 代替 if id query query filter row id id 该代码看起来 有效 并且很难用手识别它们 在 C 中有 nodisca
python
mypy
pylint
nodiscard
为什么 unique_ptr::release 没有用 [[nodiscard]] 定义?
C 17 added nodiscard https en cppreference com w cpp language attributes nodiscard C 20添加了使用 nodiscard on empty方法 例如vect
c
uniqueptr
nodiscard