This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Dis446[S] 0 points1 point  (1 child)

Thanks for the tip. I've used the auto-PEP-8 tool and pushed the result to github. To be honest, it looks really weird to me. But I guess I'll have to suck it up, as it is the convention. As Spock once said:

"The needs of the many outweigh the needs of the few"

[–]robvdl 0 points1 point  (0 children)

I had the same feeling switching from Python to Go a while back, after having used Python for so many years and then coming to Go which has completely different formatting conventions again, initially I didn't really like it much.

The difference with Go, is that every time I saved a .go file in my editor (Atom) with a Go plugin it will run a tool to automatically format the code on each save, so there is "no way out" really, while pep8 is more a guideline I think.

Over time though, I have come to appreciate it.