4 ms·
IMO, the tab-sensitive syntax is one of the worst aspects of the language.
by banachtarski 7y ago
IMO, the tab-sensitive syntax is one of the worst aspects of the language.
- deleted 7y ago[deleted]
- m463 7y agoyou regain quite a bit of screen space by eliminating other forms of syntax sugar such as braces and semicolons Also, I use spaces, never tabs! https://duckduckgo.com/?q=jwz+tabs+spaces https://duckduckgo.com/?q=jwz+tabs+spaces
- banachtarski 7y agoI should have said "whitespace" sensitive. I use either spaces or tabs depending on whatever standard was set by the codebase I work on (for personal projects, I use spaces). As for screen real estate, I couldn't care less. What I do care more about is not wasting time making sure indentation levels are correct after a nasty merge, or fat fingering something that changes the logic of a statement, or not being able to easily move a block to another or not being able to visualize which blocks are collapsed or not due to a lack of separation, etc. I've spent plenty of time in languages that are whitespace sensitive (python, haskell primarily) earlier in my career, but I would never go back.
- Avamander 7y agoI am grateful that Python doesn't have style religion wars and that I don't have to spend effort at parsing someone's abysmal style, basically only the logic/implementation can be bad. For example have you seen exim's source? It's horrific, I'd take even stricter Python formatting before whatever Facebook Messenger-formatted thing that is.