A function to write several digital outputs at once (C++ level)

I don't think that pointing out programming errors or a lack of testing and documentation is rude. It's just a factual assessment.