News for hackers. Stuff that matters.
Re:Puzzle Languages by zabzonk on Wednesday October 04, 2023 @07:03AM (#37763427)
well, let me rephrase "scope" as "lifetime of objects"
Re:Puzzle Languages by foldr on Wednesday October 04, 2023 @07:17AM (#37763541)
Ok, but then what you're saying is almost tautological. Indeed, you won't be surprised when an object is destroyed in C++ if you understand how object lifetimes work in C++.