3 ms·
>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 librari
by namibj 7y ago
>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.
- pjmlp 7y agoThankfully Arduino uses C++, there are no training wheels beyond taking advantage of C++ improvements over C, and a beginners friendly IDE.