Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
For my projects I prefer order by length but at work no way I'd request nor check for that, on my projects I do whatever I want but when working with others no bugs + task done is the real deal and not alphabetically ordering imports 😒
-
*whispers quietly* “As it should be”...
As a disclaimer, if this is a guideline and everyone has to stick to it, I think it’s fine and everything will be internally consistent. Otherwise you’ll be back in 6 months and import something but it’ll already be imported you’ll just not have noticed. But if it’s someone applying a specific rule you, they’re an ass. -
@jhole89 You can accuse me of many things. But I will not tolerate being called a vim user. Take that back!
-
@shellbug yep. Mine too. It even highlights when I'm using a class that's not imported. Vim is really cool if you give it time.
Related Rants
My pull request is currently being blocked because my imports aren't alphabetically ordered...
rant
imports
python
pull request