In my experience it’s not supposed to be that hard, unless you’re working at the cutting edge or on really hard problems. But from what you’ve written it seems like you’re struggling with basic stuff. Maybe you’re still lacking fundamentals? Seems like your strategy so far has been to grind tutorials and crash courses. They will make you feel like you’re learning a lot in a short time but in the end you’ll still not…
Coding Is Hard
31–40 of 170 posts
Re: Coding Is Hard
#32There are dozens of other things you might be great at, and every minute you're spent flogging the dead horse of becoming a coding genius, you're missing out on the opportunity to practice something you're really talented at.
Re: Coding Is Hard
#33Earlier quoted context omitted.
Luxury! I didn't have the benefit of a computer when I learned to program.
one man's luxury... how did you learn to program computers without computers around?
Re: Coding Is Hard
#34If you're still bad at coding after 10 years, give up. There are dozens of other things you might be great at, and every minute you're spent flogging the dead horse of becoming a coding genius, you're missing out on the opportunity to practice something you're really talented at.
Re: Coding Is Hard
#35Re: Coding Is Hard
#36Earlier quoted context omitted.
A variable is a box where you can store a certain type of an object. For example, you can have a box with the right size and shape to store toy cars. At one point the variable (box) may contain a red toy car, and at another point it may contain a blue toy car. If you try to put a banana in there it won't fit because it has the wrong shape for that. We say that the type of the variable (the box) doesn't match the obje…
That analogy is heavily stretched with dynamically typed languages, you could say that it's a box that can hold anything, but then the value of the analogy falls apart.
The analogy works because it's not far removed from what is actually happening in memory. And while laypeople don't know what computer memory is, they have a good intuition about boxes.
Re: Coding Is Hard
#37I have a lot of respect for self learners. Don't think I would have learned to code if I didn't feel the financial and academic pressure from learning it in University. I still remember my intro course being so mind numbingly difficult coming from an arts background. Simple if else code block assignment that I could complete in 1 minute now took me a whole weekend to initially do 10 years ago.
Re: Coding Is Hard
#38One of my students in a summer school class about programming just couldn't get their head around what a variable was. These concepts are very hard to teach when you are very familiar with them and they come natural to you.
Re: Coding Is Hard
#39And when you're done, start working on your next project and you will notice you can reuse some of the knowledge you already have. Make sure every new project challenges you.