|
|
|
|
|
by bluGill
559 days ago
|
|
In C++ I have learned the patterns and so I rarely need to worry about lifetime - everything is either on the stack or a unique_ptr. Even when I need to take a pointer I know I don't own it but my project has clear lifetime rules and so I normally won't run into issues. The above is not perfect. I do sometimes mess up, but it is rare, and that is C++ so I don't get tools/the language helping me. |
|