Live data from Hacker News

Ask HN: What was your biggest regret about learning programming?

news.ycombinator.com

11–20 of 40 posts

Re: Ask HN: What was your biggest regret about learning programming?

#11
post #7

I wish I had learned about testing earlier. The idea of testing code was never covered in any of the introductory books I read. I learned the basics of C, Fortran, and Pascal while doing a physics undergrad in the 90's, then I learned Java and Python in the 00's on my own from books and websites. None of the introductory books I read introduced the concept of testing. It wasn't until I started reading programming blo…

I'm interested in your Python book. What is the title?

Re: Ask HN: What was your biggest regret about learning programming?

#12
Getting excited and wanting to build something with my new found knowledge. Doing this after learning a few new things really slowed down my learning. I wish I waited to learn a lot more before starting a project, it would have been more efficient, I'd know how to work smarter, and I'd have been able to make coolet projects.

Re: Ask HN: What was your biggest regret about learning programming?

#13

Getting excited and wanting to build something with my new found knowledge. Doing this after learning a few new things really slowed down my learning. I wish I waited to learn a lot more before starting a project, it would have been more efficient, I'd know how to work smarter, and I'd have been able to make coolet projects.

True. On the other hand, though, having a project means that you now have a reason to care about learning. Whatever problem you run into, you now really want to learn how to solve that in the language you're learning.

Between working smarter and working (and learning) with more motivation, working smarter may not be the clear winner...

Re: Ask HN: What was your biggest regret about learning programming?

#14
post #7

I wish I had learned about testing earlier. The idea of testing code was never covered in any of the introductory books I read. I learned the basics of C, Fortran, and Pascal while doing a physics undergrad in the 90's, then I learned Java and Python in the 00's on my own from books and websites. None of the introductory books I read introduced the concept of testing. It wasn't until I started reading programming blo…

I'm interested in your Python book. What is the title?

Python Crash Course: http://nostarchpress.com/pythoncrashcourse

Re: Ask HN: What was your biggest regret about learning programming?

#19
C is my primary language of coding. I work in networking industry. So, my suggestions could be specific to this field.

I should have learnt more of following (a) memory management, (b) process memory layout, (c) good coding practices (d) read up code from other projects. There are really brilliant programmers out there churning out awesome code and that itself is a great teacher. (e) Teaching whatever I learn. Teaching (especially writing it down on paper/webpage) brought clarity to me.

Not doing all of the above early in my career is a regret I have now.

Re: Ask HN: What was your biggest regret about learning programming?

#20
post #8

My biggest regret about learning programming is that I tend to approach things in the real world from an engineering perspective, which isn't always best for a given situation. I try to avoid it and over time I've done a better job of approaching things dynamically.

Can you please elaborate on this? For example, are you talking about social situations or business situations? Applying FIFO to social invitations?
Post reply on HN