Live data from Hacker News

Ask HN: What's was the hardest part about starting to code?

news.ycombinator.com

21–30 of 42 posts

Re: Ask HN: What's was the hardest part about starting to code?

#21
post #19
post #13

Being frustrated about something that no one can help you with. Sometimes you get bugs that just are real headscratchers. This happens at the beginning of your career, at the end, and all the way through. There's some subtle thing keeping your code from working, even though you've gone through all the guides, stack overflow, and code review you can handle. Examples of issues like this are bugs in other people's code,…

Sometimes you get to enjoy it as a challenge, depending on context and urgency.

Totally agree - if you see it and enjoy it as a challenge, that really helps.

Re: Ask HN: What's was the hardest part about starting to code?

#22
Dev environments and various software conflicts, obviously. ie. You’re a noob dev and you need python 2.x.x but your mac os install has a different version and you’re too noob to understand what’s happening and the reinstall fails because xyz. Huge barrier to noobs. Programming is really quite trivial, fighting through external bugs like this is not.

Re: Ask HN: What's was the hardest part about starting to code?

#23
Well, understanding what source code means and how it works is definitely a big part of it. Because for many people, they learn via looking at other people's work, and where programming is concerned, that often feels overwhelming.

Which probably comes down to one thing really:

When you look at an existing codebase, you have no idea about the logic behind any of its design decisions. You think it's all a confusing mess or that a smarter person would 'just get it', without realising that most of the complexity comes down to:

1. Bug fixes that cropped up along the way. Usually extreme edge cases.

2. Code being refactored piece by piece, since throwing out the whole codebase and starting over is often not economically viable.

3. Backwards compatibility in general

4. Multiple people working on it, often without much of a style guide (or a non enforced one)

5. Or one or more people having no idea what they're doing, getting help from other people who have no idea what they're doing, and using code from donkeys years ago also by people who may or may not have known what they were doing that sort of fixes the issue if you hammer at it a bit.

There's often a huge jump between 'what the average tutorial teaches you' and the source for a major project/commercial product, and for some guy going from say, learning basic PHP to reading the Magento source code, it can just feel completely overwhelming.

Relatedly, the whole jump from 'intermediate' to 'expert' is probably one of the hardest parts too. As people said before, there are loads of tutorials for absolute beginners, a fair few for experts, and a lot less for people in between.

Re: Ask HN: What's was the hardest part about starting to code?

#24

I learned 20+ years ago and I feel like back then it was a lot easier to learn. You would get a VB or C++ book and immerse yourself in it. The book would be self-contained --it had all the information you needed to become decent at that topic. Once you were done, you moved to the next book. If I was learning today, I think that I would be completely overwhelmed by the amount of information that we have at our disposa…

I had the same experience. When I was learning 20+ years ago, I absorbed books. I would go cover to cover and get a vision of what was possible plus whatever details I retained. Then I could go back to the book for reference as needed when I went to do things.

The amount of information available now is overwhelming and, increasingly, not collected into paper books. As much has I love my e-reader for fiction, I don't absorb technical content on it as well.

However, I don't have a problem picking up new things now without a physical book. There are basic concepts of programming that don't have to be relearned for new languages and frameworks. I don't have to learn about loops again. I just need a quick example of the syntax in a new language.

Perhaps immersive experiences are best early on as you say.

Re: Ask HN: What's was the hardest part about starting to code?

#25
The hardest part could be slowing down, really reading, really practicing, really submitting yourself to the learning process. Anyone can be a script kiddie. Not everyone can say they know a language inside and out. Practice makes perfect. You won't learn to code in a day, week, month, year.

Re: Ask HN: What's was the hardest part about starting to code?

#27
The assumptions that documentation makes about what you already know. Sometimes these are such tacit assumptions that they don’t even give you anything to start googling about. Other times they’re assumptions that you’re already skilled in areas of computing that it can take months to years to understand properly.

Re: Ask HN: What's was the hardest part about starting to code?

#28
Getting to "hello world" is often the biggest hurdle.

Anyone here who ever taught a course to beginners where each person brought their own computer? I bet you've got stories about the hundred million ways that setting up a dev environment can go wrong. And it's even worse if that beginner doesn't even have an actual teacher guiding them.

Re: Ask HN: What's was the hardest part about starting to code?

#29

The assumptions that documentation makes about what you already know. Sometimes these are such tacit assumptions that they don’t even give you anything to start googling about. Other times they’re assumptions that you’re already skilled in areas of computing that it can take months to years to understand properly.

What would be some good examples that most books/tutorials make assumptions on? Thanks

Re: Ask HN: What's was the hardest part about starting to code?

#30

I learned 20+ years ago and I feel like back then it was a lot easier to learn. You would get a VB or C++ book and immerse yourself in it. The book would be self-contained --it had all the information you needed to become decent at that topic. Once you were done, you moved to the next book. If I was learning today, I think that I would be completely overwhelmed by the amount of information that we have at our disposa…

Is there a reason you can't just pick up a book today and immerse yourself into it to learn? What book would you recommend someone read, if they wanted to self study?

Question - do you consider yourself the type of person that functions better in short intervals e.g., 15 minute sessions or longer studying sessions?
Post reply on HN