Eyeball Blocking

One of my big complaints with the Java computer language is you can’t tell where some source code group ends without a detailed analysis of every {} inside the group. The } is overloaded for so many purposes. Is each { or } inside a comment or String or char literal? If so, it does not count in balancing. The eye cannot analyse such complicated and deep nesting. You must to use a code-tidying tool to indent, which the eye can understand, but often the indentation and {} nesting are out of sync, at the very time you need the indentation most — when the {} are unbalanced.

I hope some day the IDE (Integrated Development Environment) will mark the ends of ifs, loops, methods, classes… with some subtle but distinct visual clue in addition to indentation.


~ Roedy (1948-02-04 age:69)