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.
Ask HN: What's was the hardest part about starting to code?
21–30 of 42 posts
Re: Ask HN: What's was the hardest part about starting to code?
#22Re: Ask HN: What's was the hardest part about starting to code?
#23Which 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?
#24I 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…
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?
#25Re: Ask HN: What's was the hardest part about starting to code?
#26The difference between good and great is being able to refactor when you hit a wall, and avoiding the wall entirely by designing things well up front.
Re: Ask HN: What's was the hardest part about starting to code?
#27Re: Ask HN: What's was the hardest part about starting to code?
#28Anyone 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?
#29The 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?
#30I 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?