28
I used to think you had to write a ton of code to start learning.
I mean, I'd get stuck trying to plan a whole app before even running a line. Then my buddy told me to just use the Python REPL to test single lines, like 'print(5+3)'. It clicked that you can just play with small bits. Anyone else find a simple tool that got them unstuck?
4 comments
Log in to join the discussion
Log In4 Comments
hollyscott1mo ago
Wait, you guys were planning whole apps? I'd get stuck trying to make the perfect variable name for like an hour. The first time I just typed something into the console and it actually did the thing, my mind was blown. It's like learning you can taste the cookie dough before you bake the whole batch. Total game changer.
9
anthonyrivera1mo ago
Yeah, the console is like having a diagnostic scanner for your code. You can test one small part in isolation before you even know how the whole engine is supposed to run. Stops you from building a whole system on a broken piece.
1
faithpatel1mo ago
I used to just write everything out first... but that console trick saved me a whole weekend debugging one project.
4
logan2717d agoMost Upvoted
Honestly that cookie dough analogy is perfect, it's like how I used to think I had to plan my whole weekend before Saturday morning, but now I just pick one thing and see how it goes.
6