4 ms·
> 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 librari
by throw_m239339 7y ago
> 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.