3 ms·
> I enjoy writing my own code more than I enjoy reading other people's code which is probably not right. Right or wrong, I think this is true for most programm
by gniv 3y ago
> I enjoy writing my own code more than I enjoy reading other people's code which is probably not right.
Right or wrong, I think this is true for most programmers. Would be interesting to understand why this is so. Probably related to the problem in the article: we're writing code that is too clever, so reading it takes too long or is too mentally taxing. If we could read code as fast as we read text, it would be less annoying.
- samsquire 3y agoThank you for your reply. I prefer reading documentation or technical deep dives - such as this one https://mattwarren.org/2017/02/07/The-68-things-the-CLR-does-before-executing-a-single-line-of-your-code/ https://mattwarren.org/2017/02/07/The-68-things-the-CLR-does... Is code more dense than English? Why do I understand more overall from this blog post than I would if I studied the codebase of the CLR for hours and hours. I think it's to do with mental models. If developers were on all the same page of understanding the underlying mental models, we could all understand eachother's code because we all understood the same underlying things.
- gniv 3y agoYes, I would say code is usually denser than English. But sometimes it's not. This unevenness is I think part of the problem. You breeze through some parts, and stop and think through some others. It's unnatural.