I lintered my code until all the complaints went away :D
(thanks for mentioning flake8, @michaelhoffman)
cc @o_guest @talyarkoni
-
-
I usually do too, but it can seriously kill my vibe when I'm flowin and in early stages.
-
Sometimes it's good to ignore pep8, at least at the beginning ;) see https://youtu.be/wf-BqAjZb8M
-
Totally. Itd be great to set up linter presets, bc some hints are useful for getting your code running (e.g. variable not defined, etc..)
-
Yep. I don't actually do the more extreme linting (like breaking lines) until the very end.
-
Personally, I fix that stuff right away. Usually by breaking down into multiple statements. But to each their own :)
-
Sometimes fixing this stuff right away means it becomes a habit which means I stop doing it and don't break out of flow.
-
I was specifically talking about breaking lines with the backslash [sorry for not clarifying] because no other way exists.
-
same. that and the two lines between certain things i leave to the very end.
- 3 more replies
New conversation -
-
-
But yeah, the JS ones are a bit too bonkers for me.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Me too.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.