logoalt Hacker News

kccqzyyesterday at 1:00 PM1 replyview on HN

And the type system does not tell you if you need to call free on this char* when you’re done with it.


Replies

groundzeros2015yesterday at 11:18 PM

Correct. Haphazardly passing ownership of individual nodes around is a C++ and OOP anti-pattern.