Skip to content
败犬日报 2026-02-07

败犬日报 2026-02-07

1. 错误实践:python 用 __del__ 释放资源

python 用 GC 管理生命周期,__del__ 的调用时机是不明确的。正确方式是 with 语句。

2. 让编译器帮你检查单位——C++ 单位库概览(文章)

https://zhuanlan.zhihu.com/p/2003141538142779074