This post is about the thing in the title. I used to work for Yelp. For historical reasons — probably “the initial developers preferred it” — their mostly-Python codebase had always been indented with tabs. That’s in stark contrast to the vast majority of the Python ecosystem, which generally uses the standard library’s style guide recommendation of four spaces. The presence of tabs caused occasional minor headaches and grumbles
I mean, you can use tabs consistently within a project. The only thing I’m aware of that actually bans tabs is YAML and… well, you can go a long way by always doing the opposite of what YAML does.
I mean, you can use tabs consistently within a project. The only thing I’m aware of that actually bans tabs is YAML and… well, you can go a long way by always doing the opposite of what YAML does.