Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace tabs with spaces #20

Open
IQAndreas opened this issue Dec 1, 2013 · 2 comments
Open

Replace tabs with spaces #20

IQAndreas opened this issue Dec 1, 2013 · 2 comments

Comments

@IQAndreas
Copy link
Member

Some parts of the code use tabs and others use spaces.

This is fine when most editors use 4 spaces per tab, but since GitHub insists on using 8 spaces per tab, it throws off the formatting entirely (silly GitHub, tabs are for gits).

@IQAndreas
Copy link
Member Author

I don't remember why I recommended using spaces instead of tabs (that GitHub formatting reason is a poor reason). I'm always pro-tabs. :(

In fact, I don't even remember opening this issue. Am I going crazy?

@VestOfHolding
Copy link

Well I'd argue that spaces are better on projects which involve many people, since they could easily have their IDEs set up differently, and next thing you know you end up with a project that has 4 spaces for a tab in some places, 2 in others, etc. It's for consistency more than anything else.

Or just add a part to the README for this project about saying which rule this project follows. Either way, you get the consistency that makes for more readable code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants