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 in
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.
If only we had collectively agreed on a number of spaces! Sadly it seems split fairly evenly between 2 and 4 so we don’t even get consistency.
Consistency within a project.
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.