News for hackers. Stuff that matters.
Re:Httpserver.h: Single header library for writing non-block... by namibj on Friday December 13, 2019 @01:40AM (#21779601)
>C isn’t supposed to have training wheels.

And then there came Arduino.

We really need to fix the lack of documentation / warnings for these generic C libraries. If you need to understand token-combining preprocessor magic (looking at you, kbtree) due to a lack of proper documentation, these newbies _will_ just try to wing it and _will_ stop poking as soon as it seems to work, regardless of why/how. Say hello to use-after-free & it's cousin, memory leaks.

Re:Httpserver.h: Single header library for writing non-block... by pjmlp on Friday December 13, 2019 @06:47AM (#21780788)
Thankfully Arduino uses C++, there are no training wheels beyond taking advantage of C++ improvements over C, and a beginners friendly IDE.