166
Tabs are objectively better than spaces - gomakethings.com
(gomakethings.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
This is a holy war that I will gladly fight again and again! I can't believe that soft tabs are more popular, especially in python!
Tabs work fine, you aren't allowed to mix, indentation must be consistent.
Actually I think you can technically mix. They have a "conversion factor". But don't, because then the code will look like crap on any other tab size (defeating the point of using tabs in the first place)
I think it would be better that each line needs to start with the exact same bytes to be considered within the same indent level. But I don't think that is the decision Guido made.