3 ms·
Python with braces. Because Python is awesome, but whitespace is awful
- thanatos519 4y agoThe whitespace thing was the first thing I hated about Python. I would still hate Python with braces.
- pid-1 4y agoEven in languages with braces, folks will still use whitespaces for readability. Like, the examples on this repo's README do have whitespaces. So... what's the point of using braces?
- gus_massa 4y agoDoes it override this? from __future__ import braces
- hitpointdrew 4y ago"whitespace is awful, but braces are infinitely worse" FTFY IMO the spaces and lack of braces is one of the best things about Python.
- dekhn 4y agoI really wish we could go back in time to 1991 and convince guido to include braces like this.
- prirun 4y agoI wish we could remove braces from a lot of the new languages. Having a lot of symbols like {:abc:} or whatever might make parsing convenient, but it doesn't make typing, readability, or searching more convenient. Most search engines will strip out symbols and just look for words. When I first started with Python I though using white space to show structure was crazy. After using it for 13 years, I don't want to go back to typing what appears to me to be useless braces. Have I ever had a problem due to a misindent? Yeah, a couple of times. I've had that problem with braces too, about the same number of times.