r/learnprogramming • u/Celiuu • Jan 01 '21
You're not too stupid for programming
Hi,
For a year of computer science class I've always felt I was ''too stupid'' for programming. I've been looking up posts with people facing the same problems. A year of computer science, I've seen people progress ten, sometimes a hundred times faster than me. It would take me hours to figure out one function. I kid you not, I spend over a week working 8 hours a day trying to build a simple function where my POST function would stay on the same page using Ajax. I just assumed that I could copy code and it would all magically work in mine.
The problem is not your brain. The problem is the way your brain is used to solving problems. Solving problems in programming is not the same as solving problems anywhere else. You can't just follow a cooking tutorial and cook the same. Your program is always somewhat different, and therefore has to be implemented different.
So what did I do to get over ''being to stupid to code''.
Clean your desk and work space.
Set a timer for the amount you'll program without distraction.
Work as simplistic as possible. Don't look up ''how to make an online registration form''. Instead start by learning about how you can register a single character into your database. Be as simplistic as possible. Baby steps.
Spend 80% of the time reading and understanding your problem and solution. Don't write a letter of code until you fully understand it.
Now spend time testing your code in a raw file.
Now that you fully understand the code, that's where you implement it in your own.
Good job. You're no longer ''too stupid to code''.
.
106
u/ElectricVomit Jan 01 '21
This is going to be an unpopular opinion but; some people just shouldn't be programmers/software engineers and it's not because they're "too stupid" for it, and that's OK.
Your personality and interests may make succeeding very difficult or unpleasant. This goes for any profession.
35
u/HSNubz Jan 02 '21
Agreed. I really don't like the mentality of anyone can do anything. It's just not reality, and that's fine! I am very, very skilled in certain areas, and others I am atrocious. My brain just doesn't work in certain ways. I think it's more important to recognize your strengths, recognize your weaknesses, and surround yourself with people whose strengths are your weaknesses.
26
u/Billythecrazedgoat Jan 01 '21
exactly sometimes you teach a bird how to swim, just dive into the water and flap its wings like a fish but really it should be flying
4
u/mattimus_maximus Jan 02 '21
The thing that worries me about the original poster is they are slow to work out how to do things they haven't seen before. The number 1 skill of a software developer is learning new things quickly. Whatever you learn today is going to be outdated in 10 years time. It's very rare to not be constantly facing things you've never seen before. Being able to work things out eventually by going slowly and methodically until enough pieces fit together is going to be very career limiting.
17
u/nearly_almost Jan 02 '21
Sure. Learning also builds on prior knowledge. Sounds like OP is pretty new to coding and has to build that backlog of knowledge and experience to get to a place where it’s easy to learn new concepts, languages, algorithms, etc.
For example, I play five instruments and am learning a sixth. It’s not that hard compared to learning my first because much of what I know on other instruments translates. Some bits are different and those are the things I have to practice more.
Also, OP may decide they’d rather code as a hobby for whatever reason. That’s okay too. Sometimes learning a new thing is a reward in itself. And practicing learning new things is a really valuable skill in any field/career/job.
→ More replies (1)1
u/Celiuu Jan 02 '21
The thing that worries me about the original poster is they are slow to work out how to do things they haven't seen before. The number 1 skill of a software developer is learning new things quickly. Whatever you learn today is going to be outdated in 10 years time. It's very rare to not be constantly facing things you've never seen before. Being able to work things out eventually by going slowly and methodically until enough pieces fit together is going to be very career limiting.
Hi, you make a valid point but where my argument is a bit different is that people who generally don't know how to catch up with code quickly aren't necessarily bad at coding. They have the wrong approach. The reason for saying this is that I and others have experienced this. We started by copying without actually trying to understand what was written. New programmers like myself tend to overlook these things. We just expect things to happen easily, but it doesn't work that way. Learning how to learn can enhance your curve by a lot. Once I truly started putting effort into understand things. I went from not being able to implement CRUD, to now writing code from the top of my head. I've been coding for 16 months now, and it wasn't until about 12 months that I started learning code quickly.
→ More replies (1)12
u/zeeblefritz Jan 02 '21
As someone that is 1 semester away from a CS degree that will most likely never be a software engineer,I wholly agree
17
u/KarlJay001 Jan 02 '21
Sadly, most won't see this fact. I've been in the business for decades, worked with some really big name companies as senior programmer/analyst. There's a LOT of people that just want a high paying job. If dish washer paid as well as programming, they'd be dish washers.
The sad thing is that some will never be happy doing this kind of work.
I've seen people that do ANYTHING to get out of actually coding. One lady I worked with spent an entire day on debugging 1 simple loop and I told her the answer at the start of the day. She wouldn't listen to me, spent the whole day and got to the answer I gave her at the start... She was so proud of herself.
It was a contracting company and they were desperate to hire people.
20
u/SilkTouchm Jan 02 '21
I mean some people are bound to be too stupid to program. I've seen some really stupid people.
5
u/snowbunnie678 Jan 02 '21
"Think of how stupid the average person is, and realize that half of them are stupider than that." George Carlin
6
u/Fluffigt Jan 02 '21
This is probably true. Coding requires patience, and more importantly humility. You need to be humble enough to accept that you will make mistakes. When there is a bug somewhere, always assume that you caused it. It’s not the compilers fault, it’s not the frameworn that is broken, you made a mistake. And that’s ok.
→ More replies (1)1
u/Celiuu Jan 02 '21
Not unpopular at all. If you love coding, you're likely to succeed. It's better to be motivated at the bottom of the ladder than being demotivated at the middle of the ladder.
3
u/hentaiharemking69 Jan 02 '21
What if I really love programming in general but I am not that good at math or even coding itself, but I would go as far as dedicating at least 8 hours a day just to code and solve problems
→ More replies (2)5
u/Sulavajuusto Jan 02 '21
I think you can mechanically teach people how to code and make it more of a memorized check list or dance.
On the other hand some people learn quite early on, why stuff works like it does and what the undelying topic.
I got plenty of colleagues, who think learning the syntax is coding. Honestly though it is enough for most of work.
→ More replies (6)
20
Jan 01 '21
You skipped step 4a: design your work before you code it.
1
u/Celiuu Jan 02 '21
Yeah you're right. I mentioned this in one of my previous comments. Requirements help breaking down your code in such a way that you can understand the smallest bits of your program.
26
Jan 01 '21
What if I’m too stupid to clean my desk? :(
31
3
u/DauntlessVerbosity Jan 02 '21
I have good news. If you're able to turn on a computer, log onto Reddit, and write a simple post with proper capitalization and punctuation, you aren't too stupid to clean your desk. No more excuses. Go clean!
0
7
u/beth321 Jan 01 '21
Thank you for this
6
u/Celiuu Jan 01 '21
You're welcome :) After a year of struggling and learning nothing, I hoped to at least help one person.
4
u/johntwoods Jan 01 '21
Tell me the truth, though...
You say, "I kid you not, I spend over a week working 8 hours a day trying to build a simple function where my POST function would stay on the same page using Ajax."
And my response is: THIS
So my question is, are you certain I'm not too stupid to learn programming?
3
u/Celiuu Jan 01 '21
If you are willing to spend the time researching and improving. I am certain you are not too stupid for programming. All intelligence does is help you save time. You will figure it out at your own speed.
→ More replies (1)
3
u/keybwarrior Jan 01 '21
Thanks for this post. Long story short, im in my mid 30s, i have been working tech support for over 15 years and it depressed me so much i had to make a change to survive and regain happiness in my life so 1 years and a half ago i went back to school overnight, i always wanted to be a programmer so i took classes at the university which i am still doing. 6 months ago i landed a new job as a front-end web developer. I love it but man, your post speaks to me so much i mean as a junior dev i have so much to learn everyday, i went from knowing basically nothing to coding 8h a day in a LAMP stack with wordpress. The imposter syndrome hits me so hard someday that i just reconsider everything. Some other days its fine and i feel good but when i get more complex problem solving to do i struggle and have trust issues in my capacity to resolve problems. I picked up php quickly because of the wordpress stack but i do struggle with javascript. My team plans on moving to vue.js for some future projects and it scares me since the hard time i am having sometimes with vanilla js, a responsive nav for example can sometimes take me 2-3 days to do and i am afraid that if i dont become faster quick, i will just get fired... well that said i will try to apply your simple tricks. Any other suggestions for a junior developer ? Cheers and thank you.
1
u/Celiuu Jan 02 '21
Hi, love your comment :) I have a few things that work for me.
The aggregation of marginal gains (read Atomic habits by James Clear) Even though a 1% gain doesn't feel great. You'll see the results a year later by comparing it to yourself from last year. For example a better pajama, a better IDE and better macros are all 1% gains, but over time, it will make you a much better programmer.
I tell myself everyday ''spend 4 hours now to save 4 hours later''. Even though it may be tedious to learn your code for hours, it will really pay off long term. Copying code is nice on a deadline, but that's only good short term. If you spend a year with significant effort, the results will come back to you in the future.
A second or even third screen.
Try to write the same program in 2 or 3 languages. This is something I do to challenge myself. The reason why this works for me is because it helps me learn pick up new languages quicker.
2
u/SupahWalrus Jan 02 '21
I hard disagree with step 4. 90% of my understanding of any software I'm writing is breaking my code and seeing how it breaks. Throwing different input it at it, trying to mangle it to get an intuition of it. I could read for hours on how to do it but actually implementing it is a whole other beast.
After I wrestle with it and have an understanding of it. I can generally refactor and write it in its cleanest form and hide all the nastiness that took to get to the point. Just my 2p
1
u/Celiuu Jan 02 '21
It's not a work for everyone recipe. The reason why I say this is because one you spend 4 hours truly understanding a problem, the next time you face it you already spend those 4 hours. You won't have to spend them again. Spend time now to understand such that you save time the next time you build the same function.
269
Jan 01 '21
I feel like i am too stupid for coding. I am currently in a coding bootcamp and struggling a lot. I will try your method.
124
u/crumbhustler Jan 01 '21
Literally same. Honestly ignoring how well others are doing in the bootcamp is the only thing that helps.
→ More replies (1)62
u/tnnrk Jan 02 '21 edited Jan 02 '21
It’s the worst feeling. You should have seen how shitty my capstone game we made was compared to the other individuals when I finished my boot camp. Honestly the whole experience was a total ripoff. The instructors were just random devs who didn’t know how to teach people anything, they just knew how to code. They regularly got mad at me for “asking too many questions” even though I was doing it respectfully, and that was just the tip of the iceberg.
Some people just have certain things click faster, and some people already have backgrounds in similar fields that make getting to that aha moment way easier.
Best thing from my boot camp was that I learned what i needed to learn, if that makes sense. Wasn’t worth 13k dollars though.
9
→ More replies (1)12
u/crumbhustler Jan 02 '21
Yea it makes sense. I was fortunate to get into a bootcamp for free that has been amazing thus far. Honestly I’m easily keeping up with what he asks of us but some of my peers are as you mentioned, already have some background or it clicks easier (they all seem to have way more free time than me). I almost paid for one then met someone who went through the UT Austin program and said it took them almost a year to get employed and it wasn’t even because of their resume, just networked and found someone who liked them.
25
u/tribbans95 Jan 02 '21
I see myself as a fairly smart person (hope that doesn’t sound too pompous) and I started codecademy Data Scientist course about a month ago. I was flying through it at first and felt great, then started to get into projects where you are really integrating everything you’ve learned into a real program using functions and classes and I felt that I may be too dumb to do it as well. But thanks to posts like this I am persisting and really just work on reviewing the material repetitively and using different sources until I throughly understand before moving on. I believe it is a lot of hard work but if you really put your mind to it and look into all sorts of different explanations and examples then you can be successful
4
Jan 02 '21
I'm interested in data science, have a few questions
What do yo do in the data science course?
What programming language do you use?
Is there any math?
→ More replies (1)4
u/tribbans95 Jan 02 '21
Well the syllabus is pretty lengthy but I’ll do my best to sum it up! You’ll be using python and It starts with “Python Fundamentals” where you’ll learn about syntax, control flow, functions, loops, strings and dictionaries. It is all explained well and there are code challenges and mini projects sprinkled in there. Upon finishing the fundamentals, you’ll use everything you’ve learned to do a Python portfolio project. Next it covers Data Acquisition where you’ll learn SQL and web scraping, which is very useful for data scientists. Then it goes on to the more intricate stuff after you have learned Python language. The rest of the course covers data manipulation with Pandas, Data Wrangling and Tidying, Summarizing Quantitative Data, Hypothesis Testing, Data Visualization (Matplotlib and advanced graphing with Seaborn) then another portfolio project regarding Data Visualization. After that it mainly covers Machine Learning for 2 whole sections, longest part of the course focused on one subject it looks like. And finally a Final Portfolio Project incorporating everything you’ve learned throughout the course. I am currently on my first portfolio project and love the course so far. They have their own forum where you can ask questions and there are solutions if you get too stuck. However I suggest spending a very long time trying to problem solve before you look at any solutions! Hope this was helpful
→ More replies (1)75
u/dipsy01 Jan 01 '21
Guess what. You’re not even going to be proficient when you finish your boot camp. When I graduated with my degree in industrial automation, I didn’t know shit about electricity or programming.
It was my determination to continuously learn, after school ended, that got me to the skill level I’m at now.
→ More replies (3)54
u/lostinlasauce Jan 01 '21
I remember going through my first interview after getting out of school and I said that I knew some stuff (trying to sell myself) and was responded to with “yeah but I still have to teach you everything”. I’ll probably remember that one forever
→ More replies (1)14
u/KiwasiGames Jan 02 '21
Yup.
First interview you want to sell yourself as a quick learner, not as someone who knows everything.
7
6
u/GuiltyGoblin Jan 02 '21
No one is too stupid to code. Just give your brain a chance to learn. Even if you're only learning a little bit everyday, that little bit eventually becomes a lot.
9
u/kobejordan1 Jan 01 '21
How are bootcamps though? I've been considering it. And did you already have prior programming knowledge before attending it?
19
u/johnbell Jan 02 '21
I attended one and then returned to teach it a year later (for 2.5 years)
They work, but only if you are fully dedicated to it. The only people I've seen fail were either lazy or entitled- i.e. "I paid to be here, so tell me the answer."
I paid $11,500 to attend in 2014 (20k in total with living expenses) and I went from a 40k job to a 85k job in under one year. Worth every penny. Currently a team lead at an awesome company, fully remote and making more money than I ever thought I would.
I can answer any questions you might have.
→ More replies (6)8
u/Jona_cc Jan 02 '21
Will there still be lots of jobs for newcomers like us? This question has always been stopping me from this. It feels like everyone has been doing studying computer programming these days...
→ More replies (6)14
u/4444444vr Jan 02 '21 edited Jan 02 '21
Not anything against the camp approach (I did one in 2014) but I think this is a good option: https://www.freecodecamp.org/
Edit: I realize there is value and community in boot camps but for the budget with resources like the above and codementor.io and meetups (for those in tech areas) it feels like there is an incredible amount of resources for the interested
6
Jan 02 '21
Free code camp is a good start to see if programming is for you. If you genuinely enjoy free code camp, there is a much better chance a bootcamp is for you. In my experience you get out of a bootcamp what you put into it. It takes work and even more work on your own once you graduate.
Its definitely helpful if you apply yourself.
4
u/kobejordan1 Jan 02 '21 edited Jan 03 '21
True, I've been doing the Odin project and some exercises from freecodecamp but haven't fully committed time. I will take less hours at work and get through the Odin project finally and build projects.
3
u/jimmythejam47 Jan 02 '21
I just started one Wednesday. It's intense already. I'm fortunate to have a lot of time to devote to it. Havent coded a thing yet and probably won't until next week sometime. Lots of learning and relearning stuff I thought I knew.
Edit:. I did some freecodecamp stuff but other than that, I have no experience at all.
→ More replies (1)→ More replies (14)2
u/Soft_Television7112 Jan 02 '21
Check out launch school. I know you are in a boot camp. But they really teach you properly and have an amazing community. It's also affordable and you don't have to commit thousands up front. I took a 4 month break when work for crazy and just went back in December to pick up where I left off.
→ More replies (6)
36
u/earthceltic Jan 01 '21
I feel like most people aren't too stupid for programming. However, one of the base requirements are that people understand logic. [This] results in [that] can be ridiculously challenging for people especially as you get into larger process maps and I feel like either you have it or you don't.
16
351
u/ben_roxx Jan 01 '21
If I had an award I'd give it to this post!
[edit] :
⠀⠀⠀⠀⠀⣤⣶⣶⡶⠦⠴⠶⠶⠶⠶⡶⠶⠦⠶⠶⠶⠶⠶⠶⠶⣄⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⣿⣀⣀⣀⣀⠀⢀⣤⠄⠀⠀⣶⢤⣄⠀⠀⠀⣤⣤⣄⣿⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠿⣿⣿⣿⣿⡷⠋⠁⠀⠀⠀⠙⠢⠙⠻⣿⡿⠿⠿⠫⠋⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⢀⣤⠞⠉⠀⠀⠀⠀⣴⣶⣄⠀⠀⠀⢀⣕⠦⣀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢀⣤⠾⠋⠁⠀⠀⠀⠀⢀⣼⣿⠟⢿⣆⠀⢠⡟⠉⠉⠊⠳⢤⣀⠀⠀⠀ ⠀⣠⡾⠛⠁⠀⠀⠀⠀⠀⢀⣀⣾⣿⠃⠀⡀⠹⣧⣘⠀⠀⠀⠀⠀⠀⠉⠳⢤⡀ ⠀⣿⡀⠀⠀⢠⣶⣶⣿⣿⣿⣿⡿⠁⠀⣼⠃⠀⢹⣿⣿⣿⣶⣶⣤⠀⠀⠀⢰⣷ ⠀⢿⣇⠀⠀⠈⠻⡟⠛⠋⠉⠉⠀⠀⡼⠃⠀⢠⣿⠋⠉⠉⠛⠛⠋⠀⢀⢀⣿⡏ ⠀⠘⣿⡄⠀⠀⠀⠈⠢⡀⠀⠀⠀⡼⠁⠀⢠⣿⠇⠀⠀⡀⠀⠀⠀⠀⡜⣼⡿⠀ ⠀⠀⢻⣷⠀⠀⠀⠀⠀⢸⡄⠀⢰⠃⠀⠀⣾⡟⠀⠀⠸⡇⠀⠀⠀⢰⢧⣿⠃⠀ ⠀⠀⠘⣿⣇⠀⠀⠀⠀⣿⠇⠀⠇⠀⠀⣼⠟⠀⠀⠀⠀⣇⠀⠀⢀⡟⣾⡟⠀⠀ ⠀⠀⠀⢹⣿⡄⠀⠀⠀⣿⠀⣀⣠⠴⠚⠛⠶⣤⣀⠀⠀⢻⠀⢀⡾⣹⣿⠃⠀⠀ ⠀⠀⠀⠀⢿⣷⠀⠀⠀⠙⠊⠁⠀⢠⡆⠀⠀⠀⠉⠛⠓⠋⠀⠸⢣⣿⠏⠀⠀⠀ ⠀⠀⠀⠀⠘⣿⣷⣦⣤⣤⣄⣀⣀⣿⣤⣤⣤⣤⣤⣄⣀⣀⣀⣀⣾⡟⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⢹⣿⣿⣿⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁⠀⠀⠀
67
34
u/DT02178 Jan 01 '21 edited Jan 01 '21
As a retired developer you are spot on. I remember my first programming class and I was lost. This was the early 80s, in night school, I was too stupid for Basic language. Everyone else got it and I was an idiot. I struggled through it but was discouraged.
Then we learned assembly(remember early 80s) and I was too stupid, until one night when it clicked in my brain. I started to see a computer as a machine, no different from a transmission in a vehicle, I understand those. My career was around systems and their internals, sometimes I had a lot of fun implementing low level solution before their was a great solution.
39
u/SpicyCatcoon Jan 01 '21
This might be a weird thing, but I also found language choice could be an issue for some people. I started with Python and picked it up pretty easily, thing I would probably not manage with C#. On the other spectrum, got a pal who just can't get the Python's indentations, and he prefers languages that use brackets. Explore the possibilities, choose something you understand easily to start with.
39
u/Jmc_da_boss Jan 01 '21
Once you actually know how to program the language itself is of little consequence to you. You can pivot to any of them fairly quickly
→ More replies (4)25
u/m1stercakes Jan 01 '21
that's fair for people who already are developers. spicy makes a good point. it's hard to get over the first few plateaus. (i do agree that once you reach a certain point it's just syntax). it should also be noted that some languages are more abstracted so you can write in more every day language.
8
6
u/Greywacky Jan 01 '21
I had the same problem as your friend, and it was C# and C++ that first gave me that sensation of "getting it", though it was lua that first put me off, and I still don't enjoy reading it.
Dunno what it is, but the brackets/ braces help a ton when it comes to compehending code.I still struggle to read xhtml or xml even though in principle it should be easier to understand what with the opening and closing tags specifically identifying what they are!
4
u/ilaunchpad Jan 02 '21
First college courses were on java and once oop part came I was out of hope. Then I won pyCharm IDE for free and decided to make use of it. I don't use java anymore. Python makes things so easy if you want to learn new concepts, implement algorithms etc. Someday I would like to be good at C++.
54
u/twopi Jan 01 '21
I've taught computer science for many years. I'm not sure I've ever met anybody who wasn't smart enough to learn how to program.
I've met a lot of people who aren't willing to work hard enough. Or who are not willing to be humble enough.
Learning to code is hard. You don't do it by watching videos or reading books. You learn by doing these things, then practicing, then going back to the resources as needed, and practicing some more. If you aren't willing to commit to the amount of time and effort it takes, it doesn't really matter how smart you are.
Ironically, it is often the people who feel they are smart who struggle the most. Pride can be a big problem. If your entire sense of identity is based on how clever you are, it's really hard to admit when you really don't know how to do something. Even if you've not needed help before, a lot of people need help to learn programming and there is no shame in that.
I have encountered many many students with various kinds of disabilities, learning issues, poor prior performance, and all kinds of other 'evidence they were not smart' who became excellent programmers through hard work and willingness to ask for help.
6
u/nyamuk91 Jan 02 '21
I've studied CS/SE in a private uni where the qualifications to get into the course is very minimum. Most of the students in my batch took CS because they "don't know what they want to be" or "my mom wanted me to take the course". Of almost 150 students in my batch, only 10 of us can actually code. Most of them can't even wrap their head around the concept of variables, conditions and loops. Some don't even know how to write hello world. And while these people are not the brightest, they are not stupid either. Some even studied a lot harder than us who can code.
I was the only one who can code in my circle of friends. I had tried so many ways to get them to understand programming. Study groups, personal tutor, pair programming, suggesting them books and videos (that I used to get better at programming), heck I even create a mini interactive website with drawings and animations to teach them about basic concepts of programming but nothing works. They just can't.
→ More replies (2)
13
u/sidebarmetrics Jan 01 '21
I live by one rule: first do it, then do it right, then do it better. Start small...
7
u/jovanfoster9 Jan 01 '21
Its also important to remember not to give up. At some point, we've all been where you are now. Practice, practice, practice. Cheers and hang in there
7
u/americk0 Jan 01 '21
If programming seems too hard for you don't let yourself be dissuaded by that alone.
I like to relate it to my experience rock climbing. I've learned more about climbing from shorter people than taller ones because they have to find ways around conventional problems that tall, natural climbers never learn because they're never forced to find them.
Similarly I've had classmates who had to put in twice the effort to learn things as me and got grades letters below mine, but they can catch bugs that I often can't see, or envision solutions that no one else considers. If you're having extra trouble with programming it may mean that you have a nonconventional mind for programming, but if you enjoy programming and put in the time and effort your mind can provide mental diversity to a team which is valuable to managers who know what they're doing.
If you really don't enjoy it that's another thing, but don't let yourself be dissuaded if it just doesn't come naturally to you
6
u/0Etcetera0 Jan 01 '21
Very well said! Understanding fundamentals is critical to effective programming, because at some point you're going to hit a problem nobody else has exactly run into before. You might find solutions online for similar issues, but the code provided in those solutions might not be exactly what you need and the more you understand your development environment the better you'll be able to adapt solutions for issues that arise.
I would also like to point out that I've found a lot of courses I've taken depend on teaching through the "use what we just taught you to achieve a specific result then move on to the next lesson" approach. Remember to take your time to understand how every line of code you write is interpreted and experiment with different inputs and try to make an educated guess on the outputs you should expect before you run your script.
2
u/mollyjjj Jan 01 '21
Got me in the heart with number 3. Don’t look up “how to”. Any advice on breaking simple problems into even simpler ones?
3
u/Celiuu Jan 01 '21
Sure. It's simpler than you might think. I usually look at other peoples projects and try to see what they made and how they made it. I build requirements such as ERD's, activity diagrams and usecases. Anything that I find necessary to reach my goal. You'll find that while writing requirements, that the smallest bits become very clear. For example in a login system the user presses a button. Ask yourself what this button does and why it does what it does. If you break this down, you'll have yourself an answer.
→ More replies (1)
5
u/chazzamoo Jan 01 '21
A lot of people talking about struggling with programming boot camps and college/university learning, I graduated with a degree in computer science and when I got my first job working in full stack web development I felt like I was at the beginning again.
The best and only way to learn is to get stuck in and gain experience. I felt like I learned and achieved more in my first 6 months on the job than my whole time at university.
University/boot camps can give you a better mindset but ultimately you will face new challenges with every project and the best way to learn is to get stuck in and gain experience from your peers.
You will always get better and you will be fine!
4
u/entropy2421 Jan 02 '21
Totally get what you are saying. Learned the core in school and had been programming casually since i was a kid but when i got my first job where i was tasked with creating and maintaining software that was used daily by my business, i was floored by the fact that not a single thing i was doing was even touched on in my formal education and many of the tools i was using daily were only discussed casually in my course work. Source code management, build tools, API, AWS, and tons more, they were all things that were an essential part of what i was doing but barely even talked about in school. Luckily, i had more experience then i realized from before i went to school and school taught me the the core philosophy behind how these things worked, so those two things together allowed me to do ok. But yeah, the feeling of "being back at the beginning" that really hits a note. Honestly, it seems like every six months or so, i start over and have to learn a new set of tech and a new way of putting it all together.
5
u/Xirious Jan 02 '21
You probably are.
Don't kid yourself.
I'm a programmer and I'm too stupid for programming.
4
u/kapolani Jan 01 '21
I was a meathead. I was a jock growing up. Joined the military to shoot guns and blow shit up. Got hurt so had to pivot to something else.
I had geek/nerd like tendencies e.g. video gaming, playing DnD, etc. Was looking into getting into medicine since that was my gig in the military. Ended up taking programming I & II as electives. Enjoyed it so stuck with it.
Was all right in school. I had to work extra to learn high level math or anything like that. Graduated with a 3.4 at a middle tier school.
I work hard, though. I work hard to figure out what I don't know.
If I can do it and thrive there's no reason why anyone else can't.
4
u/ElonsDrugDealer Jan 01 '21
I wanted to post this here for anyone who may be struggling to “grasp” programming. When I started off I found it was easy to replicate tutorials and build the same apps, but quickly realized that I knew how to build them, but not why I was writing the things I was, especially when in relation to database stuff (pardon the pun).
The only way I got over that was to actually start reading API/library docs in full and, as many have already suggested here, instead of learning how to build the app you want to build, learn how to build all the smaller components yourself from scratch, and understand why/how they work. When you have a better low-level understanding of why you write certain code a certain way, you’ll be able to identify your own mistakes over time and learn the better approaches to completing the same goal you were following tutorials to do. Like anything else in life, it’s a skill (and way of thinking) you have to practice through trial and error to acquire.
A link I always like to share is https://12factor.net/. This site lays out 12 basic components of any modern application, things like understanding how configs work, process management, concurrency, CICD, and how to structure your app. Hope that helps someone.
Edit: you should also look into popular architecture patterns like MVC/TDD/EDD for more insight into typical application lifecycle
16
u/e-gorman Jan 01 '21
A lot of people are too stupid for programming. These posts aren't helpful to those people. In fact, they are terribly terribly harmful.
0
Jan 02 '21
[deleted]
5
u/e-gorman Jan 02 '21
Six months is fine, not a big loss in the grand scheme. Many people lose years of their lives because they are motivated by stupid posts like these.
1
u/LordDestrus Jan 02 '21
I relate to thos post a lot as I am career switching and feel incredibly stupid in my Java class. For all of Java 1, I have been struggling to implement and maintain a logical understanding of truly basic concepts like building a constructor in a separate class and have it be able to grt and set values in main.
My other issue is that #4 is not feasible when operating with the weekly deadlines of my online classes. If I don't spend my time carefully building in Eclipse, I won't finish on time, unfortunately.
1
u/Celiuu Jan 02 '21
Don't you feel like that if you spend your time understanding your code fully, the next few projects will be worked out 10 times faster. For example. If you build a grid using a for loop. You spend 4 hours understanding most parts of your grid, your for loop and the functions of the coordinates. The next time you build this, you'll do it mostly from the top of your head. Spend 4 hours now, to save 3 hours later is really the mentality.
→ More replies (1)
1
u/lala9605 Jan 02 '21
I feel burnout by grinding for 8 hours straight a day, i usually can only study for like 2 hours a day for programming ( the maximum i ever did was 6 hours when i follow some project tutorial), i feel like not good enough because people here say u need to devote 8 hours ++ a day for programming
1
u/Celiuu Jan 02 '21
TIS-100
Hey man, that's only normal. The brain is a muscle. Try to workout that muscle. Tell yourself to take a break in a between. Multiple if possible.
1
u/CircuitBaker Jan 02 '21
Bjarne Stroustrup literally said to me "You're too stupid for programming."
I've been working for autodesk 7 years now.
1
1
Jan 02 '21
What does
testing your code in a raw file.
mean exactly, concerning PHP?
1
u/Celiuu Jan 02 '21
Usually your code contains more than 100 lines. In order to test a function, I just refer to the files I need and build the specific function there. Let's say I want to add a function to a grid, I would make a new file and test the functions in that ''raw'' file until I implemented it in my own.
1
u/WrongAcanthocephala9 Jan 07 '21
I just spent a month going through SQL courses on LinkedIn Learning, CodeAcademy, and DataCamp...and it’s finally starting to make sense to me.
Pick a program and keep diligently plugging away...
1
3
u/sephiap Jan 01 '21
Looking at this as being too stupid for programming / recipes etc. is looking at it wrong. It's more like thinking that knowing a language means you can write poetry in said language. It doesn't work that way. The language (whether spoken or programming) is a framework to express an intent, the artistry(?) comes in being able to compose what you want to convey effectively.
For those that think they "don't get" programming -- it's more than you don't understand the problem you are trying to solve sufficiently. If you can break it down into smaller chunks, filling in what you know how to do and knowing how to find what you'd know, that's when it starts to come together. Break the problem down on paper / a whiteboard, what does each component need to do, what does each sub-component need to do, is there something the language and/or library provides that can give me some of this functionality? Then worry about the programming part.
2
u/entropy2421 Jan 02 '21
You know there has been more than one time you wrote some code and thought it was poetic. It is not the goal necessarily, but when it pops up, it still makes you smile. Am i right?
3
u/Mr_82 Jan 02 '21 edited Jan 02 '21
I agree with the general point, though I will also say that I think solving problems in programming actually is very similar to solving other problems; I actually think cooking can provide a great analogy to understand how programming is meant to be done. (In that you follow certain procedures, as ingredients at certain times, etc; I can see how you may be generalizing on the idea of just copying what another person has done, and yeah obviously that can frustrate your attempts to program and really understand what's going on when you're programming, which brings me to my next point...)
I really believe programming generally isn't taught the right way. Actually I'm not sure I've even seen programming resources teach the stuff in a good, top-down, logical manner, without referring to definitions or other concepts that such resources haven't even defined yet. I really, really wish programming was taught more like the rigorous/hard sciences, and would be very grateful to hear about such resources, should they exist. (Hard sciences being math, physics, etc. Chemistry and biology also run into some problems here, but programming and CS are particularly bad about this. I'd really, really like to see a solid programming/CS textbook that deals with programming the way a graduate level math course introducing a well-known theory-say, topology, but whatever topic really, mathematicians tend to do it right-deals with math).
For me, the main discouraging factor in programming and CS comes from how, when you start learning some topic-say, programming in JavaScript-you'll be inundated with references to information/concepts that aren't centrally about programming in JavaScript, but are underlying concepts that are important to understand if you really want to understand what's going on with your computer and how it and your programs in JavaScript work, and yet these concepts are very commonly glossed over, or not even addressed at all. Basically, whatever level you're currently learning about regarding CS/programming, there's a mountain of prerequisites (edit: and the computer you're using to write and learn programming/CS is essentially a physical manifestation of these!) which you rely on, but won't really hear be discussed or explained in any depth, but you're somehow supposed to be ok with that anyway. That's not how any other science works at all.
It's natural to feel discouraged about these things, and honestly if you're not, you probably aren't approaching CS/programming as you should be in the first place. I really wish this stuff was taught better (I will actually find some really helpful comments from Redditors occasionally, which make me think "why the fuck did none of the resources I've used say this at any point?" though. Like with a question about getters/setters on r/learnJavaScript recently. Maybe some people guard the truth for job security reasons, or else to just haze those getting into these topics for whatever reason though. I'm not sure).
3
u/Ikuyas Jan 02 '21
They are some people with decent college degree and too stupid to code. I had a recent graduate who asked me how to install python on her 2019 mac and she told me she hadn't been able to after spending hours in watching the video. Some people are not just able to follow the video instruction or even know how to find the correct Youtube video.
I also find people who cannot type fast enough are not able to learn coding. You have to be able to touch typing to even learn/practice coding.
But other than that, a lot of people can definitely do this. I am just tired of hearing people saying the everyone can code when in reality some people are just stupid in an interesting way to programming.
3
u/fishsticks00 Jan 02 '21
I think you are talking more about programming than computer science. Sure you can learn to write a simple hello world program from a tutorial you followed on YouTube, but learning the problem solving (maths) part may NEVER happen for some.
People have their limits and they should Recognize when it call it a day. I won’t say they are too stupid, but it just isn’t for them. You have a limited time in this world to get good and master something, don’t waste your time on something you suck at.
3
u/Night_Thastus Jan 02 '21
I agree with the sentiment - anyone can do it if they put some time to it.
However, there is one point I disagree with:
Spend 80% of the time reading and understanding your problem and solution. Don't write a letter of code until you fully understand it.
This may work for you, but for some people this is a really bad idea and can lead to burnout. I know for myself if I spend too long I'll just end up staring into the void and not really doing much. Or get overwhelmed by the size of the problem and just how many things need to be handled.
For some people, just trying stuff and seeing what happens can help a lot. It's more "hands on" and results in some amount of progress even if small. You can go back and revise, improve and fix stuff as you go. Once you have some amount of working code the rest comes a lot easier. Get one tiny part of the problem done right away that you know how to do, and then build off of it.
(Obviously for best practices in large software projects that's not good as a poor start to the design can lead to problems later down the line - but for a new programmer it's not a bad idea)
3
Jan 02 '21
I am too lazy though.
Every time I start learning again I end up closing my text editor and don’t open it again for like 5 months.
3
2
u/Jmortswimmer6 Jan 01 '21
Programming is like that thing that is super easy that everyone thinks is this super hard black magic.
2
u/bmathew5 Jan 01 '21
For me it's not the coding that crushes me, it's the problems I work on that may or may not be interesting. If it's interesting I'll spend days looking up techniques and new stuff to solve it. If it's not interesting, I becomes a chore and my brain shuts off
2
Jan 01 '21
Most important aspect to learning is knowing how you retain information. If it’s through video, watch video; if through coding then constantly tinker with the lesson; if it’s reading, read.
We all input information differently and just as different appliances work in the kitchen, you don’t put a corn dog into the blender. You put it into the microwave. Or do you.... :)
2
u/BeauteousMaximus Jan 02 '21
Also—TAKE BREAKS! you will get to a point where you are just too tired and frustrated to make any progress. When you sit down to work on coding set a timer for 90 minutes, and when it goes off, close your laptop/stand up from your desk, go for a walk or eat a snack, and don’t let yourself start programming again for at least 20 minutes. Everyone’s ideal work style is different but it’s really hard to self-asses when you’re first starting out, which is why I suggest 90 minutes at a time to start; if it’s too long you can shorten it, I wouldn’t suggest increasing it to more than 2 hours.
It doesn’t always happen but often it’s during these breaks that you’ll realize what you were stuck on and not only come back refreshed, but with new ideas on things to try.
2
u/Majestic_Trust Jan 02 '21
I’ve just started to learn programming and get annoyed with myself when I don’t grasp the concepts quickly, so I appreciate this post. Thank you.
2
u/viperjay Jan 02 '21
I like to add to your statement. People saying "whatever-programing-language" is "easy" and when people try to learn it. It doesn't make sense and they feel "stupid" because it's suppose to be sooooo "easy". It's a total different way of thinking because it 's not full English like sentences. You are really only limited to loops, variables, if statements, etc. and to train your brain to think this way is very hard. Practice, patience and persistence
2
u/RaindropsInMyMind Jan 02 '21
It’s better to be hard working and persistent but lacking natural ability than the other way around. You might struggle initially without a superior intelligence but you will be fine in the long term.
2
u/tacoslikeme Jan 02 '21
this known as critical thinking and you are 100% correct. Traditional education is taught using call and response and memorization of facts. Applications of those facts is often missed. Programming, like math, has a lot of little rules to remember but thats the easy part. Figuring out how to combine those parts to do something useful is that hard part.
If you are struggling, you can look into design patterns which are pre-solved common problems and go fr there.
2
u/__archaeopteryx__ Jan 02 '21
Start with the smallest possible unit, is really the best advice there is.
2
2
u/SleepyPrat Jan 02 '21
Points 3 and 4 are VERY important! A lot of people get overwhelmed by the main problem. You just have to break it down and find out how to do each of the little subproblems. Then you can bring it all together to solve the main problem.
Also, believe in yourself!!
2
u/Shirudo1 Jan 02 '21
I've found the writing the problem out and the solution i want helps a lot. I can work out what I need to do kike I am the computer kinda like a mix between pseudo code and basic maths.
2
u/cahphoenix Jan 02 '21
Hrmm. While I appreciate that you are trying to help and encourage people I do not believe you are right.
Solving a programming problem should be just like solving other problems. The issue is that most people are not taught how to solve problems efficiently and then they hit a wall that takes much effort to overcome.
2
2
u/DaSpood Jan 02 '21
When you see the code in some big products by big companies, you start to realize that there's no such thing as "too stupid for programming".
2
u/Soxcks13 Jan 02 '21
Not exactly related but Bill Gates said : “I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.”
To me this basically means everyone has something to contribute if you “use them” properly.
2
2
2
Jan 01 '21
I love this!! I was terrified to sign up for my current program in case I wasn’t smart enough, I definitely relate
1
1
u/honestlyave Jan 01 '21
I have this exact same problem. I joined a mastermind group where people have previous experience coding whereas I'm trying to understand the basics of the JavaScript language. I find myself looking up answers and doing the copy & paste method which serves me no good.
I'm dedicating my time to properly learn how to code as I was recently fired from my job. This journey isn't an easy one but it's an attainable one.
Thank you for posting this :)
1
1
1
1
1
1
u/KernAlan Jan 02 '21
As a husband and parent working full-time trying to keep up coding part-time in my online curriculum group, this really helps. I feel down sometimes because I’m moving so slowly.
1
1
u/Regex00 Jan 02 '21
My problem is trace back calls and errors. Error codes throw back so much information in the beginning and I have no idea which part of it matters, and what doesn’t. Also it doesn’t help that error messages can look equally terrifying if you’re 100% off, or you just missed a closing bracket. There’s no visualization with code in the building process, it either works or it doesn’t, and the error messages force you to troubleshoot things and go down rabbit holes that can lead you to be more confused than before.
1
1
u/zach7815 Jan 02 '21
I am teaching myself to code and the amount of times I question how the hell will I become good at this is ridiculous.
Thanks for your post op it is really helpful and inspiring.
1
1
u/Xeloth12 Jan 02 '21
I’m currently struggling with precalculus before I can even begin working further toward my computer science degree...
1
u/tribbans95 Jan 02 '21
Highly suggest paying the $240 for codecademy before trying a boot camp. You can learn it at your own pace and don’t have deadlines. Much less stress and much cheaper than failing a boot camp. Then once you have a good understanding of the material, go to a boot camp
→ More replies (2)
1
1
u/404invalid-user Jan 02 '21
Ha its been over a week and I still don't understand how to make a contact form I guess I am stupid
1
1
1
u/Either_Invite2555 Jan 02 '21
Spent $15 on a discounted bootcamp that went up in price to $200 on Udemy. Just figuring out html for now. Showed my boyfriend who's a senior software engineer and shat on how messy, extensive the instructor made the code. Still a great place to start but as my clinical practice at the hospital showed me, more things are learned on the actual job.
1
u/zabobafuf Jan 02 '21
I love this thread about programming. Just do it I don’t understand the point of talking about it.
1
Jan 02 '21
So, I have a question;
I want to get my degree in computer science.
Was never good at math.
Do I need to be a wiz? Are most programming jobs math heavy?
I get the whole 'logical thinking' answer a lot, but dont know what to make of it.
1
u/GuiltyGoblin Jan 02 '21
I love this, and I just want to add that celebrating your small successes is really important too. It'll make you feel good and more likely to return for more.
1
1
u/FridgeNOR Jan 02 '21
This is comforting to hear as i've been trying on and off for years to learn programming.
Hardest subject i've ever come across which is why i usually give up after days, weeks. I realize i need to stick with it consistently. A bite size of deliberate practice every single day.
Your post reaffirms this and something i needed to hear right now<3
1
u/Professional_Tune369 Jan 02 '21
Hi I’m already a professional and experienced software developer, I still learn coding every day because you are never done learning and will always need to improve. I recently helped a guy who started learning programming and found that he was not using his time efficient while learning programming. He already had a year of experience in university, so he was not an absolute beginner. My advice may be helpful for people who are beginners, too. Here is some advice I told him.
When I program I never think my code is correct from the beginning. I am almost always thinking it is wrong and I first need to proof for myself that it is working. I do this with a debugger. I set a breakpoint at the beginning and then go step by step through the function and check what happens. If everything is fine, I add the next function I need or make further adjustments. But checking the debugger helps me a lot to see what is going on. And it saves time finding logical problems.
I break the problem into smaller pieces and smaller functions. Smaller pieces are easier to understand. I use to call my new functions with fake data first to see if it works. Before I put it into a complicated set of functions. This is called a test script that has a test for individual functions. You can keep your tests and run them every time you add something.
Make breaks. If you see your head is just making nonsense, have a short break. I sometimes solve problems under the shower. But have real breaks. Instagram is not a break ;)
Have fun, enjoy and good luck for you future
1
u/Beautiful_Technology Jan 02 '21
Yeah, I went to a top tier university and work at a well known tech company - I have learned more about programming from Front End Masters and Pluralsight (and on the job) than I ever did in school. The key problem is that the learning curve is incredibly steep, but then it plateaus - you need to put in enough time building stuff - build a website, a toy app, etc - even if it is copying examples by hand, before you will be able to understand what it is that you are doing. You need to do it before you can understand what it is, so you will feel very stupid for some time. Just recognize that programming is very complicated, and the number of people who are really any good at it is incredibly small.
Also, interviews at smaller companies will be about building things - algos are like a bizarre measurement system for developer skill that nobody in their right mind cares about in the abstract. It's just a stand in for "problem solving ability".
1
1
Jan 02 '21
after earning my degree and talking with my professors who have way more experience than me , you will always pretend you know what you're doing until you know what you're doing. That's know programming works a little because we do so much trial and error and testing and different methods that it's very very hard to say one person is more or less proficient based on if they tackled the skill rather than how they tackled the skill and what solution they got to and if it's common and if other professionals have used it and etc..
programming is a lot of team work of people just trying to solve problems, really. So If you're ready to tackle problems, you can code.
1
u/pperson2 Jan 02 '21
Just keep practicing, soon enough you will see that you don't really need to use your brain that much when programming.
1
u/FortunOfficial Jan 02 '21
My experience: „humans are not made for logical and procedural thinking“.
After I had this enlightenment a while back, I am now much more relaxed, when I have problems to understand something in programming.
Rest assured that the developers of programming languages aren’t wired for logical thinking either. In order to let computers do their work, all the language features are simply translations of human chaotic and holistic thinking into procedures.
I had another enlightenment after learning more than one language. Coming from Java, I learned a bit of Scala. The thinking process has to be quite different there. Then I understood, that the translation of problem solving entities into programming languages has many different forms: assigning the result of an if block to a variable? Impossible in Java. So is it illogical? No, Scala proves, that it actually makes sense to do just that. So they implemented it.
1
u/occam7 Jan 02 '21
I struggle with #4. I get a rough idea in mt head about how a function or program will work and I'm off to the races.
Then the number and complexity of functions balloons and I think of new things the program needs to handle so I am writing my first and second drafts at the same time. Eventually I get bogged down and want to throw it all away and start over.
1
1
u/doles Jan 02 '21
I code professsionaly for over 8 years, almost 15 years including doing it for fun in teenage years. Today I’m the tech/team leader and I feel to be too stupid not only to code but to manage and lead others as well.
1
u/mkp666 Jan 02 '21
Part of the problem with even intro computer science courses is that they are largely populated and geared towards people who have been at least messing around with computers for a long time and typically have some coding background, even if self taught. They are also building a foundation for computer scientists who will ultimately get pretty deep with this stuff. They are often not terribly helpful for those that want to learn how to code at a reasonable level for practical reasons, or as fresh beginners.
1
1
1
u/BestRyzeEu Jan 02 '21
This is what i am feeling, it is been like 6 months i started to learn to code, made a schedule where i begin to study at teh same time everyday for couple of hours, i do exercises along with reading, the improvement is still there but very small. Others who have started with or after me are much ahead right now, but what ice learned is not to compete with them, i compete with my yesterdays self so it feels much more motivating xd. Hopefuly it will fully click for me soon
1
1
u/lazato42 Jan 02 '21
Point 4 is where I always fail lol. Thanks for this, it's given me motivation.
1
u/Peanutbutter_Warrior Jan 02 '21
See, you say that, but I cannot get my compiler to work. Stupid enough that I cannot program
1
Jan 02 '21
This is very true. Programming isn't that hard if you are a tenacious person and don't give up. But it can get very hard if you don't think outside the box, change your approach constantly especially while learning. That leads to conclusion that you don't know jack shit about programming which is why in my opinion so many people get overwhelmed when they are trying to teach themselves. Don't give up people.
1
Jan 02 '21
Spend 80% of the time reading and understanding your problem and solution. Don't write a letter of code until you fully understand it.
This is an issue I will never get over. I always feel like when I'm reading and understanding a problem is equals to stalling and being unproductive. Like, the more time spent the dumber I am.
1
u/AlanZucconi Jan 02 '21
I'm a Lecturer in Artificial Intelligence and Programming, and I think that you raised such an important issue.
One thing that it is forbidden in my classes is to say things like I'm not smart enough or I'm stupid. Those are very damaging believes, along the line of I can't do this and I'm not good enough.
People have behaviours that reinforce their belief that they cannot do something. And they are, very often, what ultimately makes them fail. So I ask my students to use different phrasing such as I do not have enough experience yet, which focuses on something they can actually act upon.
1
u/grafcetonline Jan 02 '21
I had problem with rotten memory, I was last at coding class (it was assembly though :D) then I discovered a Visual Programming method called grafcet and everything turns downupside : I became first at a big projet (factory automation) to get engineering diploma.
2 decades later, I had undergone a lot of overcomplicated methods like UML, and then slogan like Agile, and I was thinking what if... and that's what I'm working to prototype now : a tool and method to accelerate any learning materials. If one has to normally learn for 3000 hours, I intend to divide that by 10 times ;)
1
u/RoosterTooth Jan 02 '21
My biggest hurdle that has kept me from learning any actual coding is the PC distractions (I'm looking at you Steam!!!) Way to easy to just wander off and find a game to play for a bit when I "don't get it", or "get stuck" :(
1
u/khaosans Jan 02 '21
I think this is spot on and totally agree with all these steps. Cleaning your desk is rather simple yet effective. The timer is great and even today I struggle with not giving up and wasting endless hours. You will be surprised how much better a programmer you become when you are able to read coding documents to understand frameworks your are using.
but reading literacy is tough because it’s like a whole new language. Being in the industry for 6 years professionally can I finally say I’m proficient at reading code. Programmers are engineers and we get paid to fix stuff. As you enter the real industry it’s bugs they usually start you on. You’ll end up reading more than you write code. One line code changes but it might have taken all day or week.
So learning to read code and knowing the computer science lingo is key. All I do is read these days, and spend less time typing. If I’m typing too much it means I’m hacking or experimenting. Which are good for learning but is also a sign I don’t understand. I cannot stress enough programmers are language people. Logically speaking of course.
1
u/brandonstiles663 Jan 02 '21
A big problem I found with a lot of coding videos, blogs, etc was that (even if they were explaining a programming topic in-depth), they usually don't give you the metaphors that work for YOU to understand it, and usually glaze over the REASONS your search topic exists in the first place.
Programming topics are complex, so it's really key to learn to simplify them into things that you understand naturally.
But that's kinda the tough part that takes time and is fairly brain-intensive.
Common confusing topics can be stuff like the difference between "imperative vs declarative" programming, or the "JavaScript prototype chain", or "MVC Patterns", etc.
I couldn't figure that stuff out for the longest time, even after hours of reading.
But here's an ok method I use that helps:
Let's take "imperative vs declarative programming" as a sample search term.
I'll usually start with a simple Google search: "imperative vs declarative ELI5". This usually brings up a couple of Reddit posts intentionally written to simplify complex topics. Sometimes these are very helpful, sometimes not. Either way, take 10 mins to skim through a few threads, trying to find metaphors or little bits of info that kinda start to make sense for you.
If I still don't feel like I can explain the topic after Step 1, I'll search: "imperative vs declarative graph (or chart/diagram/etc)" in Google Images. A lot of times seeing something visually can help connect some dots as well.
After Step 1 & 2, you might have a few base metaphors for building up your knowledge on the topic.
Then I will:
3. Read a few Medium articles or actual Google search result pages on the topic. Not necessarily in-depth reading, again more scanning.
When you're trying to get a grasp on a topic, sometimes it can be helpful to take in a lot of information quickly but shallowly, rather than go deep all at once. Increasing your "surface area" on a topic can help you in building your mental model by providing context for your problem.
Usually by the third or fourth article you scan, you can start to see where authors are copying and pasting from each other (or just using programming cliches that you've heard over and over again).
When you start seeing these, you've NOW found the part of your topic that ACTUALLY makes said topic hard to understand.
For example, if you're trying to figure out "imperative vs declarative", you'll probably see a lot of articles saying something like: "imperative is telling a program HOW to do something, whereas declarative is just telling a program WHAT you want done."
You read that and you're probably thinking: "Well, what's the difference in THAT? Seems kinda like the same thing."
Write that down. Google that!
"Benefit of imperative versus declarative"
"Why is it better to use imperative programming over declarative?"
"Why should you tell a program how to do something versus tell it what to do?"
Now the questions you're Googling are geared more towards the "why" of your topic, which usually provide better metaphors to help you figure out the original question you started with.
In this example case, if you start Googling 'why you sometimes want to straight-up tell a computer what to do, versus letting it make its own choices', you'll see it starts to get into managing memory, code readability, and making code reusable to cut and paste into different applications.
All of a sudden, you are starting to uncover the actual problems that caused your original search topic to be "invented".
Write this down, and go back through your page of notes and start plugging these reasons into any missing knowledge you have on your paper.
Usually in 30 minutes to an hour, your understanding of a topic will be much better.
1
u/imdeadimgone Jan 02 '21
Ugh I still don’t know pretty much anything besides some basic functions in python. idk where to start. I wanna make stuff I’m proud of. Not my grade 6 scratch games.
1
Jan 02 '21
I'm just beginning to learn to code. Most of my life I've been some kind of technician. Sanding, grinding, assembly, that kind of thing. I've been starting to doubt myself because I've been struggling to learn to code.
The thing that helped me the most with actually changing how I think about coding was stepping into the CNC world. I used to think coding would be something like telling a computer (robot) to use its hands (tools) to do a thing. It was more like telling a computer: congratulations on just being born! These are called hands. You have 2 of them. You are in a space that is 500mm x 500mm, and you can go up 500mm. Take your left hand, move it over to the tool box at 100mm/s. Grab the spinny tool from position 1 which is at these coordinates. Etc etc...
Long story short, if there's any guys out there like me who come from a manufacturing background who are interested in code, maybe ponder things from this perspective. It's like you got a new guy on the floor, except instead of just being taught what grit you use on a given operation, you must first teach him that he has hands and occupies a 3 dimensional space. Obviously this anecdote is specific to the CNC world, but this understanding helped me understand SQL better.
→ More replies (1)
1
1
u/jas_star Jan 02 '21
The big game changer for my focus with programming and continues to be for most things that require intense prolonged focus is putting in earbuds or headphones. I ended up buying noise cancelling headphones and that just helped me get into the zone even more so. My mind now associates intense focus with earbuds or headphones and some sort of music playing. I know everyone is different, but that’s the way that I can be truly zoned in on problem solving and creativity.
1
1
u/pekkalacd Jan 02 '21 edited Jan 02 '21
Ive had those moments too. For me, a lot of the struggle is in my head, my ego gets in the way. It makes me want to be part of the competition, learn things at lightning speed with no struggle, and bite off more than I can chew. But that’s just not a reality for me. I’ve failed countless times because of it haha. That app idea tho — lasted like 2 weeks then burn out. I struggle to say the least. It takes dedication for me to learn something well enough to build with it. Months of CONSISTENT learning by slowing down, actually reading, taking notes, and writing sample programs to really get a technology. I often get distracted because I’d rather be doing something where I do get it. Django’s not making sense? Okay, write a program in Python to generates k prime numbers, feel better? Lol. OpenCV is way more math than anticipated? Okay, write a c++ program that gets a number and name from a user, then displays it, how about that haha? Finding the balance between biting off more than I can chew and challenging myself enough to grow has been a real struggle. Always a work in progress.
1
u/Kappow Jan 02 '21
If there's one thing programming has taught me it is this- Do not be afraid of what you don't know.
A lot of times, the biggest learning outcomes for me have been from diving into challenging materials a second, third, even fourth time. If you follow a tutorial and only understand 10% of it, I bet you can increase that understanding to 30% a second time, 75% a third time, and 100% a fourth time.
I think the biggest difficulty in being an effective programmer is making sure you have good mental models across as many facets of programming as you can handle. You may have trouble grokking a particular challenge because you simply don't know enough about a something the challenge glossed over.
Fear not! Just keep plugging away, and keep digging at challenging material. You will come out the other side and will be happy that you took the journey.
1
u/TyranaSoreWristWreck Jan 02 '21
I know I'm not! Who told you I was? Has Steve been talking to you? Fucking Steve...
1
u/MightySeam Jan 02 '21 edited Jan 02 '21
I'm sure this post is meant to be encouraging, but it seems to be a little oversimplified itself. I mean this constructively, because trying to identify "the hard parts of learning" is something I'm working on myself.
Work as simplistic as possible. Don't look up ''how to make an online registration form''. Instead start by learning about how you can register a single character into your database. Be as simplistic as possible. Baby steps.
I believe this is the hardest step here that is not easy to learn or teach. It's basically "overcoming the Dunning-Kruger effect".
It is not easy to know how to break down higher-level items without already knowing what lower levels exist and what they look like.
With skills like cooking, it is easy to imagine what a lower level step will be, so it is easy to simplify.
For anything computer related, it is significantly more complicated.
I think giving up is the biggest mistake anyone can make, and simplifying is important, but I worry that, while posts like this might be great for motivation, the oversimplification might make someone handle potential obstacles/perceived failure more poorly moving forward (because they will think, since it is so simple and they are still having trouble, it must be them).
1
u/Jannis_Black Jan 02 '21
Also: coding is something our brain is naturally bad at almost by definition (otherwise we wouldn't need a computer to do the task in the first place) and especially modern systems are incredibly complex. So don't be dissuaded if you can't get something right on the first second or 10th try sometimes it just takes time. Also if you really can't get ahead somewhere don't be afraid to walk away and do something else for a while. We have all been frustrated by problems for an incredibly long time only to realize that what was stopping us was something incredibly simple yet easy to miss if you are looking somewhere else and I've found just taking a break often helps with that.
1
Jan 04 '21
Programming is only hard in your head, you have to understand what your doing and how it all works it will hit you like a pan to your head and a lightbulb turning on. I would suggest you treat it like a puzzle the picture starts to make sense as your making it. Never give up everyone's brain works the same it all just depends what you fill it with. I suggest you deprive your self of nothing go play games for hours and run a mile, then sit down in your desk full of neon lights and fidget tools to learn dont forget some nice snacks. You dont like to read? Use a narrator. You cant focus? Open up YouTube tons of learning videos. Just imagine all the Benjamin's going into your bank account from companies that will beg you to take their money for your skills.
1
u/Elp3p Jan 04 '21 edited Jan 04 '21
Although I completely agree with OPs main statement, I feel it's important for people to also embrace their temporary "stupidity".
A lot of the struggle comes from the sense of worthlessness that comes naturally from not being able to quickly grasp programming concepts. Most people can't tolerate feeling like that for the time required for programming to click.
If you make your peace with that feeling, your disappointment will decrease, your motivation will stay steady and you will be able to muster up the energy to follow the other excellent advice mentioned in this thread in your way to programming enlightenment!
1
u/janamichelcahill Jan 04 '21
What I don't get is why the "Computer Experts" are allowed to talk in a condescending manner when they are explaining certain functions on the computer. In other industries, this behavior would be considered Rude.
1
u/alfat_prog Jan 14 '21
Really Thanks, but Which way you choose ... systems programming or desktop applications or game mobile developpment and What did you focus on programmation language .. and please What is the best way to learn code implementation ??!
Thank's cordially
1
Jan 15 '21 edited Jan 15 '21
I think one of the hardest things in programming is following the trail of breadcrumbs when you're researching a problem. You often refer to so many things to get to a better understanding - browsing the existing code base, documentation, google, offline discussions with other developers, etc... its so easy getting lost in the rabbit hole that you end up getting confused or frustrated, at least for me. I used to feel like I was dumb for doing this, but recently I feel like this might just be an attention or memory issue, because I know deep down I can figure things out, but the process just seems so much more difficult because I can't remember something or maintain composure to keep digging.
Edit: On top of that, something you run into other random errors while trying to solve a problem, and you end up going into another rabbit hole trying to resolve this issue that's getting in your way. By the time you're done, it feel like that just wasted so much of your time and it didn't even directly contribute to the main effort that you're tasked with. The process can feel so draining sometimes.
1
u/leuit Jan 23 '21
The post is old, but I figured I'd contribute some of my own opinions on programming. I started programming in Java when I was 13, and you know what made it so much easier to learn? I was making minecraft plugins for servers; I enjoyed it. Essentially, in my own experience for learning programming, or even a new programming language, if you like video games, see if there is an API or modding capability. I've found that is was more of a creative challenge than an intellectual challenge and you'll learn along the way.
1
1
u/VerySuspiciousPerson Jan 28 '21
Thank you for posting that!
Sometimes I feel like I'm Just too stupid and that I will never be able to get a job in this field..
I will add something. I personally have really a big problem with going "too far too quickly". What I mean by that : I will set goals for myself that are Way too hard, and even if I finally make smaller, easier goal - I still find a Way to overcomplicate it.
For example, last week I decided to make a Chess program - should't be too hard, right? Well yeah, except for the fact that I immediately wanted to make it in some sort of GUI that gives you ability to drag pieces, would display possible squares to go for a piece that you're currently holding, also maybe an option to play vs engine would be Nice. Oh and maybe engine vs engine would be cool! Oh wait a second, what about making tournaments where engines play each other? And don't forget that it also should load positions from FEN (a Way in to describe a Chess position in one string, frequently used in Chess)
And list goes on and on..
Also not that long ago I started learning competetive programming. Guess what, I set a goal for myself. I should be able to solve 1200+ rated problems right off the bat. Afterall I was decent in math and I love logic puzzles and stuff like that so I should be able to do that, atleast after a week, right?
Well anyway, for anyone that have struggles simmilar to mine : please start simple and easy, don't Rush things, it never ends well. Make small steps, don't overcomplicate things and even if something is not perfect - its fine! Try to make it work first, then worry about "bad code". Don't be like me.
Uhh that Turned out to be a big rant, sorry for that 😅
1
1
193
u/ballsack_man Jan 01 '21
I have trouble paying attention, especially when reading and it gets worse with programming.
On top of that it took me way too long to figure out that I wasn't actually trying to understand how the code works but was wasting time trying to memorize the syntax.