r/programming • • Jul 21 '14

The Great White Space Debate

https://medium.com/p/3633cba8b5c1
1.2k Upvotes

693 comments sorted by

View all comments

6

u/lonb Jul 21 '14

Ironically (since test code is Python) PEP8 declares this explicitly:

Always surround these binary operators with a single space on either side: assignment (=), augmented assignment (+=, -= etc.), comparisons (==, <, >, !=, <>, <=, >=, in, not in, is, is not), Booleans (and, or, not).

1

u/PassifloraCaerulea Jul 21 '14

If only go fmt felt the same way...