3 ms·
No, it isn't the same thing. But it does make comprehension easier. You can get a feel for this by making a text editing window really small, say 10 x 20 charac
by jacquesm 9y ago
No, it isn't the same thing. But it does make comprehension easier. You can get a feel for this by making a text editing window really small, say 10 x 20 characters and then trying to comprehend an otherwise perfectly legible program through that window. It's going to be much harder than when you have more overview. This is also why we make diagrams to show a simplified version of a program to aid understanding.
APL went all the way with this and assigned many reasonably complex operations on complex datastructures to single character symbols. Once you know those symbols the code is about as hard to understand as any other language that you've mastered. It's just that because the symbols are not used in any other language family that you are going to struggle quite a bit in the beginning. It's like trying to ready Cyrillic.
- kazinator 9y agoFitting an entire function on the screen is useful compared to just a fraction of a function. (However, if you can only see a fraction of a function, the problem is with the function, not with your screen.) Having a hundred functions in view at once (full definitions) is way, way past the point of diminishing returns. And we have folding editors so you can see function headers: names and arguments. By the way, a 10x20 window: isn't that like a wasteland of wast proportions to an APL programmer?