R
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?
2 comments

Log in to join the discussion

Log In
2 Comments
blake_lewis
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
jamiegreen
My buddy spent a year manually updating config files before he learned about environment variables. Just never clicked for him.
2