r/learnprogramming • u/another_refresh • May 16 '21
Why learning to code is so hard
My friend who's a software engineer made a video on why exactly learning to code feels so difficult and stressful, and I related to it so much that I had to share with y'all.
It reminded me that coding is hard, but it's just like any other skill, and it takes time and hard work to master. Just because I can't figure something out, doesn't mean that I'm dumb. It means that I just need more time to learn more and get more experience.
Dropping this here in case any of you feel intense impostor syndrome/are struggling. I can't recommend the video enough, and I wish someone had told me this stuff years ago. My own learning process for programming has been a rollercoaster, but it's an incredible skill and I'm so glad I have stuck with it over time (getting my CS degree in 3 weeks wooo!)
edit post: obligatory thanks for the awards I'm blown away by how many people relate to this and I can't wait to tell my friend! I guess there's so much hype around learning to code that we forget the simple fact that it's just a skill to learn and patience and time are 100% necessary.
286
u/nutrecht May 16 '21
I think the person in the video shows something that a lot of beginners get wrong:
"I tried installing a C++ learning via the command line, and I didnt' know the command line at all".
So basically she was learning 3 completely new things at the same time. C++ (which is not an easy language to learn), installng a C++ library (also not easy) and learning the commandline (which has a steep learning curve too).
A lot of people get stuck on this. And then get confused. Because there's 10 year olds learning programming too right? Does that mean you're dumb? No; you're just going WAY too fast.
I started programming at 10. Did I start with installing C++ libraries? Of course not. I started with making tiny modifications to existing basic programs. Am I naturally talented? Not at all; I'm a totally average person. But I always do one thing at the time. I don't try changing 10 things at the same time because then you're just going to create a mess. You don't start learning programming by creating an MMO; your first game will be something like a text-based hangman. And the next game will be only slightly more complex.
So learning programming isn't hard, it just takes a lot of time. Like most skills do.
77
May 16 '21 edited May 16 '21
I agree with your general point but programming is also pretty hard to not necessarily learn but to keep improving at. The issue with programming is to get started you pretty much have to use tools that you don't understand. And you're learning something that really smart people with a lot of experience built and developed. As a beginner, you are simply incapable of understanding the "larger picture", and so much of your experience as a programmer goes to slowly revealing parts of that larger picture one pixel at a time. Sometimes, the "pixels" you reveal begin to look like something recognizable to you, and at those times the progress you make feels meaningful, but often, it's very overwhelming trying to make something out of how little you understand
19
u/nutrecht May 16 '21
I think it's really 'hard' to discuss complex concepts as what does 'hard' really mean. The initial learning curve of programming is IMHO a lot steeper than the parts after.
But what you said that getting improvements later is harder applies to any skill. Your gains will be way faster initially than later on with pretty much any skill.
7
u/iaowp May 17 '21
Part of the problem is people just assume you know stuff magically. Like the first thing that most people do to teach you c is literally
"Ok type
# include <stdio.h>
int main()
{
printf("Hello world\n");
return 0;
}"
And then say "isn't that cool? You printed your first message to console".
Meanwhile the person is looking at the screen and it's like "Hello world. Return code (0). Status successful"
The programmer teacher is like "fuck yeah, I'm such a good teacher." and the student is thinking
"What's a hashtag include less than stds? What's int? What's main mean? What's with the ()? Why {? What's printing? I don't have a printer. What's he talking about when he says console? Isn't a console a video game? Or is he talking about those old terminal consoles? What's the return for? Am I returning memory? What the hell?"
And if the person asks these questions, the teachers answers with more confusing shit like "that's a preprocessor directive inserting the standard library for input output using the header file, the <> means default include libraries, and since we want a return type for error detection, that's why main is int and not void, and it's main because, well, every program has a main obviously, we're not java haha, programmer humor fuck java, and print means we're printing in this case to stdin the standard, you would use fprintf for files, obviously, and the return value is arbitrary but we use zero to denote by convention that there's no errors, but yeah, main is a function like any other function, so that's why you have to have a return value if it's not void, oh and the \n is an escape character like \a but for new lines, as you're aware it adds a new line."
Meanwhile student: "...I think I'm going to switch to a business degree. Easy money."
3
u/Striker_64 May 17 '21
And this is the exact issue I have had each time I have tried learning it.
People seem to teach from the unspoken idea that everyone trying to learn has a baseline knowledge of something. And that isn't always true, especially in something like this.
Programming is a language, just like English or French or Japanese. You don't start speaking the language in complete, coherent sentences and ideas. You learn words first. I've honestly considered trying to take some "kids" classes just to see if they truly start from 0 knowledge base.
6
u/iaowp May 17 '21
My first few weeks with perforce were a nightmare.
Coworker: "do you have experience with version control?"
Me: "I use GitHub, so kind of? I don't know about forks and branches though. Just regular reverts"
"We use perforce. Same idea though"
"Ok"
"So make a workspace"
"In my IDE?"
"No. Perforce"
"Oh, whoops. Ok,"
"Did you save it to the programming environment?"
"Oh... No. In My Documents"
"No, you have to save it to the unix computer. The one we ssh into"
"Oh. Lemme redo it then... Ok, done"
"Now check out the code"
"What code? The one I wrote?"
"No, the original. You made changes to code without using perforce?"
"Well, I mean, no one told me about perforce until today... I was given a clone of the repository and I worked on that."
"Sigh... This is going to probably mess with the shelved files and ruin the swarm, you'll have to reset your changelist"
"The swarm shelf? I didn't make a changelist yet, I write those after I finish my code"
"Not that changelist, the swarm changelist"
"What's a swarm?"
"For the code review, when you shelf the files and code review, you work on the swarm."
"I... Don't follow... What's a swarm? Is it a program?"
"Don't worry about it, we'll get to that after you're done. Add the files to your repo"
"I'm trying, but it's grey."
"What do you mean grey?"
"The files show up grey, like I can't click them"
"Are you in your work space?"
"Yeah. The unix drive. It's open on the right"
"And it's under workspace?"
"Huh? No, it's projects"
"Switch to workspace tab"
"Oh. Yeah, still grey"
"You switched to work space?"
"Yeah, it lists three workspaces"
"Did you click on the workspace and choose switch to workspace?"
"No, I didn't know I had to do that... I thought opening it is all I needed. Ok, I'm switched. Alright, the files are no longer grey. Add them?"
"Yes"
(Drag and drop the code folder from the repo into my workspace)
"Erm... It's not doing anything"
"What do you mean"
"I'm trying to drop the folders into my workspace, and nothing"
"No. Don't do that click on it then add"
"It's asking what I want to add to the repo"
"What?"
"I clicked the repo then add files, then it asks what I want to add"
"No, cancel that. Pick check out"
"Check out? Oh. Ok, it's done"
"Good, now click get newest revision"
"It's grey"
"Damn it, let me see .. it's because you have shelved files"
"I don't know what that is"
"When you made your changes earlier, it must have shelved them"
"Yeah....... I dunno what shelves are"
Meanwhile, me: ("I thought C programming was going to be memcpy and malloc and maybe even linked lists on a bad day. Why am I dealing with unix permissions and shelves? :(")
4
May 17 '21
Hahaha as someone who doesn't know what perforce is this is scary to read
5
u/iaowp May 17 '21
You'll probably never have to use it. My company admits that we're way behind the times. You're likely going to use git, which is far easier to use.
We use "isam" instead of sql. I think they said it was invented in 1965.
The program I maintain? A warehouse control system written in C, which was ported over from old school DEC systems. Made in 1975 I think.
Now, perforce is much newer, admittedly, but git/GitHub is most likely what you'll be using. That's far easier to use and better documented.
1
May 17 '21
Yeah it's always a pain to work with outdated stuff especially because of how scarce documentation is. My friend is maintaining legacy software at his job and it hasn't been pleasant at all for him
12
u/GravitySnooze May 16 '21
I started with making tiny modifications to existing basic programs
I just realised what could be considered my first programming. Well maybe not in a strict sense, but still. As a kid playing a lot on the Amiga 500 I modified a file in Dune II to get better units or something like that. I must have spent hours trying out which changes worked and which didn't.
4
u/candidpose May 16 '21
You know those chain emails with spreadsheet files that has this little game where you need to guess the word to 'unlock' the rest of the content? Yeah, understanding how that works and how to make one was basically my informal introduction to 'programming'. And no, not even macros just plain spreadsheet logic.
7
u/SombreLook May 16 '21
Yeah your story is similar to mine. I've been coding since I was young, probably 10-12 and it really was just about messing with shit and seeing what worked and what didn't. The only difference now is that you have an expectation to fill if you're getting paid to do it, so it's stressful in that regard.
3
May 16 '21
this resonates well with me. however, sometimes I just try to do 10 things together and pray it works out. to my surprise it has sometime. lol I got lucky. on hind sight, it was my long exposure to different languages and frameworks helped me handle new things better and in a different way.
good luck to all learning the trade. yes . it is a trade now.
1
u/nazgul_123 May 17 '21
Point is, you are very very lucky that you started early and had the support that you needed. My childhood was shit and now that I'm in college and just realized this, I have to do a lot of shit to catch up with my peers. I don't like the victim mentality that I'm stating here but the fact is a huge part of life is luck.
From my experience, people can usually learn quite well as adolescents and catch up with others in college, but it requires a decent bit of smart work. But people often have an even larger mental block which prevents them from doing things.
2
u/iaowp May 17 '21
The main problem I have at work isn't the programming. It's that unix and Linux are shit.
Me: "my program refuses to run"
Coworker: "it won't compile?"
Me: "no, like I'm trying to run the compiled program and it just says 'error: unable to run'"
Coworker: "are you in the correct environment?"
Me: "you mean like test? I did a su test"
"No, you have to do su - test"
"I did that"
"With the dash?"
"The what?"
"su - test"
"No... Last time you said to just type su test, so that's how I've been doing it"
"Last time you didn't need the environmental"
"Ok... Well, it still isn't running"
"Did you follow the steps in the guide?"
"Yup, line by line"
"Maybe it's a permission error."
"I typed chmod 777, doesn't that fix errors?"
"Yeah, so it's something else. Did you symbolic link?"
"What."
"Did you ln -s?"
"No... The guide didn't say to do anything like that"
"Well of course it's not going to run if you didn't symbolic link it"
Meanwhile if you want to run a program on windows:
compile
run
(Admittedly some shitty programs require you to mess with "path", but that's a weakness of the programs being shitty, not windows)
1
u/nutrecht May 17 '21
It's that unix and Linux are shit.
Yeah gonna disagree with you there :D I find Windows way more annoying to use as a developer; it constantly gets in your way.
2
u/iaowp May 17 '21
Aside for path issues (which Linux has, too), I have found Windows to be super easy.
Actually, for the sake of honesty - having to download VB6 runtime and dotnet has also been annoying.
1
u/nazgul_123 May 17 '21
A lot of people get stuck on this. And then get confused. Because there's 10 year olds learning programming too right? Does that mean you're dumb? No; you're just going WAY too fast.
That's not much reassurance when you have to get a programming assignment done the same day.
1
u/iaowp May 17 '21
That's why chegg exists. That and the smart kids that learned programming as 10 year olds and are only in that class because they have to play the whole "get a degree to maybe get a chance at an interview" game.
1
u/nutrecht May 17 '21
If you're implying someone who started around 10 has no use for a CS degree you could not be more wrong.
2
u/iaowp May 17 '21
See, the problem is as soon as I say that my degree was a waste of time, you're going to be like 'well you went to a shitty school' or 'you chose not to make the most use out of your time in college'.
But, let's play anyway. My two degrees were a waste of my time, and I'd have learned a lot more if I'd just gotten an entry level job straight out of highschool instead of wasting all my time on "big o" and "the master theorem" or "j switches" and whatnot.
2
u/nutrecht May 17 '21
We can disgree on stuff right? We're adults. I finished school 20 years ago and it's been a great help for me to get where I am now.
2
u/iaowp May 17 '21
We can. I was just going by patterns I've had in the past with reddit lol.
I got an interdisciplinary studies degree in math, science and engineering, but then immediately went back and said "I can do better than this" and got a computer science BS.
Then spent three years job hunting and got almost no interviews. When I finally did get my current job, they didn't even bring up my degree or ask what I learned at school. It was essentially "you didn't finish the technical test within the time limit, but I was impressed that you still decided to finish it after the fact knowing that there wouldn't be any point other than improving on your skills... And that's the kind of attitude I want to see" (it was in C, and it was the first technical test I ever did... and since I'd been coding in python for the last couple of years, my C was hazy...)
So basically it was the same willingness to learn that I had in high school (and if anything, it was stronger back then since I didn't have three years of embarrassing ghostings) that got me the job, not 10 years of college. :(
-14
u/ZukoBestGirl May 16 '21
IDK, it mirrors real life. Right now I'm learning linux CLI, docker, a bit of kubernetes, a bit of aws EKS, spring boot, and SQL. Oh and postman and feign client and who knows what else.
Is it overwhelming? Yes. Is it doable? Yes.
If you want to succeed in this domain, and really succeed. Then you need to be ready for stuff like that.
It's not too much to learn cli and C at the same time.
I also tell people to install their JDK and maven and everything else to be available in CMD (system path variables).
Also I think that it's best to learn cli for every important tool. Including maven and gradle, not just git.
16
u/nutrecht May 16 '21
Is it overwhelming? Yes. Is it doable? Yes.
This is rather contradictory. :)
I think if it works for you it's quite obvious you're not tackling too many things at the same time. Everyone is different. And you seem to be a bit further along than the typical complete beginner if you're working on deploying stuff on EKS.
13
May 16 '21
You missed the point completely because you wanted to flex, but ok
3
u/GrandaddyIsWorking May 16 '21
Another reason its hard to learn as a beginner. A lot of people with a tiny bit of experience just flexing over others
0
May 16 '21
[deleted]
0
May 16 '21
[deleted]
3
u/Beastlly May 16 '21
defeating the victim mentality is huge. i agree that some aspect of our lives is based on luck, but at the same time, we gotta try our best to move forward and learn to the best of our current ability
76
u/inwegobingo May 16 '21
Exactly. You couldn't be a commercial electrician or or pilot with a couple of hours watching YouTube videos. You need to build experience. You need to start, first but understanding how to use your tools, what the different wires are, how electricity gets into them etc....
13
u/aneasymistake May 16 '21
Not to argue a point, but this just reminded my that my parents have a very early pilot training manual from the RAF. It’s about the size of your phone and has about fifteen pages with information like, “If the ground is approaching too fast, pull back on the yoke.” - I’m paraphrasing from reading it twenty years ago, but that’s about the level of detail.
It’s pocket sized because the pilot would take it with him, so he could refer to it it mid-flight if needed. They only got two weeks of training before being sent into action at the time.
11
u/inwegobingo May 16 '21 edited May 16 '21
Indeed. Early computing was probably a bit like that. If the pressure dial is in the read, leave the room :-D
I've been programming since the 70s so I'm sometimes a bit glib. I totally respect someone doing a career change and know how hard it can be. the best advice I can give you is this:
Keep practicing
Keep learning
There are always multiple ways to achieve things. Just start trying
1
u/AFlyingGideon May 17 '21
“If the ground is approaching too fast, pull back on the yoke.”
That's a fascinating example. I was having trouble with my landings. An instructor spotted my problem and put me in a situation where I pulled the yoke to slow my descent only to see it increase. All that time in slow flight and understanding the theory of being behind the power curve, and I still treated the yoke as "pull back to go up" even when that was exactly the wrong thing to do.
Eventually my body learned to control altitude with the throttle and speed with the yoke (really, that's a simplification, but closer than the reverse when landing) and was able to put the plane where I wanted it every time.
Primary flight training is fascinating in its mix of theory, memorization (one doesn't look up the engine fire checklist right away), and muscle memory, all of which is necessary.
Amusingly, instrument training includes learning to ignore some muscle memory.
0
May 16 '21
[deleted]
20
u/inwegobingo May 16 '21
LOL hahaha - I believe that it's only harder because you're not familiar with all the nouns and verbs for instance. How hard would flying be if you didn't know what air, pressure, rain, wind, speed, weight, fuel, lift were and that you had to learn how to move, read dial and radio speaking for the first time not having spoken before.
Programming is just learning to communicate with computers. There are more variables so the language is more intricate and seems harder. I took flying lessons a few years ago and gave up because the theory was so hard to learn. If I could have flown every day then it would have been easier but I could only afford one lesson a month so it was way too hard for me.
0
May 16 '21
[deleted]
11
u/inwegobingo May 16 '21
Oh I get that. Automation is a real thing on programming too. That's why you have to keep learning. In fact we automate each other's jobs away all the time. Our job is literally automation of things.
33
u/PrimoNando May 16 '21
To me, learning to code is hard because of skipped steps and weird naming systems. Transistors, logic gates, alus, bit shifting, the whole lot make absolute and perfect sense. Learning flutter however, was a no go. It just didn't make any sense.
Then, complicated naming systems for what's essentially the same thing, creating unnecessary complexity/confusion on something that essentially boils down to variables and functions.
5
u/candidpose May 16 '21
Yeah the abstractions (learning frameworks, conventions etc.) will be hard to learn if you skip (or skim) learning the fundamentals.
8
May 16 '21
Exactly this. Programmers like to make a simple thing complicated. And somehow the measure how great you are by how much more complex your program is. Programming isn’t hard. Specially nowadays where computers are second nature.
29
May 16 '21
I really appreciate posts like this. I'm 50 years old and have quit on learning to code multiple times because the thoughts that I'm too stupid to get it have plagued me since... well, forever.
Wish I'd read "Mindset" by Carol Dweck back when I was a teenager... except it didn't exist.
OK, back to Googles Kotlin/Android class (that I only understand about half of...)
Once again... thank you for posting this.
6
u/Duckboy_Flaccidpus May 16 '21
I would recommend a book on the OOP concepts. THis helped me. Also, programming is quite literally a language, it has syntax, rules, and concepts that a computer requires to understand your instructions (new langauge) for comprehension. How long does it take for someone to become fluent in SPanish? 1 year, 2? depends on hours put in as well. Stick with it and pound the fundamentals into your head through repetition and challenge yourself once you've grasped each step along the way. You got it!
Also, as an addendum I would just like to say that I think grabbing an A+ text and learning about the machine, it's components and how it works is an excellent complement. I don't really see people offer this advice but software sits on top of hardware so at least fundamental grasp of the computer I think becomes essential and is a lot less challenging to understand in my view and really intersting.
3
2
u/lentilk1 May 16 '21
Do you have a specific book in mind when you say you recommend a book on OOP concepts?
1
u/Duckboy_Flaccidpus May 17 '21
The old sun java cert books helped me. I think they are less than $5 and are quite good at explaining programming concepts. Only drawback is they don't go deep, you'll have to use it as supplemental and then apply the knowledge to exercises or projects you are working on.
3
u/taknyos May 16 '21
Android development isn't that easy TBF. I remember having an intro Java class in college and barely understanding classes etc and getting thrown into a mobile app dev class in android. It was an absolute baptism by fire. I learned a lot in hindsight but damn it wasn't easy, don't be too hard on yourself if it takes time
36
u/oh_sht_summer May 16 '21
Wow. I needed to hear this today. I just spent 3 AWFUL HOURS trying to debug my ** simple ** program, turns out it was a simple fix. I feel like a complete fraud, but this video made me rethink... maybe i shouldn't be so hard on myself. The "activation energy" thing was spot on too. Thanks x100 for sharing
23
u/aneasymistake May 16 '21
Most fixes seem simple in situations like this because we compare them to the effort or frustration we just went through. Try to reframe it as, “I just spent three hours learning not to make this particular mistake again.” Then those three hours can feel like three hours well invested, like three hours that will help you be a better programmer for the future.
And, of course, sometimes we do make the same mistake again, but it will probably take less than three hours to solve it next time. Gradually we accumulate more experience and this is how we build up our skills and become more effective.
4
u/twhmike May 16 '21
Good sentiment. And those three hours might have been about one issue, but you probably ended up fixing smaller things in pursuit of diagnosing the main problem that you would’ve otherwise not have noticed. And reinforced your knowledge of things that are correct by challenging and being critical of those ideas.
3
u/Luigi64128 May 16 '21
This simple fix that took you a while will only take you a few minutes next time something similar happens now that you're aware of it!
2
u/candidpose May 16 '21
I just had this moment where a simple fix was all my code needed for it to function, and it all boils down to just reading the logs (and the error logs) to pinpoint where exactly I had to focus.
1
u/robby_w_g May 17 '21 edited Feb 15 '26
Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis. Tempus leo eu aenean sed diam urna tempor. Pulvinar vivamus fringilla lacus nec metus bibendum egestas. Iaculis massa nisl malesuada lacinia integer nunc posuere. Ut hendrerit semper vel class aptent taciti sociosqu. Ad litora torquent per conubia nostra inceptos himenaeos.
1
1
May 21 '21
If it makes you feel better all I had to do was hit delete two times and my program would have run right
9
u/Dekzen May 16 '21
I just got a job as a frontend developer after a year of learning react..
This is my story and it sound awesome when i tell people.
But what i did not tell them is that i started with java, spent countless days creating useless stuff. Made some stupid android apps in android studio. Left it and started with C# spend years developing amateur indie games in Unity. Left it and started with python and wrote thousand lines of python code. Left it and THEN i picked up react and landed a job .. :D
24
May 16 '21
why exactly learning to code feels so difficult and stressful
It doesn't really particularly help when the programming community (yes I mean you r/learnprogramming) is full of awful elitism.
A beginner asks "Hey can someone help me with my hello world program?"
Responses that follow:
Did you check Stack Overflow?
Bro why are you doing logic in main?
Why are you not using SOLID?
You should use string builder.
Real programmers learn Assembly first.
WHY ARE YOU NOT USING UNIT TESTS?!?
9
u/taz0x May 16 '21
there was this interesting point that a friend made that i will never forget, where one of our classmates in media arts college asked "how do i fix this encoding problem with avi files?" on facebook. and the answers were basically something like "oh you shouldn't use avi, use mp4/mov formats instead". and my friend pointed out how "no one answered the persons question of how to actually fix the problem he actually had, instead he was just given alternatives without knowing what it is he was doing wrong in the first place"
yes its important to be able to identify what type of thing is not worth your time and you should look for an alternative, but this was always interesting to me and so whenever there is a question i try to be conscious and give them a solution that meets what they originally asked about, but it doesn't always work out
2
u/bboyjkang May 16 '21
I think some people can just think at a higher level.
Like I saw this tool a couple days ago that I thought anyone would benefit from, especially beginners like me:
https://i.imgur.com/4t1Lczu.gifv
https://www.reddit.com/r/programming/comments/n99kv1/inliner_pull_blocks_of_code_into_a_single_file/
“Why not jump to definition?”
I want to see it within the context of the larger code.
“Isn’t this Visual Studio peek”
You can open multiple peeks, and go down to deeper levels.
I thought something like this would exist already, but a lot of people in the thread didn’t see the point.
1
u/pandemicmanic May 16 '21
I think the video tries to encapsulate this elitism as intellilectual gatekeeping.
0
u/conventionistG May 16 '21
Okay.. Well what are some things we ask when someone learning to write comes to us?
Did you check the style guide, thesaurus, dictionary?
why are you adding new information in the conclusion??
real writers often start with an outline.
WHERE ARE YOUR REFERENCES!?
My point its, answering those questions or understanding that feedback in any order will make you a better writter and coder. When you don't know what's up, you cant formulate a meaningful question, so you get pointed to resources, common starting points, and told what bare necessities you're missing.
Seems fairly optimized already for a p2p learning solution.
Edit: i cant spell
13
u/sakurasalad May 16 '21
I'm so glad everyone feels like this!
15
u/severeXD May 16 '21
I experience coding in a binary fashion. Either "I'm a God damn genius" or "I'm so dumb I should've been a blow job" there is no in between.
4
2
u/taz0x May 16 '21
are you the creator of this video?
anyways this was good to listen to. but i wish she delved into more of this “gatekeeping” stuff. something ive concluded for now is that people in this field has mostly lost this idea of “explaining things simply” and are sort of stuck in this habit of using really big sounding words to explain a phenomenon like “polymorphism”. i still have no idea what this word really means or is describing but i am betting i know what it is and have seen this before just not being able to place a name for it.
i wondered why people keep talking like this and then i reflected back at how i explained things related to my position a few years ago. like someone would get a terminology wrong or a description of something wrong even a tiny bit and i would have this need to correct them. and i realize i talked like that because i still didnt really understand the topics that well. so now for those same situations my answer now is “yeah basically” with maybe a bit of disclaimer but worded in a way that wont scare off the individual. and with what i have experienced the last year my whole view has changed on these things to the point of being a bit bothered when i hear people talk about “learning how to code/program” since my understanding now is that is such a tiny spec of learning the fundamentals of software development.
it was only recently ive heard of this idea of “gatekeeping” and i now wonder if i and these others in the tech field are doing these this as a form of this gatekeeping mindset. so yeah it would have been great if she dived more into that
0
May 16 '21
[deleted]
3
u/taz0x May 16 '21 edited May 16 '21
if you dont know what to look for it will feel hellish to find this “unknown thing”. regardless of how much resources are available online.
one great example of this, is i always wanted to know how to “smooth a curve” via python, so i would google those exact words and ask various places like on stackoverflow and at the time i thought this would be more related to data science. but all the answers i would get would have all of these libraries and other dependencies needed and one of the things i constantly asked is “well what if i am in an environment where i only have access to the libraries the facility provides”? and i kept looking and looking with no avail.
then one day i heard of something called Fast Fourier Transforms. i has no idea what this was and asked around, then i looked this up, and what was described was EXACTLY what i was wanting, but worded completely differently. it obviously went to show how “off” i was describing things from a standard convention (plus this FFT concept is usually applied to things like wavelengths), so me constantly looking for “smooth a curve” would have never gotten me to FFT.
and yes this could have just attributed to just me being “horrible” at looking up information (i dont have a proper academic background on any of this stuff). and my interpretation is that i have a style of learning that prevents me from doing things in a conventional manner. which i can only blame myself for honestly. like people keep telling me as an answer to some question “read the documentation”, and i find this to be now kind of lazy answer because it just automatically assumes the person seeking the knowledge will know how something will work or how something is described. whenever i read documentation i have almost no idea what its referring to. but after i get “hands on” with the material first without asking too many questions of HOW or WHY it works, i would go back to that same documentation and think “oh i get it”. and only then does that documentation become useful.
does this not align with what was said in the video? the idea of “being patient” and “keep growing”?
also, the term “gatekeeping” from oxford is defined as “the activity of controlling and usually limiting, general access to something”. if an individual that does not know how to search for something or say even were lost somewhere and didnt know how to read a map, is it fair to say this individual is “lazy” and they should “go learn how to read a map” and leave them stranding? i dont like the idea of squandering a persons potential because they couldnt do something. if anything is a deterrent is the attitude towards it.
0
May 16 '21
[deleted]
2
u/alienith May 16 '21
I feel like your main point applies when someone asks a lot of unanswerable or open ended questions. eg. What language should I use? Should I build this? Is this a good career choice?
But like the previous person said, sometimes you don't have the vocabulary. Even if you can eventually figure it out, what exactly do you gain from googling "flatten curve python" for hours before you stumble across the words "fourier transform".
Asking questions is an important part of learning. Asking questions strengthens your existing knowledge, and can make you aware of things that you didn't even know that you didn't know. If someone would be expected to ask no questions, schools would just tell you to read the textbook and come back in 6 weeks for the test.
Stop relying on a library to do the thinking for you. Figure it out yourself.
This is unreasonable for some libraries. I'm not going to re-implement OpenCV because my company won't let me install the library. Implementing everything yourself is good for learning but is terrible in practice. There is a reason that if you google "how to build a game engine" the top results say "don't do that".
I do think you make good points about not letting stuff hold you back. But asking questions should be encouraged. In fact, answering questions is the entire reason I come here. I would encourage people to ask more (good, non-open ended) questions.
1
u/taz0x May 16 '21
yes but there was a 5 year gap between when i first started looking into it and when i even first heard of FFT. if there was at least some exposure to this concept it might not have taken that long.
and to your thing about the library thing: yes it was in a big company and i did keep asking questions within the company with no real answers. i unfortunately had other more pressing responsibilities within my role i was forced to stop looking for these answers (but every now and then i kept looking passively)
i tried to look up this polymorphism concept and reading about it but going back to what i stated about documentation, i have no real context of understanding what is described (and again there is a chance i have seen what this is but i dont have a label for it).
and yes these are probably excuses. i wish i was as intelligent as yourself and others in the field but clearly i am not so i suppose until i “know any better” i am sort of stuck with this habit. right now ive decided to stop “studying” and “reading” and just do things randomly as i feel in hopes the motivation and interest will get me to learn at a greater speed than doing it the ordinary way (which only raised more questions in my head thus raising the frustration with no one to really consult)
0
May 16 '21
[deleted]
2
u/taz0x May 16 '21
then why are you making assumptions about me? im simply describing the best way i personally seem to learn so far (there may be other methods i dont know about)
0
4
May 16 '21
Honestly if I had known I'd land a CS job unrelated to my college degree I would just have dropped out. Congrats!
0
May 16 '21
[deleted]
2
May 16 '21
Electronics & Communication Engineering, I majored in Wireless Communications. I was in the Comms Field for 2 years and barely had any knowledge of hardcoding, we did some LABView (lowcode) when I was in college, a bit of Matlab and such. But it just doesn't feel right so I switched careers before Covid happened
3
u/translatorDima May 16 '21
Mistakes and struggle are not a bad thing. If you make mistakes and then correct them, then you refine your skills and make progress, you actually should be alarmed if your learning process goes too smoothly, it may mean that you're doing too easy exercises or projects, or that you don't do any at all and just hope that theory will sink in on its own. To make any progress in any skill you should challenge yourself. I just recently finished a great book one section of which is devoted to this, "The Talent Code"
3
May 16 '21 edited May 16 '21
Yes, it takes time to get the hang of it.
Today I was trying to solve an issue, the first thing that came to mind was to make the code run just once so I started searching how to do that, tried std :: call_once and Boolean flags but none of that worked, so after asking for help I was able to solve the problem with a simple ternary operator.
3
May 16 '21
It’s an ultra-marathon that never ends.
One never stops learning how to code. One just gets faster at learning new stuff to add to one’s repertoire every day.
Also, if you stop coding for a few years, you’re essentially back to zero given the pace of new languages, libraries, and frameworks.
It is a brutal and fun sport.
3
u/rickdg May 16 '21 edited Jun 25 '23
-- content removed by user in protest of reddit's policy towards its moderators, long time contributors and third-party developers --
5
2
2
u/ektatic May 16 '21
The thing with learning any programming language is that it is very practise heavy, when I began learning from a book it took me longer than I would like to admit to realise you need to actually use everything you learn to grasp its usefulness and to build muscle memory. I would spend ages studying example code from some small example and try and remake it, then use it to do something else.
Also take my comment with a drop of vinegar because I stopped learning python like 5 times..and I went back a month ago lol
2
May 16 '21
God bless you. I think, I do generally understand programing concepts pretty well, I like the problem solving aspect of it, I don't mind putting in time. My problem is with memorizing Syntax. I feel like every now and then, I have to remind myself how something is written, I google shit constantly. Does anyone have any advice for this?
2
May 16 '21
I start my CompSci program at my Uni this fall so this came right on time, thank you soooo so much!
2
May 17 '21
Coding issues are no match for sheer raw determination. If you're willing to bang your head against that wall enough times, then you'll break through eventually.
2
u/unit-01_pilot May 17 '21
I started an internship last week where I had my first look at a professional code base for a big company. Immediately, I became intimidated and experienced all sorts of anxiety! Classic impostor syndrome.
This video helped me remember the logical way to go about this: “work at it and in time I will improve.” Thank you for posting and shoutout to the creator of the video.
2
2
u/Chris_SLM May 17 '21
I treat my programming learning process just as maths. There's going to be lazy parts and brain stressing fun parts. I just keep showing up even when i feel like shit and think i cant do this. To all thats just starting their journey, u got this!
3
2
May 16 '21
I am new to programming world and this video just hit me to the core. She's spot on and I felt the exact same thing. Thank you for sharing this.
2
u/David_Owens May 16 '21
One of my CS professors once said he liked teaching it because there isn't yet a straightforward way for people to learn how to write software. He said they've pretty much gotten it down how to teach you something like calculus. It's not easy, but you can follow the curriculum and get there with enough time and hard work.
Programming isn't like that. There isn't a curriculum you can follow that can guarantee you come out with the skills you need to be able to solve problems by writing code.
Add to that the fact that even if/when you develop the base problem solving skills you have to learn many more things to do anything practical or get any kind of a job. There are whole frameworks you need to know. Source code control. IDEs. UI design. Databases. APIs. Possibly much more.
1
1
May 16 '21
ummm i clicked the link but it took me to a 10 minute video with nothing but the words "No, you're just dumb."
1
1
May 16 '21
Part of what makes it hard is that it’s like learning a new language. The computer sends and receives information in many different ways but it’s definitely different than English or other languages.
1
1
u/NightGrizzly330 May 16 '21
When I was in the very beginning of my programming journey I was full of ideas as to what I wanted to do and such but I was clueless as to where to start from. I was so clueless that I couldn't even find the right materials that I needed so I went on to watching tutorials for very beginners instead and wow did it feel like climbing a very steep hill. What I'm trying to say is that it is tough in the beginning but it is definitely worth it when you finally get to the top of the hill. Its as if you're pushing your bike up the hill and when you're there you finally take a break and go downhill with the wind blowing in your face, it's an amazing feeling. Patience, persistance, ambition, hard work and positivism are the recipe for success.
1
u/_pritam May 16 '21
Alright, just think about people who are inherently good (not necessarily successful, success is very subjective) at something. For example a great doctor has a keen interest in helping people, a great investor has a keen interest on value of things around us. Same way I feel(personal experience) a good programmer/ good engineer is very curious, she / he wants to understand the inner workings of the world around us, and that curiosity is what drives us to learn all the hundreds of coding/designing topics. So to be frank, if you wanna be a good programmer it's very important to be curious about every damn thing, you may need to invest a significant amount of time for learning all this (which is true for anything you want to be good at) by I can assure you this will never bore you, never exhaust you, it'll be like a game (without the winning or losing factor) where you just wanna keep on playing, keep on learning, and be a better programmer.
Also programming/coding consist of millions of tiny bits, and ofcourse no one can learn all, so you need to find subset which excites you most, and just keep on learning, you might see that you're learning things which are disconnected, but believe me if you're passionate about (maybe subconsciously) any of the subdomains, soon all the disconnected dots will start to converge, and what remains is what you're best at inherently.
TLDR; be curious and keep on learning which excites you most. Don't go with what's hot in the market.
1
u/hinsonfpv May 16 '21
I’ve spent 4 years roughly 10 hrs a week on it. I given up today. I can’t do basic shit
1
1
May 16 '21
My skill level sky rocketed when I stopped watching countless programming project tutorials. I picked a project, made sure it was relatively in my skill level and committed myself to finishing it. I did finish it and learned a hell of a lot by the end of it. The key is to actually finish what you start, which is the hard part. Anyone can start a project.
A lot of newcomers don't understand that there's multiple ways to do the same thing in programming. When you constantly follow project tutorials, you approach coding like everything has to be done a certain way because you essentially memorise steps without really understanding anything. You can easily overestimate your actual skill level when you have an instructor typing in all the commands for you.
Programming isn't about memorising steps, it's about problem solving. When I set out to write a video game, I don't even know what specific code I'm going to write, aside from some general details. I figure things out as I go along because no one knows all the details. It's like reading a book. You read one sentence at a time and you aren't worried about what sentences are ahead because you'll read them when you get to them and when they're relevant.
0
May 17 '21
[deleted]
1
May 17 '21 edited May 17 '21
Many people get into programming because they have an idea to make something, be it a game, a tool, anything. If you're getting into programming for the sake of learning how to program, you probably won't get very far.
That said, you gotta start small. You won't be making the applications you really want to make in the beginning. For example, I started making small games like Snake and Pong that I could finish in a week or so. (Before making games, I made boring text based apps in the console) I kept making different games, with each game increasing in difficulty.
When picking a project, you have to pick something you're interested in but something that won't take a very long time to finish, especially if you're a beginner. The project should not be too difficult that's overwhelming for you but not too easy either. Rinse and repeat this strategy for many different projects. You want the constant feedback of achievement otherwise you're just going to lose motivation. It's why I'm always against large projects for beginners.
To answer your question, I had an idea and worked on it, knowing full well I was capable of doing it because it lasted a month and was challenging enough that it wasn't completely overwhelming.
I've been programming a while (3 years) I'm constantly learning but the beginner stages are definitely the most difficult. It took me a while to get going but I started with boring console apps and then wrote GUI apps and games. Don't stress yourself out and keep at it.
In terms of how I started a project, I don't really know what else to tell you apart from just learn the fundamentals of programming. If you learn the fundamentals, you'll just instinctively know a lot of what you need to know. Learn some of the main terminology that gets thrown around in the programming world, like APIs, libraries, etc. Get familiar with the syntax of your chosen language and learn the basics before even attempting a serious project. This all sounds obvious but many people don't learn this stuff and then complain that they can't program.
1
u/mromanes May 16 '21
Hey man I just want to say thank you for sharing this video. For years I've had to fight my own doubts over my potential as a programmer. I'm in my final year of studying CS, and yes while my doubts still linger, I'll remind myself to watch this video whenever I hit a coding rut. Thank you and have a good day. :)
1
u/Darkone586 May 16 '21
It’s not easy at all, buts it’s rewarding, to me it’s like learning how to do anything that takes time. I’m learning now and It’s pretty good so far, I thought it was like some crazy math, because I was horrible at math and I’m not a fan, but so far it feels more like logic and you can see why you need to do xyz. I’m gonna continue learning so I can be ready.
1
u/sentient-machine May 16 '21
Of all the skills I’ve learned, programming well was by far one of the easiest in terms of intellectual output and even time spent practicing.
1
May 16 '21
I tried to build a project in React but quit because I felt like a failure and imposter. Now, every time I try to build something, there’s a voice in my head that puts me down. How do I go about becoming a better web dev? I know most say to build projects but when I try to build something and start looking at documentations, I feel like a big dum dum.
2
u/colorpulse6 May 16 '21
Break down the problems one by one. Follow a tutorial to see code functioning and replicate it with your own idea. It’s important to have successes no matter how small.
1
u/DirtAndGrass May 16 '21
coding is just learning how to write simplistic instructions.
2
u/istarian May 17 '21 edited May 17 '21
I would say it's a bit more than that, unless you're using some dev tool designed to hide things from you.
Still understanding what a computer is and actually does can be helpful. Also it helps tremendously to understand logic, see the system underlying a process, reduce complex things to their subunits, etc.
1
u/NuclearWinter25 May 17 '21
I definitely needed to hear that today. I was getting pretty frustrated on my c++ homework for school. I need to remember that I just have to keep at it and I'm just learning.
1
u/Anothersleeper May 17 '21
I have been wanting to jump in for years but imagine the work involved to even land a 40k job as insurmountable. Its like looking up at Everest and being drowned emotionally by the sheer brevity of it all. I wasn’t very good in school and have been far and away from academics in any function for over a decade. I don’t know.. i probably need to see therapist or something...
1
u/Ordinary-Broad May 17 '21
I’m starting a data science program and learning to code for the first time, this was incredible helpful to hear before the fall semester!
1
1
u/ThatsNotteHat May 17 '21
I have no idea what the technical jargon means. And that’s frustrating for me. Granted, this is my first week. Thanks for your encouragement, OP.
1
u/vietyka2019 May 17 '21
Your experience is slightly similar to mine. When I first learn programming, I think it's easy and well paid but after a long term, I realized that coding is not easy, very time-consuming but I have a goal to be a game dev so I don't want to give up
1
u/KwyjiboTheGringo May 17 '21
Also just like any other skill, people learn at different rates and struggle with different parts of it. Don't feel bad when someone else is better than you with the same or even less time invested. It happens, and it definitely doesn't mean you're not cut out for it.
1
u/ennadeveloper May 17 '21
Even though the code was complex, I found it was super easy to learn! I pretty soon was playing around with the code, making modifications and upgrades, adding different sounds… This is what set me off on my own programming journey, and I learned all sorts of other languages simply by the will to make these little games, or just make things move on the screen.
1
u/FainTMako May 18 '21
If coding is hard to learn, maybe you don't enjoy it? I've seen a lot of people think they want to be software engineers because they want the money but they dont enjoy coding. They make terrible developers.
Learning to code honestly, is not hard. Its not even close to as hard as learning another language.
1
u/dphizler May 16 '21
Learning to code isn't hard
What's hard is coming up with a good idea and creating something good with your code
1
u/allun11 May 16 '21
Just some feedback to your friend: Cut the effects. Have faith in the value in your words and don't feel like you need to cramp in a lot of visual and audio-effects to make it interesting and fun. It's just a distraction from what you are saying, if you are saying something valuable. If you are not, then work on your message and not your effects.
1
u/HealyUnit May 16 '21 edited May 16 '21
Really good video. I think breaking down (or at least, directly facing) the stereotype of the Genius White Male is particular important for everyone. Yes, it's obviously important for those who are not male or not white, but it's also important, as she says, for anyone that doesn't feel like they're a genius going in (spoiler: basically everyone). In particular, the "intellectual gatekeeping" is really relevant, and what's the most shame is that for the most part, once you get into programming, that gatekeeping is much less prevalent. As a white male myself, I realize the irony in suggesting it's not there (I realize it is), but I see it far more for people trying to get into the profession than those already in it. I only say this because I don't want people to be discouraged that, once you're in this profession, you'll never be welcome. On the contrary, those who gatekeep often (not always, but often) lack something in their programming ability themselves.
J: Why Gatekeeping is Stupid
I remember a particular resident of the old Yahoo! Answers - we'll call him J - who was known for being pretty much the stereotype of white, male, self-described genius who gatekept pretty much everyone. He'd viciously tear apart any code posted there, and if someone asked something along the lines of "should I get into programming?", he'd follow with some diatribe about how the vast majority of people fail at programming (according to him), and most people's code is awful, and 99% of the so-called programmers he's met are horrible and don't deserve to be allowed to program. J seemed to consider it his role in life to protect the sanctity of programming from those horrible noobs who might ruin it with their horrible code.
Here's the thing, though. When I looked at J's own site - a quick bit of googling revealed his personal web dev business - two things stood out. First, and perhaps most important, was the quality of his code. It was... not good. It was full of global variables, JavaScript that even back then (this was around 2015) was seriously outdated, and other things that would make your average devops/code review team cringe. Worse, it'd often contain comments like "if you don't know how to use the following, you don't deserve this code!" or "don't change the following; your version is NOT better!!!" or other such "my-code-is-the-best" looking stuff.
Secondly, reviews on sites like Yelp, etc. (I can't remember exactly which ones he was reviewed on) were largely negative. He'd start a project, then deliver something which was extremely sub-par, or sometimes even just ghost the customer.
Why am I mentioning this? Because when it came down to it, J's gatekeeping did not ostensibly come from any place of actual concern about the quality of developers and code in the profession; it came from a place of insecurity. This does not mean that code quality is unimportant - it very much, 100% is - but that for someone to say "Your particular code style, which works, is bad because I don't like it" is just simply not worth even giving the time of day to.
-1
-1
u/SuperGameTheory May 16 '21
If learning to code is stressful, then you probably shouldn't be a programmer. If you have a passion for something, you won't be able to keep away from it. You need to do it. Why are you even trying to do something that you don't have a passion for?
2
u/nazgul_123 May 17 '21
People do things they aren't passionate about all the time. That logic is messed up.
0
u/SuperGameTheory May 17 '21
They shouldn't. They should get out of the market and make way for the passionate people that will innovate because they have to to live. They should stop chasing jobs for money and some illusionary quest for delayed gratification that will only come when they retire and are too old to live their life doing their actual passion.
1
u/HappyFruitTree May 17 '21 edited May 17 '21
I never wanted to go to school. I have never wanted a job. Still I did. If we want to live we have to live in reality and that sometimes mean we have to do things we don't want. I wish things were different. If I would have lived the way I think things should be I would probably be dead by now, or in prison, because it's totally incompatible with how things are.
I care a lot about programming, and I have spent much free time on it, but I still question whether I really want to work with it because it also means I'm emotionally involved, and since I don't like proprietary/non-free software many of the things are against my morals. Maybe it would be better to get a half-time job with something I don't care about and then get more time over for what I really want to do...
1
u/SuperGameTheory May 17 '21
Or maybe find a creative way of getting money doing the thing you love. Maybe you code up a decent trading algorithm that siphons money off a market. Maybe teach others for money. Maybe make a YouTube channel. Maybe use your skill to help out small businesses by coding up bespoke applications in Excel VBA. The pay won't be great, but it'll pay for bills and you get fulfillment out of it. Fulfillment brings contentment and joy that no amount of fancy expensive toys or gadgets will ever bring. It is the reason you live.
I never wanted to go to school, either. I was forced to. I didn't want to do a lot of the things I was told I had to do. I hated all of it, and whenever possible I pursued the things I really wanted. It was the pursuit of what I wanted that gave me success and happiness. I didn't need any of the stuff I thought I did. All I needed was my passion and the audacity to pursue it without fear. It took me a long time to learn that.
0
u/FainTMako May 18 '21
Yeah just reminds me of all the nurses and doctors i've dealt with that dont really care. They just wanted a high paying career. A lot of them suck at their jobs and we (the consumer of the medicine they are giving) should have to only deal with people who actually care about taking care of others. Your logic is messed up.
2
u/nazgul_123 May 18 '21
What do you want them to do instead? Bartending? Money is a thing in this world.
1
u/FainTMako May 19 '21
That thought process is exactly the problem im talking about lol.
Money is a thing? So are professions and you can tell the difference between a software engineer that did it for the money, and a software engineer that did it because they enjoy it and have talent. People that do stuff just for the money tend to be hollow just like your basic statement.
Also what is wrong with bartending? Are you talking down on another profession? You really dont understand anything about work other than money. Its sad.
1
u/nazgul_123 May 19 '21
Lol, you must be really privileged if you think that everyone can just follow their passions and everything will be all right. It's probably true if you've lived with your head in the clouds. You might be aware that bartenders who make minimum wage occasionally suffer to pay the rent.
1
u/FainTMako May 20 '21
Yeah your logic is extremely flawed. I'd rather not see the software engineer field filled with stagnant money hungry losers who just want money. There are plenty of professions that you can make a living from. You don't have to be a software engineer to make a living. You act like it's the only way to have money. Also do you know any bartenders personally? I actually do. They have even told me about other bartenders who don't care about their jobs and do a poor job and then they complain about their tips.
Trust me the world doesnt need any more greedy talentless, hollow developers with zero creativity. Find a job that suits you better and the money will come. The only privilege I have is that which I have earned. I taught myself to be a software engineer. I have nearly a decade of professional work experience. What exactly do you have other than a terrible short sighted opinion?
1
u/nazgul_123 May 20 '21
The only privilege I have is that which I have earned. I taught myself
to be a software engineer. I have nearly a decade of professional work
experience.How is that relevant? You can teach yourself even if you're not interested in the field. You happened to luck out because the area which you're passionate about has a huge market right now, and is relatively easy to learn.
0
564
u/HappyFruitTree May 16 '21
Patience. How many hours have we not spent in school, almost every week for many years, to become mediocre in subjects such as Math and English*?
*assuming English is not the mother tongue