I have written several coding standards and comments are always primary
in importance.
The Misra C standard does a pretty good job of forcing the programmer to
aim for something other than their foot with their rope 🙂
I am amazed at how many fresh outs I have met who really can't program
their way out of a paper bag.
On 8/15/2024 7:46 PM, Fred Cisin via cctalk wrote:
When I was teaching C, it was sometimes quite
difficult to help
students who had firm assumptions about things that you can'r assume.Â
Such as the sequence of operations in the multiple iterations examples
that we both used. I tried desperately to get them to do extensive
commnets, and use typecasts even when they could have been left out.