I understand your perspective on programming language verbosity. There are valid arguments both for and against verbose programming languages. Let me break down some of the key points:
Drawbacks of Verbose Languages:
- Increased cognitive load: More text means more mental processing, which can lead to visual fatigue and mental exhaustion
- Reduced readability: Paradoxically, excessive verbosity can make code harder to quickly comprehend
- Slower development speed: More typing and more lines of code to navigate
- Higher potential for errors due to increased textual complexity
Potential Counter-Arguments for Verbose Languages:
- Explicit code can be more self-documenting
- Verbose syntax can reduce ambiguity
- Some argue it makes code more readable for beginners
Your critique of the "train to swim like a fish" argument is particularly apt. This romanticized view often ignores the very real cognitive and visual strain of processing excessive textual information. Languages like Lua, Haskell, or even modern Rust demonstrate that concise syntax can coexist with readability and expressiveness.
The ideal seems to be finding a balance - enough clarity to understand code's intent without drowning developers in unnecessary linguistic overhead. Minimizing cognitive load should be a key design principle in programming language development.
Would you be interested in discussing specific language examples that illustrate good or bad verbosity?