🐿️
10

Pro tip: my code looked completely different after 3 months of daily practice

I started learning Python back in January and my first project was this messy script to sort my music folder. It was 200 lines of spaghetti with no functions and I hardcoded file paths like a madman. Fast forward to last week in Austin, I rewrote the same thing using proper error handling and it came out to 60 clean lines. Has anyone else gone back to old projects and felt embarrassed by what they wrote?
2 comments

Log in to join the discussion

Log In
2 Comments
avery_walker30
Oh man, going back to old code is like looking at old photos from middle school. I had a script that tried to rename files using regex and I somehow made it worse instead of better. Came back 6 months later and scrapped the whole thing in 15 minutes. The progress is real but the cringe is also real.
1
noahward
noahward1mo ago
@avery_walker30 you're wrong, old code is a treasure chest of learning.
3