Anaconda linter, why so picky about whitespaces? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Anaconda linter, why so picky about whitespaces?

As part of my journey into learning Python, I've been intrigued by Anaconda and been pasting free code off the web for Py2.7 and making it work with Py3. Anaconda is very helpful in showing me errors, but why does it complain so much about whitespaces and new lines at end of code etc. None of this affects the operation (or speed) of the code, does it? Or would the cumulative effect of say, one hundred thousand unneccessary whitespaces in a big code block, actually slow it down? Thanks.

5th Aug 2017, 6:33 AM
Russell Dyson
Russell Dyson - avatar
1 Answer
0
About the speed: No (unless you have REALLY crappy HDD). The main reason is that there are some standarts (in python they are called PEPs) with say how the code shoud look.
15th Aug 2017, 11:36 PM
Michal Pácal
Michal Pácal - avatar