Re:Tell HN: C Experts Panel – Ask us anything about C
by pantalaimon on Tuesday April 14, 2020 @10:49AM
(#22866675)
The trick is to just not use `malloc()` and `free()` unless absolutely necessary ;)
[ Parent
| on HN ]
Re:Tell HN: C Experts Panel – Ask us anything about C
by throw_m239339 on Tuesday April 14, 2020 @10:52AM
(#22866721)
> 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.