Skip to content

Comment on Ask HN: How can I learn to code in a practical environment?

Comments

"I find myself switching between Google and a blank screen for several hours"

This is normal for anyone who codes, even the pros and experts. So do not sweat over this thing.

Now, on the question of how to code/learn, I suggest you start with a small target/end goal. For example, "Build User management system" or anything like that. Then, pick a language of your choice and start coding. While you do that, you will google 100s of things, read stackoverflow plenty of times and bang your head on the screen as well. But at the end, you will be happy when that code finally compiles and run successfully or you don't get a 500 error in the web app. Stick to that project, finish it off no matter how small it seems like. You will learn a lot in the process. I am doing exactly that right now with web programming/dev. using Python/Flask framework. Last night, I learnt the best way to generate user activation links and how to use them. Simple stuff but I learnt like 10 things doing this alone.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.