News for hackers. Stuff that matters.
Re:Tell HN: C Experts Panel – Ask us anything about C by darepublic on Tuesday April 14, 2020 @10:24AM (#22866335)
Coming from python/js I found it to be high. Mostly because of the memory management/ making sure I call free correctly etc. In many cases where I would plow ahead in programming, with C I had to stop and would feel dread. A lifesaver for me was using C/C++ Repl environments where I could quickly prototype or sanity check things I was doing.
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 ;)
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.