All too often I look at code and just think "where am I even suppose to break this line???"
-
-
Show this thread
-
This line is 95 characters. I can break at the comma and it comes down to 75. But 75 characters to do some really basic stuff. Maybe I can simplify the code, idk. Not the point. initial_chars = sorted(set([n[0].upper() for n in df['street'].dropna()]), key=locale.strxfrm)
Show this thread -
The purely-pandas version of doing this is no better, and is actually worse, as I can't specify the locale to sort characters properly.
Show this thread
End of conversation
New conversation -
-
-
But if you go past 80 characters how will you fit your code onto punch cards??
-
BAH what is the continuation column for anyway?
End of conversation
New conversation -
-
-
I've personally standardized on 100. I paid good money for all those pixels and I'm going to use them!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Hot take: The strict 80 character standard is to please people who still use their low res CRTs. Get a new monitor or let us live
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I set pylint to 119 and never looked back
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It’s one style rule I can’t get behind. Set my linters to 120 and never looked back.
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.