4 ms·
Much as I like the general consistency of Python code with or without formal style guides, I prefer Go's "style guide" even more, which is to just run "go fmt":
by jbarham 15y ago
Much as I like the general consistency of Python code with or without formal style guides, I prefer Go's "style guide" even more, which is to just run "go fmt": http://golang.org/cmd/go/#Run_gofmt_on_package_sources http://golang.org/cmd/go/#Run_gofmt_on_package_sources.
- slurgfest 15y agoYou could just run pep8, you know.
- acdha 15y ago"gofmt -w" actually rewrites the files. I'd love a Python formatter which applies the robotic parts of PEP-8 automatically so you could focus on the parts which require more thought.
- rbanffy 15y agoI'll continue surrounding "="s in keyword arguments and default parameter values regardless of what PEP-8 says.