3 ms·
I've taught C at university level, and used to give crash courses to new college grads and interns in industry. The one thing I impart the most from the beginn
by asveikau 4y ago
I've taught C at university level, and used to give crash courses to new college grads and interns in industry.
The one thing I impart the most from the beginning is to develop good instincts for secure interfaces. You should be able to look at function signatures and see alarm bells for unsafe practices. For someone skilled at C this is second nature, you can see bad practices from a distance, often at the function signature level.
I think it would be unwise to neglect this.
- sfpotter 4y agoIt's unwise to neglect it in the long run. It's perfectly reasonable to ignore it initially. There are different valid pedagogical approaches here. Your approach may be suitable for the type of student you were interacting with, but the profile you're familiar with doesn't represent every person who might be interested in learning C.
- asveikau 4y agoI think a good approach is to have someone able to review code. So they can experiment and make all the common mistakes, then have feedback on it.