Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 24353

Matt Layman: Consistent Python code with Black

$
0
0
Code formatting is the subject of millions of fiery, nerdy debates. Developers love to argue about code style because we read code a lot. The style matters because it affects readability. We have examples of communities that benefit from a shared code style. The Go programming language has gofmt (i.e., “go format”) baked in as a core tool in the language. Their core team decided on a set of rules to use and everyone gets the benefit of reading code that looks very similar.

Viewing all articles
Browse latest Browse all 24353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>