4 ms·
> Programs should be valid as they are typed. Not possible. There are more keystrokes that result in invalid programs (you are still writing the code!!) than k
by andsoitis 1y ago
> Programs should be valid as they are typed.
Not possible. There are more keystrokes that result in invalid programs (you are still writing the code!!) than keystrokes that result in a valid program.
More seriously, I do think that one consideration is that code is read more often that written, so fluidity in reading and comprehension seem more important to me than “a program should be valid after each keystroke.
- ivanjermakov 1y agoTyping goes in the same directions as reading, so I expect many benefits to apply to both. But I agree that readability is much more important than writeability.