Hot take: python is too verbose to have an 80-character line length standard while retaining the semantic readibility it promotes as a feature.
-
Show this thread
-
All too often I look at code and just think "where am I even suppose to break this line???"
1 reply 0 retweets 14 likesShow 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)
10 replies 1 retweet 9 likesShow this thread -
Replying to @EmilyGorcenski
Sometimes it can be a very soothing task that helps me refactor, sometimes it makes me yearn for a lisplike where everything is moving in one direction. I do a lot of assignment for readability. Culturally in 2018 python is pseudo-functional but syntactically it's imperative.
1 reply 0 retweets 3 likes -
Replying to @ftrain
I write python like a functional programmer and I can't decide if that makes me terrible or not
2 replies 0 retweets 3 likes
Actually I write it like a Rubyist who mostly wrote c#.
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.