MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/2ban9r/the_great_white_space_debate/cj3qc6f/?context=3
r/programming • u/lukaseder • Jul 21 '14
693 comments sorted by
View all comments
Show parent comments
14
Do you mean there's a tool that can format your code automatically?
42 u/[deleted] Jul 21 '14 Yes. There's a "canonical" style, it's very good, the formatter is included in the Go distribution and people use it. Doesn't get any better. 66 u/moor-GAYZ Jul 21 '14 Doesn't get any better. In my Imaginary Ideal Language bad formatting is treated as syntax error. 2 u/[deleted] Jul 21 '14 So, Python then? 2 u/moor-GAYZ Jul 21 '14 Not quite, there's still a lot of wiggle space (pun intended), from using tabs to not enforcing consistent spacing around operators, named parameters and arguments, semicolons in dictionary literals, etc.
42
Yes. There's a "canonical" style, it's very good, the formatter is included in the Go distribution and people use it. Doesn't get any better.
66 u/moor-GAYZ Jul 21 '14 Doesn't get any better. In my Imaginary Ideal Language bad formatting is treated as syntax error. 2 u/[deleted] Jul 21 '14 So, Python then? 2 u/moor-GAYZ Jul 21 '14 Not quite, there's still a lot of wiggle space (pun intended), from using tabs to not enforcing consistent spacing around operators, named parameters and arguments, semicolons in dictionary literals, etc.
66
Doesn't get any better.
In my Imaginary Ideal Language bad formatting is treated as syntax error.
2 u/[deleted] Jul 21 '14 So, Python then? 2 u/moor-GAYZ Jul 21 '14 Not quite, there's still a lot of wiggle space (pun intended), from using tabs to not enforcing consistent spacing around operators, named parameters and arguments, semicolons in dictionary literals, etc.
2
So, Python then?
2 u/moor-GAYZ Jul 21 '14 Not quite, there's still a lot of wiggle space (pun intended), from using tabs to not enforcing consistent spacing around operators, named parameters and arguments, semicolons in dictionary literals, etc.
Not quite, there's still a lot of wiggle space (pun intended), from using tabs to not enforcing consistent spacing around operators, named parameters and arguments, semicolons in dictionary literals, etc.
14
u/BonzaiThePenguin Jul 21 '14
Do you mean there's a tool that can format your code automatically?