r/Python • • Jul 25 '18

Use an IDE Me doing my CS projects.

Post image
1.2k Upvotes

213 comments sorted by

View all comments

Show parent comments

1

u/BillyWasFramed Jul 26 '18

Does PEP-8 answer the question I just posed?

2

u/Shpitzick Jul 26 '18

Kinda. The idea of PEP-8 is to make Python code consistent everywhere, in order to ease the understanding of it. If you're used to use 2 spaces (or any other PEP-8 requirement, like two blank lines between functions), and I'm used to 8 spaces, we're going to face some difficulties when trying to read each other's code.

Of course, this isn't a must, but I think consistency fits well the zen of Python as it makes it much easier to read and share code.