> That's when I decided that I didn't need to go to college. I could just teach myself, for free, through all these online resources. > I went through all the tracks, from basic HTML (again) to JavaScript and even Ruby amd Python. And I was super proud of myself for doing just that. I then started this 2-day python crash course... > It's been 10 years since I first started learning how to code. And I still struggle w…
Coding Is Hard
121–130 of 170 posts
Re: Coding Is Hard
#122Whenever I see someone like this on HN – someone whose motivation is to build a large company and make a lot of money, someone who is an "idea guy," someone for whom programming is merely a means to an end – I'm glad I'm not like this. I'm grateful that programming itself is genuinely fun to me, that I don't mind whether what I'm coding is useful or ends up generating money. I'm glad I program because I enjoy it, not…
>As frustrating as coding can be, I am still in love with it. I love to see my code work, I love it when people can use it, play with it. I love building things, solving problems. I love making progress through difficult challenges.
The "idea guy" part of the story was from the writer's past.
Re: Coding Is Hard
#123> That's when I decided that I didn't need to go to college. I could just teach myself, for free, through all these online resources. > I went through all the tracks, from basic HTML (again) to JavaScript and even Ruby amd Python. And I was super proud of myself for doing just that. I then started this 2-day python crash course... > It's been 10 years since I first started learning how to code. And I still struggle w…
I still struggle after 15 years into programming, and I never published or finished anything because of "judgement anxiety". I waste days, weeks, months writing and rewriting code and then I decide to abandon it because "other developers are going to see how shitty of a developer I am and it'll jeopardize my reputation forever".
Re: Coding Is Hard
#124Earlier quoted context omitted.
it's not even the most efficient search. I don't think any sort method in a language would use a bubble.
I agree it isn’t but the point I was trying to make is that when you have to do something from scratch, on your own, even if it’s simple, it can be a challenge. My example was poor because I am typing fast sitting in a car parking lot and I hate typing my thoughts on phones.. Forgive me..
Companies ask that kind of stuff at interviews lol
Re: Coding Is Hard
#125One 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.
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…
Next level of difficulty for newbies is arrays: understanding expressions to set and get values in an array; variables that hold indexes; non-numeric indexes; each of these is a potential huge stumbling block for newbies. And remember, these are just basic programming skills. Things get much harder from there.
The concepts of data manipulation, let alone the mechanics, are difficult for many newbies. Some never get past that point.
Re: Coding Is Hard
#126Earlier 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?
I soon figured out you didn't really need the roll and cardboard window, and could just do the while thing on normal sheets of paper.
Got to try it out for real on a borrowed TRS80 not too long after that though.
Re: Coding Is Hard
#127Earlier quoted context omitted.
The author says he struggled with concepts that are “easy” or supposed to be. In my experience of coding since 6th grade and having been in the industry for quite some time, it’s difficult to say something is supposed to be “easy” or “hard”. The author doesn’t give many concrete examples so it’s possible he is just assuming certain things should be super easy… A lot of programmers I meet love to claim they don’t stru…
I don't think writing bubble sort from scratch without mistakes is necessarily a good demonstration of someone's ability to "handle the basics" Realistically you will never need to write it yourself unless you're coding in some very specific domains It's at most a signal for whether or not they remember algorithms 101 or some leetcode exercise, but knowing that they do remember isn't really useful to me
Re: Coding Is Hard
#128In 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…
I have been giving advice to a person, young also (16 years old) and he thinks he can go very far very quickly. I told him to be patient, to insist, to commit time learning not only typical courses of how to code your website with a database. In fact I gave him advice against doing that first. I adviced him to learn binary/hex, algorithms, data structures and structured programming as a minimum. Also how a machine wo…
To be honest, I don't have an objective reason to learn much CS as that's not my layer, so I'm butting up against my own ignorance any time I try to advance in something easy. And then my ADHD determines memorizing that information is unnecessary so I struggle to get concepts to sink in.
Recently I discovered Roblox uses Lua so learning that to make silly experiences for my son sounds wonderful. It's goal oriented so I can convince myself it's worth pursuing, and I feel like Lua concepts will help expand my toolkit for the future. But I'm also not starting from a blank IDE page going "geez how do I even know what to start building first..."
Re: Coding Is Hard
#129I am going to be contrarian and be harsh on the OP but for his own good. Empty "feel good" responses that i see here are actually toxic positivity at work.
Grandiose opinions about oneself, making excuses for one's failures, being unclear about one's goals, not applying oneself seriously to actually studying something, not understanding the difference between true knowledge acquisition vs. posturing for the same, caring more about others opinions of oneself and allowing that to define oneself etc. are the original sins.
The answer has always been the age old advice "Apply yourself systematically and work hard".
Sit down, quiet yourself and ask "What are you trying to do and achieve?" Narrow it down ruthlessly to something small and specific and then do it.
Re: Coding Is Hard
#130Earlier quoted context omitted.
I object to bringing intelligence into the equation. It never explains anything that other factors couldn't. And it trains people to think they have innate limitations, which is a poor mindset for learning.
A common definition of intelligence is the capacity for problem solving. There are few fields where the capacity for problem solving is more relevant. People do have innate limitations. I agree that it's dangerous to categorize one's self too harshly, but it's also important to understand your own capabilities and limitations. Telling people they have no innate limitations sounds nice, but probably just results in th…