Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The trick is to just not use `malloc()` and `free()` unless absolutely necessary ;)


> The trick is to just not use `malloc()` and `free()` unless absolutely necessary ;)

The problem is that often C programmers have to deal with API and libraries they didn't write themselves to solve their problems, thus are forced to use constructors and destructors even when they don't want to.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: