daleyd
Member
- Messages
- 10,415
- Location
- Wrexham, North Wales
I have to write stuff that’s used by other users, maintenance techs, people who have to use it to debug faults that aren’t software engineers and might only have a very basic knowledge of the software - if I did this then they wouldn’t come back and use our services again.No! Encapsulate code in well named functions and classes (a bit more advanced for arduino stuff).
Good code should not have any comments.
What you say may be relevant in a software environment where everyone is an “expert”, but certainly not applicable in many cases. And I’d say not in something like an arduino where people are getting to grips with coding maybe for the very first time.