3 ms·
The Saint-Exupéry quote applies to Lisp, may in some manner apply to Python 2.7, but certainly not to Python 3.12. Many people here argue that braces do provid
by wqtrez 2y ago
The Saint-Exupéry quote applies to Lisp, may in some manner apply to Python 2.7, but certainly not to Python 3.12.
Many people here argue that braces do provide some structure that helps in understanding and navigating the program. Python files over 100 lines with a lot of if-statements become syntactically unreadable.
So taking them away does not help.
Generally, minimalism (except for the Lisp-style one) is not always good. Python is called executable pseudo-code. Do academics use it to specify algorithms?
No, most still use some form of Pascal/Algol style syntax, which conveys the meaning much better.
- Ringz 2y ago> The Saint-Exupéry quote applies to Lisp, may in some manner apply to Python 2.7, but certainly not to Python 3.12. Is the syntax not about 80% the same? And isn't most of that "same simple syntax" commonly used daily? > Many people here argue that braces do provide some structure that helps in understanding and navigating the program. Python files over 100 lines with a lot of if-statements become syntactically unreadable. That's probably True. But poor programming discipline and syntax that eases reading problematic code also contribute to this issue. > So taking them away does not help. For me it actually promotes better coding style and hygiene. > Generally, minimalism (except for the Lisp-style one) is not always good. The quote was about perfectionism, not minimalism.