Re:Python with Braces
by kelipso on Monday July 08, 2024 @06:39PM
(#40910522)
Redundancy reduces likelihood of bugs. Your numbers example would too but it's obviously too much work for not enough benefit.
[ Parent
| on HN ]
Braces are also too much work for not enough benefit.
Given the chronic inconvenience of significant whitespace, absolutely not.
That's an opinion that is largely disproven by the amount of working Python code in the world.
Why is it so hard to accept that this is your personal preference and is really not an "objective" statement?
The reason for the popularity of python is mainly due to advertising it to programming newbies and non-programmers, not due to significant whitespace.
I never brought popularity up: that mostly leads to lots of small snippets but not a big amount of working code. You can have an unpopular language with a few productive actors producing lots of code.
I argue that "chronic inconvenience" is disproven by so many working programs. Even if one argues it's an inconvenience, it is a minor one or it would be hard for non-newbies to produce so much with Python.
It’s a minor inconvenience, sure, I use python myself, but it’s definitely a chronic one. It annoys me every single time I code in python.
It’s thee braces that are inconvenient. I have to indent my code anyway, so why add another redundant marker that I’ll have to mentally filter out all the time?