3
Vent: I wrote the same 20 lines of code for a month before my friend pointed it out.
I was building a simple weather app in Python and kept copying my 'get_data' function into every new script. My friend saw my screen last week and just said, 'Dude, that's what modules are for.' Felt like an idiot. What's the most basic coding concept you missed for way too long?
3 comments
Log in to join the discussion
Log In3 Comments
blake_lewis2mo ago
That reminds me of a guy at the gym who did bicep curls every single day for a year. Never worked his back or legs. Just walked in and curled. Finally asked him about it and he said he just really liked that one exercise. Some things you don't see until someone points them out.
2
jamiegreen2mo ago
My buddy spent a year manually updating config files before he learned about environment variables. Just never clicked for him.
2
emmajackson7d ago
Spent three months hardcoding API keys into every script before a coworker casually mentioned .env files. Felt like someone told me the sky was blue, @blake_lewis that gym guy story hits too close to home, just staring at the same problem from the wrong angle. Sometimes you're so deep in the weeds you forget the basics exist.
1