B
12

Hit 1000 lines of Python without a single bug and it melted my brain a little

I'm working through this free course and spent 3 hours writing a script to sort through my music files. When I ran it, it actually worked perfectly on the first try without any errors. Has anyone else had that moment where your code just works and you feel like you're finally getting it?
3 comments

Log in to join the discussion

Log In
3 Comments
miles_young59
Is it really that deep though?
8
jennifer204
It is that deep. People just don't like hearing it.
0
tylerj22
tylerj2226d ago
@jennifer204 said it's that deep but honestly I think you're overthinking it a little... writing clean code on the first try is awesome but it just means you planned it out well in your head. @miles_young59 has the right idea not getting too wrapped up in the philosophy of it. I've had that happen a few times with small scripts where I draw out the logic on paper first and the flow just clicks into place.
4