You’re not wrong. It’s something we need to get better at.
I’d love to talk about concrete steps to improve the situation. One of those steps is figuring out a clean, simple, standard way to write function-level documentation and automated tests for it. I know what the right answers are for Perl, Ruby and Java. In general, I’ve not seen good examples in Arduino-land and I don’t know the C++ world well enough.
Do you have recommendations? Does anyone else have recommendations?
Though we’re spinning out on a tangent from the original topic here. I’m going to reparent these posts to a new topic.