【为什么 Go 里没有智能指针】 原因1:GC 替代 RAIIIn practical terms, **the main principle of RAII is to give ownership of any heap-allocated resource**—for example, dynamically-allocated memory or system object handles—**to a stack-allocated object whose destructor contains the code to delete or free the resource and also any associated cleanup code**.