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

Should we indent our code with four or two spaces? #32

Open
felquis opened this issue Jun 29, 2015 · 9 comments
Open

Should we indent our code with four or two spaces? #32

felquis opened this issue Jun 29, 2015 · 9 comments
Labels

Comments

@felquis
Copy link
Member

felquis commented Jun 29, 2015

John papa's style guide, mention indentation with four spaces, but we're using two spaces today... Should we change it to four spaces?

@giorgiofellipe
Copy link
Contributor

Uh, it's kinda difficult to answer. IMO there should never be a "blindly follow" on anything. We should measure what is productive and/or will help us in the near future.
So, first we need to know what are our options:

Anyone else?

@felquis
Copy link
Member Author

felquis commented Jul 3, 2015

I think I'll edit the issue title.

@felquis felquis changed the title Should we fork Johnpapa's style guide? Should we indent our code with four or two spaces? Jul 3, 2015
@felquis
Copy link
Member Author

felquis commented Jul 3, 2015

@giorgiofellipe I liked Tood Motto's Style Guide.. It's kind of easier to understand.

@giorgiofellipe
Copy link
Contributor

@felquis Indeed it is, but it doesn't cover so many things as John Papa's does.

Accordingly to the topic: I prefer 2 spaces

@silvamarcel
Copy link

I prefer 4 spaces.

@kidush
Copy link

kidush commented Jul 3, 2015

I usually use 2 spaces 😄

@ivosantiago
Copy link

2 spaces 😄

@matheusrocha89
Copy link

2

@jayrmotta
Copy link

two plz 👍

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

No branches or pull requests

7 participants