3 ms·
The more I teach programming, the more I emphasize to students how hard/important the naming problem is. In fact, I've found the vast majority of novice debuggi
by danso 9y ago
The more I teach programming, the more I emphasize to students how hard/important the naming problem is. In fact, I've found the vast majority of novice debugging time is lost to naming-related problems. Sounds stupid, I know, but at the introductory level of programming (e.g. before trickier concepts, such as recursion, optimization, and memory management), typos and variable/reference confusion is a huge stumbling block, moreso because novices haven't learned debugging tools.
The naming problem leads to problems other than typos, of course, but it's amazing to me how much time can be wasted on that, especially when moving to real-world file/net access, when typos/confusion happen in the file path and URL level, and the confusion is compounded with misunderstanding of how the file system and HTTP works.