Hacker News new | ask | show | jobs
by SatvikBeri 5028 days ago
I've had a completely different experience. The first few times I tried to write code, I learned only what I needed to know for the specific app. I hated it. It seemed like I was just learning a bunch of random syntax and beating them into shape.

Later, I actually tried the textbook first approach, and this worked much better for me. By learning the framework and being able to observe the patterns, learning new commands was much easier and I could often guess at exactly what I'd need to do. I also remembered commands for much longer than I did with the first approach.

YMMV, but some people have more theory-centric learning styles and some have more application-centric. Test and figure out what works for you.