Hacker News new | ask | show | jobs
by KeytarHero 4072 days ago
Because it's an example of allocating things on the heap. You could also say the same about the "good" RAII version shown - but then there wouldn't be much point to the article, would there?