22
Tried to learn Python at a Starbucks and a stranger rewrote my whole script in 10 lines
I was at a Starbucks in Austin last Tuesday struggling through a 50-line script for hours when some guy sat down, looked over, asked if he could try, and cut it down to 10 lines with list comprehension. Has anyone else had a random coder just come up and fix your mess like that?
2 comments
Log in to join the discussion
Log In2 Comments
alex_coleman9d ago
That's wild but honestly kind of sounds like a humblebrag more than anything.
4
nathanbennett9d ago
51 lines? That's not a humblebrag, that's a guy who didn't know list comprehensions existed and should probably thank the stranger instead of acting like it was a flex.
3