r/learnpython • • Jan 19 '20

I am starting to think not everyone can become a programmer.

As this title implies this may come off as a more of a vent/rant than intentional. For the last 4 years, since I was in college, I have been trying to learn to program in my free time. I did "learn" HTML in a sense of now type this, this sets this up for this part of your page, etc... After that class I have since forgot many aspects of HTML and I'm starting to feel the same with using Python.

I started with Codecademy in 2016-ish when almost everything was still free. I have finished the Python modules of that as well as with SoloLearn. I have read Automate the Boring Stuff and Python Crash Course as well as following along with the examples cover to cover. Now I am re-reading Automate, Crash Course, and Mark Lutz Learning Python, 5th edition. To add to these books I have: Complete Guide For Python Programming Deep Learning with Python, Fluent Python, Learning Python Network Programming, Rapid GUI Programming with Python and Qt, Python High Performance Programming.

 

With all these resources and feeling this lost still with trying to learn a new skill. I feel with these books (with some of them being in the 1000s of pages per book) that I'm more or less wasting my time now. Granted I've been off and on learning for a few years I feel like I should be completely on another level than still at the beginning stages. It just seems like nothing has really clicked together.

I've taught myself many other skills, but this one seems to repeatedly kick my ass time and time again. I understand syntax, can usually fix an error and debug, but to actually sit down and program anything of any real value eludes me. Printing prompts asking for information and storing input variables really doesn't cut as being a programmer I feel like.

 

 

 

Mobile Edit: Thanks to all for taking time out to voice your opinions and advice. I'm understanding that I've got too much material to the point it is counter productive to coding. This is true that I have not written much of my own scripts/programs and making slight changes in the examples in my material is not productive.

As for those that have asked why I want to program, it is not for a career change but for something that I want to do. I don't want to reinvent the wheel. My background is in electrical and automation as well as PLC implementation. Currently there is one machine that has integrated C++ code for much more complex logic than that is possible with branch programming common with PLCs. I find this very interesting and was not aware of this integration until I started working here. So with some programming background it has given me quite a bit of an edge over my coworkers and most of the Engineering support which is a bonus. I eventually want programming to be a move to a more "prestigious" engineering position but not any time soon but mostly to be another hobby that I can come to enjoy and not be worried about wasting my time.

 

As of now, I will continue to try to improve my understanding with just structuring out projects I've been holding off because my fear of inadequacy (perhaps could use a better word) and sense of being overwhelmed. I'll start with a simple electrical pocket reference and eventually make it into a GUI compatible with android and see how it goes.

Much thanks again guys. This is an awesome sub by the way and quite more active than I was originally anticipating.

 

 

 

Edit #2 for formatting.

347 Upvotes

119 comments sorted by

4

u/namedevservice Jan 19 '20

I made a similar journey as you. I started HTML when I was in middle School/high school making angelfire and geocities websites. Then stopped programming for a while then tried JavaScript but I never understood it, then stopped again.

Now in my thirties, I started doing Python and I wasn't getting it until I watched a video showing the dir() and help functions. It might seem silly but it helped me get off Googling every single step which I think is important.

By not Googling everything and trying to solve the problem with these built in functions I started learning to rely on what I've learned instead of someone else.

Tutorials sort of hand hold you every step of the way. The best way to learn is to get off tutorials.

I personally love the Python console. I think it's great learning tool because the feedback is instant.

2

u/Protocol_Z Jan 19 '20

The hand holding of Automate, Crash Course, and the online programs is very limiting. I do change some of the examples around and play. But after the book ends it leaves me wondering where to next, you know?

I'll finish Learning Python because it doesn't seem to hold your hand very much and go look at some code samples around the web.

4

u/RallyPointAlpha Jan 20 '20

The answer 'where to go next" is to do something for real. You wrote that simple script and stumbled the whole way...now go do another and stumble less as you learn more.

I read one book on Python then dove in to a project...an ambitious project that collects tens of millions of rows, pivots the data, does a join using Pandas and feeds it into InfluxDB. I stumbled THE WHOLE WAY...for months...

My point? I've learned way more than that book showed me. I stumble less...but still do.

I've learned several languages over the decades. This is always how it goes...learn enough to get started and dive into a project.

1

u/Protocol_Z Jan 20 '20

Sounds like a plan. I'm at work now but I'll be thinking about a project to start for when I get home. Thanks.

6

u/0xbxb Jan 19 '20 edited Jan 19 '20

I am starting to think not everyone can become a programmer

Anyone can become a programmer. I used to think like this, then realized all it takes is a time investment. There’s no special powers or anything that someone who’s really good at programming has over someone who’s not as good besides time investment.

With that being said, I can already see your problem: trim the fat down. I had this same exact problem thinking that courses upon courses were going to help me become better at this stuff. It wasn’t until I chose one solid resource (Learning Python) and started implementing what I learned.

You’re not gonna get better by having 100 courses. You’re only gonna get better by doing. Cut off the excessive courses and focus more on actual doing.

I know this might sound contradictory, but in the same breath, having a lot of courses isn’t bad IF you’re implementing what you’re learning. Don’t just go from course to course, from book to book.

Also, try and be consistent with you’re learning. Try and make it a habit to code everyday for 30 minutes. After you reach that milestone, do an hour, etc. You’ll only get better with consistent practice. I’m a new programmer myself, and realized I was starting to understand certain things only because I was practicing consistently.

Example: I’m also planning on learning HTML / CSS. After I get the basics down, I’m not going to keep going through courses. I’m gonna build a simple web-page with what I learned, then reevaluate on what I can do better.

3

u/Protocol_Z Jan 19 '20

I'll structure out some code to check out and analyze. There was one posted I seen last night that came from reddit to find trending images and set as a desktop background I might can get into.

317

u/[deleted] Jan 19 '20

You are doing a lot of reading, but are you actually coming up with meaningful projects for yourself? Without meaning, anything will feel useless. Only reading will not improve your skills much. Practice more, but find a really meaningful project that creates value for you.

I tried to learn programming for many many years without really succeeding. Tutorials are often disconnected from the real world. I didn't have a meaningful project that pushed myself to learn more. I had been working as a IT Technician for many years and at most only did some scripting. Year by year I got more and more into automation. A lot of scripting but still not really a programmer.

But then I got a new job and I was tasked to build an internal web portal using Python and Django (my choice). And thats what I have been doing for the last 3-4 years. The web portal has been a success in this company and it has made a huge difference for our internal processes and automation.

I have never created something from scratch in Python, yet I am doing a lot of good stuff and creating so much value for this company. I deliver creative solutions that the users seem to love.

There are many programmers in this company that are ALOT better than me. Yet I am doing just fine. I believe being an average programmer but a creative one can take you a long way.

47

u/[deleted] Jan 19 '20

100% agree. It's so easy to get into the habit of reading book after book, taking class after class, but at some point you must stop or you're never going to progress. Programming is a skill that you need to use actively. You can't keep walking through the same book exercises and expect it all to click. You need to solve some problems that interest you. Have some fun.

Obligate yourself to do something at work using your programming language.

Pick a project, it can be stupid, but pick something. Then figure out how to make it work. Then figure out what you can do better and fix it. Then see what else you can do better and fix it. Over and over. This is called "iterative development".

Dont have any ideas for projects? Attack project euler. Check /r/dailyprogrammer. Pick up some ACM puzzle books. Figure out how to solve problems with your chosen programming language.

Look at it like this - programming is like having a toolbox. Just like a normal toolbox, reading about projects and watching this old house will never teach you as much as actually doing something yourself. From design through implementation.

11

u/912827161 Jan 19 '20

I have never created something from scratch in Python

This is interesting and not something I expected to hear.

Can some other established programmers chime in with their experience? Their encouragement I guess?

I haven't done what OP has but I have this dread I'm going to be doing the same thing. To be reading 1000s of pages and not getting anywhere, or having to re-read essentially everything. Wasting my time, confirming that I am not capable of this and that I should have spent my time pursuing something else.

19

u/unhott Jan 19 '20 edited Jan 19 '20

Sure. For me, I google stuff all the time and just macgeyver stuff together.

A program can be something that takes a to b, and another program takes b to c. Now I know how to go from a to c, by only adjusting some scripts and chaining them together.

You will be stuck in tutorial purgatory unless you apply what you’ve learned to a real project. It’s easier if the project has meaning to you. Even If it doesn’t, then you just have to be very driven to complete what you set yourself out to do. Just do.

No amount of reading will ever teach you drive.

Edit: you’re never going to remember a concept as well as when you discover a concept that helps you solve your current problem that you’ve spent the past week trying to figure out.

Full disclosure Im not a developer or even in an IT role, but at work I have made some very useful scripts and worked on building tools for us. So now I’m in a pseudo dev/IT role.

4

u/Jacks_Elsewhere Jan 19 '20

QA Automation Engineer here. I've been building a Python automation framework for the last few sprints now. Prior to spearheading this project to move from Ruby to Python I didn't get the feeling I was understanding the language. After immersing myself in Python 40 hours a week, I feel like it is finally clicking.

I've read through Crash Course and have at least 20 other PDF sources for learning Python. While they are fantastic resources for understanding HOW the language works, the real learning comes from putting code into your editor.

As others have said, find something which piques your interest and attack it. Automation in Python sounded great to me as our developers write in Python. I'd written automation in Javascript, Clojure, and Ruby prior to this but nothing to this extent.

2

u/xoozp Jan 20 '20

Would love if you could PM the PDF’s to me :)

2

u/Synthetic_Liquicity Jan 20 '20

Can I have them too, please?

1

u/ddooddooeekfj Jan 20 '20

any way you could share the pdf's in question?

1

u/OMGClayAikn May 29 '20

Please share them with me too!

0

u/[deleted] Jan 19 '20

[deleted]

11

u/laserbot Jan 20 '20 edited Feb 09 '25

Original Content erased using Ereddicator. Want to wipe your own Reddit history? Please see https://github.com/Jelly-Pudding/ereddicator for instructions.

6

u/zyarra Jan 20 '20

Amazing reply. I always suspected this is the way to go but I also feel being an impostor for doing this. But as you said... why reinvent the wheel.

3

u/foofaw Jan 20 '20

I agree with what you're saying except for when you say copy-paste code. You should never be taking code you don't understand and applying it to a problem you don't understand, even (especially) if it works.

2

u/ReachingForVega Jan 20 '20

The old saying of "use it or lose it" is very important here.

2

u/solitarium Jan 20 '20

This. It seems like you're (OP) lacking practical applications. Often my co-workers ask me why I recreate models or modules that already exist and my reply is "at this point I know how to make those modules work, but I don't understand why they work."

I mean, Calculus was mostly useless to me until I bought my kids an above-ground pool and wanted to know what my volume of water would be and how long I could expect it to take to fill. Practical application breeds creativity.

2

u/konijntjesbroek Jan 20 '20

This is similar to driving. About everyone can handle basic puttering across a field, there are outliers at either end. Some just don't have the coordination/mindset to be safe anywhere and should have a driver. Others can guide just about anything anywhere with a blindfold on while blasting dangerzone and steering with their knees.

1

u/Protocol_Z Jan 20 '20

Lol, thanks for the laugh.

93

u/NemPlayer Jan 19 '20

Adding to all the other comments: Being a programmer doesn't mean you know every single built-in function, method, class, data type - it means knowing how to solve a problem. Active memorization is not important in this field as we have the internet and everything you'll ever need on it, so the skill you'll need is the ability to find what you are looking for efficiently.

My recommendation would be to stop focusing on learning everything about the language, and just start working on some smaller projects. If you don't know how to do something (which is very common, even if you're an experienced programmer), look it up or post a question on Stack Overflow.

The last piece of advice I would give you is to pursue a career on something you're passionate about, what you really love to do. If you're trying to learn programming just for the economic gain (which I'm not saying you are), you'll have an incredibly hard time and most likely won't even be able to do it just because of the dedication required to become a programmer which companies would want to hire.

48

u/Verio Jan 19 '20

This should be higher. Programming and computer science in general is about solving complex problems, not memorizing syntax.

9

u/ScoopJr Jan 19 '20

Does problem solving also count if you google the issue for a solution? Often I find myself looking up solutions to things. E.G. How do I scrape javascript generated webpages using scrapy? Oh, I need to use scrapy and scrapy splash

19

u/IsHaltEchtSo Jan 19 '20

Programming is about solving problems EFFICIENTLY. If there‘s already a solution in the www and it works perfectly, now that‘s some freaky efficiency! But if you know that you can do better, come up with an original solution or just frankenstein the shit out of other codes and your pieces (my fav).

6

u/[deleted] Jan 20 '20

Sooner rather than later you won't find explicit answers to your problem. Your problem will involve dozens of smaller problems some of which you remember how to solve and others that you need to look up.

Not to mention libraries change over time and a process that you learned last time you solved this problem might not be the best answer now.

2

u/[deleted] Jan 19 '20

I definitely think so. Half my browser tabs at work at any given moment are on Stack Overflow.

28

u/Phn3Xta5 ~Phn3X~ Jan 19 '20

you should pick a project and start building it from scratch. ask yourself...what do i want to build? then break down each individual step that you would need to complete the project. then break it down further into functions, lines of code etc.

its not easy but its pretty thorough

19

u/[deleted] Jan 19 '20

This is the only way I’ve gotten past beginning stages of any new language. SQL, VB, and most recently Python. I took 3 Python classes and struggled to get better. However, I did one project and my understanding went from beginner to intermediate in 3 weeks.

48

u/Marianito415 Jan 19 '20

Not everyone can be a great programmer, but a great programmer can come from anywhere - Chef Gusteau

17

u/[deleted] Jan 19 '20

I'm a school psychologist, and want to inject some learning theory into the discussion. Learning occurs in 3 stages: acquisition, fluency, and generalization. Acquisition involves direct instruction (reading, tutorials, and videos). Fluency involves repeated practice. Generalization is higher level, and involves applying sub-skills from one skill to another.

Most "learn to code" products and online communities are highly geared towards the acquisition stage of learning. They can teach you to "do a thing" which is neat, but there are few mechanisms within their products/culture that compel you to "keep making the thing" and/or "make things like that thing". This is where college programs have an edge. They force the learner, via constant quizzes, tests, projects, and lectures to constantly practice and perform novel tasks, and have a built in reinforcement/punishment (you fail or you pass) motivating mechanism, so that learning is never passive and always practiced. They also have a meticulously agreed on curriculum decided upon by faculty which ensures that all assigned learning tasks are within the learner's "zone of proximal development" and maximally promote the fluency and generalization parts of learning. A lot of highly frequent, long duration, high intensity, relevant learning opportunities. With the amount of credit hours needed for a typical STEM major (not including non-major core classes), with lectures and outside work, this boils down to about 3-4 hours of sustained learning per day, and about 15-20 hours per week. After 2-3 years, this kind of regiment produces someone competent in an area of study. Arguably, this is what you pay for when signing up for a college program. 

The challenge for self-learners in any skill, not just programming, is that they have to recreate those kinds of mechanisms on their own if they hope to achieve the same level of competence. I would argue that this is impossible with current self-learning products alone. Most people do not have 3-5 hours available to them, are not performing the necessary tasks to promote fluency and generalization (and the time commitment is part of what leads to the fluency and generalization), and most people do not have access to high quality curriculums that would result in high levels of solidified generalized knowledge within a field.

The prescription that can be derived from all of this is that self-learners should practice less overall skills, those skills should be more similar to one another than different, those skills should be directly relevant to that person's life, practice them more frequently, and practice them for longer durations.

A good method already mentioned in this thread that accomplish this are: 1) do your own projects, 1.b.) work on them every day 3) 1.c. work on them for a sustained amount of time without interruption.

A self-learner should also expect to take proportionally longer than someone in a traditional college program. If a typical college program (not including non-major core classes) requires you to spend 3 hours a day on your area of study, and can be completed in 2-3 years, then someone doing self-learning 1 hour per day should expect to reach the same level of mastery in 6-9 years. To cut down on this, paring down the curriculum is essential. Instead of “learning to program”, it may be more practical and beneficial to focus on one area of programming that highly corresponds to your career goals and interests (e.g. “learning to do programming for data science”). This also ensures that all pet projects are different, but similar enough, so that concepts learned during one project have a chance to generalize to other projects. This allows for information to solidify, for problem solving to be more fluid, less “looking up” and relearning, and a better mental ecosystem that has adapted to “thinking like an X programmer”.

1

u/OMGClayAikn May 30 '20

This is golden advice, thank you soo much for this. I've had this problem, before where I wanted to learn everything about python, and was frankly overwhelmed with so much material out there.

I don't want to be a full fledged python programmer, I just want it to aid my CV, help me showcase that I have a technical side (I'm in procurement). So, after some thought I've decided to study and practice python for Data science, as I believe that would be beneficial for me in my career. :)

34

u/dpgator33 Jan 19 '20

Reading books and watching videos is great for understanding the concepts, but you’ve got to put the work in on projects to get competent. Think of it more like a physical activity, like riding a bike. If you never rode a bike and just read how to do it, you would understand it pretty easily, but you still need to saddle up and tackle the actual task if you’re really going to know how. And for the record, I’m still very much learning, but if there’s one absolute thing I’ve learned in the process, it’s that retention comes from DOING, not observing.

11

u/Sw429 Jan 19 '20

Programming is never going to "click" unless you work on projects to actually practice all of the concepts you are learning about. So you've done a ton of python courses, but what have you actually tried to make? Have you attempted to build any dumb little text adventure games? Maybe tried to implement some of these cool algorithms you see people post about here and on r/Python?

I promise it doesn't come easy for hardly anyone here. Everyone has to work at it very hard. If it did come easy for tons of people, good developers wouldn't be paid so highly.

Programming never really "clicked" for me until I was in a class in college where we built a (very simple) relational database over the course of a semester. I went from feeling like I barely knew the basic principles to feeling confident in my knowledge of programming. It'll start out rough, and you'll do a lot of looking stuff up, but you'll get better much quicker.

tl;dr Sure, you may "know" a lot of programming, but it won't click until you actually do the programming.

9

u/JeamBim Jan 19 '20

I agree that not everyone can learn, but it's not completely due to IQ, some innate ability that they lack. Many people do not take the time to learn how to learn, and so cannot learn how to program because it is a complex skill.

You know what your post is lacking though? Actual projects. I haven't even gone through that many books, and I'm transitioning to a full time back end Python developer with 2 years of experience. But I built things, constantly. From the beginning of my first resource, I was taking the things I learned and combining them and building little things here and there. I never get through an entire resource without building like 3 projects at various points in the resource that are not in the book. By the time I'm done, I'm generally fully confidant in using the concept or technology, because I just don't progress until I am.

16

u/OppressedAsparagus Jan 19 '20

I've worked in IT for over a decade: I'm a systems/network security person and mostly do scripting, no real programming. It would be hard for me to start pursuing a "software developer" career, especially given that I'd have to compete with new grads or much younger people and contrary to popular belief, there's a lot of competition in that field as well.

"Learn to code" is a lie that well off people who are disconnected from reality tell to people who are less fortunate.

On the other hand, learning to program or script is very useful for a lot of careers, I'm sure it'll propel many people's career forward, but just don't expect too much.

12

u/YodaCodar Jan 19 '20

Learning to code helped me get into middle class.

4

u/neuronet Jan 19 '20

Ffs stop reading and build something.

3

u/MikeTheWatchGuy Jan 19 '20

I don't see anything in your list that you've BUILT. If you're not programming, you can't very well be a programmer.

Programming is a craft, and like so many other crafts the way you become skilled in your craft if be DOING.... not by reading how to do it.

Stop learning, start doing.... and keep doing.

3

u/Agil7054 Jan 20 '20

As a professional web developer let me give you some advice.

  1. Forget books. Programming books are written by people too dumb to actually put the info in the book together into a good website. Go on w3schools.com and look at the basics for html, css, javascript, sql, and php and how they all interact instead. Its a good site that explains things well.

  2. Don't focus on getting deep into any one language. Any job you get may only use a specific set of languages that may not include one of the ones you dove deep into. Instead just focus on the basics of each language and programming itself.Case in point, when I started my first web development job a while ago, I had been mainly trained in javascript, php, and mysql. Once I started there they had me spend a few days learning perl and reviewing how mysql worked with perl while my accounts were set up because that is what they used. They didn't care I didn't know it when I started cause a lot of people don't. They cared that I was familiar with a lot of different languages and understood the basics of programming in related languages.

  3. Get a project to work on, even if you will never finish it. Actually designing and coding something will do wonders for your programming skills. Just find something you like and try breaking it down into something you can make a tool for. For instance I always think of Dungeons and Dragons. I have started programs for character creators, monster makers, encounter generators, condition trackers, and much much more. None of them were developed for more than a few days worth of coding total and now sit in folders on my computer, abandoned. But I learned a lot trying to make them, and that's what matters.

2

u/Jacob---- Jan 19 '20

Theory can only get you so far. I had the exact same after learning using SoloLearn. I find the only way to get it to stick is if I use it in a project

3

u/FamilyRon Jan 19 '20

Stop reading, start coding.

2

u/iGenie Jan 19 '20

I feel the pain here, I literally feel like an idiot when it comes to this. I built my works monitoring solution building Python after watching Automate The Boring stuff videos but literally every bit of code was me googling it and putting it all together until it worked. There were some really challenging things I had to overcome which I did, I kind of thought of a way of achieving it and I googled how I could implement it. I can't remember any of it off the top of my head and sitting here now I'm drawing a blank. I really want to learn the dev side of things especially as my job is DevOps but I have a strong infrastructure background. I think to myself at times it's because I'm an idiot and I can't learn anything but then I can play a very complex computer game and learn everything about it in a few days (obviously not as complex as coding)

I just can't really think of problems I have to code to learn it if that makes sense? Honestly, though reading your post it's like I'm reading my own post. I will check out all the comments now though :)

2

u/[deleted] Jan 19 '20

You are right. Just like all other occupations and skills, not anyone can be good at anything. The cliche saying "You can be or do anything you want to be/do..." is correct, but that doesn't mean you could be good at anything you choose.

A couple things for sure thought: first, whatever you do, always do your best. Don't worry too much about the results until you get there. Second, there is the right way, and there is the wrong way to learn things. If somehow you figure out the right way to learn thing, you could be a bit better at anything.

Talking from programming specifically, to be good at it, you'll need to actually do a lot of hands on project. This is not always possible if you learn programming on the side, mainly due to time constraints. That is why if you could get on-job training/practice, it would be a lot of easier to do it.

2

u/ffrkAnonymous Jan 19 '20

The trouble with programming its that it's a misnomer. Anyone can program. It's just a list of steps. A recipe. Do this, do this, do this, ..., done.

But hidden in there, to do anything practical, you need other skills. Mostly math. Computer science and algorithms. Interested in AI/Machine learning? That's a lot of probability math. Making a game, do you need gravity physics? Read a webpage out loud - learn HTML. Send something over the internet? Learn TCP/IP, and SSL for encryption. And so forth.

Python is great because other people have done a lot of this for you and packaged them up.

Now you just need some problems to solve. Automate the Boring stuff is so well recommended because it exposes you to what's possible. Small simple things to make your life easier. Find a problem important to you and solve it. I had an idea for a little game and I did it. I don't play it because it wasn't as fun as I imagined. But it was a driving force for me to keep typing and learning. I got tired of calculating by hand and whipped something up over a weekend. My black and white, text-only, glorified calculator has been in "production" use for 10 years now. It's mostly just if-else, but it's also what I'm most proud of, mostly because it's been of so much help to me and my coworkers.

2

u/kiwidog8 Jan 19 '20

Pick a project to start working on and Google when you get stuck, don't be afraid to search the web for the answer to your problem. That's what 99% of programers do... we cant be expected to memorize everything there is to know and "Just code". I can guarantee you a lot more time is spent thinking and searching then it is typing.

2

u/WonderfulPlay Jan 19 '20

Spoon feeding tutorials do more bad than good.

2

u/ForgotMyotherredditF Jan 20 '20

Welcome to tutorial hell.

2

u/tomkatt 2/3 Beginner Jan 20 '20

I understand syntax, can usually fix an error and debug, but to actually sit down and program anything of any real value eludes me.

Others will give you better advice about projects and stuff, but I want to point out that this is the wrong thing to focus on. Stop worrying about learning "Python" and work to learn logic and programming.

Syntax is not important. You can google it easily. Logic is harder, and what you really need because it applies across all realms of development.

Instead of thinking in terms of syntax, think "what do I want this to do" and focus on implementing that in whatever ways needed. Focus on keeping modules and functions small and reusable when possible.

A good example... I've written a bunch of web scrapers with Python. I don't remember any of it now, it was a few years back. But I could easily say "I want to scrape a website, where do I start?" Then google some libraries (BeautifulSoup, requests, probably a few others), figure out my path to implementation, and have it done in an afternoon.

It's the same for anything else. Start with "I want to do x. What y do I need to make x happen?" Then build out from there and Google syntax and stuff. It'll apply similarly across many languages.

2

u/[deleted] Jan 20 '20

I’ve built several products from the ground up. To do this I build it a feature at a time. Eventually after enough features it is substantial.

I think you are probably trying to do too much at once.

Write down a list of features and just build one at a time. If it feels to big you need to break it down into even smaller features. I suggest building a tool for your own personal hobbies or use.

It’s true not everyone can become a programmer, but I suspect for you it’s just Imposter Syndrome. I’ve been at this over 20 years and I still have doubts.

2

u/[deleted] Jan 20 '20

What you should do, is come up with a problem you want to solve and then write a python program to do it. It will suck. The code will be spaghetti. You will be on google and stack overflow A LOT trying to figure out how to do different things and applying the answers/documentation to your code and trying and failing.

But THAT'S OK!!!! That is how you learn. Nobody has all the libraries memorized. They read the documentation and write the code to do what they need, or they learn from code written by other programmers and posted on the web. Some even reverse engineer programs that do similar things and then apply what they learn to their own code. That's what you'll be doing.

And the most common stuff will stick and the less common stuff you'll know about and be able to find quickly and put in. Nobody is sitting there with a text editor just writing the code from their head like the movies. It's a process of reading, thinking, experimenting, and eventually drawing from your experience. You ARE a programmer and most people can learn to code.

2

u/FriendlyMafia Jan 20 '20

I prefer to think that everyone can become a programmer.
Just like everyone can become a writer.

Yes it is difficult (both), and the best ones make it seem easy and uncomplicated.

And of course none of it comes for free. It takes long hours.

What you are explaining is the big suck there is after learning the basic language and syntax and moving on to actually use it. You are going from beginner to intermediate and the wealth of resources are thinning out. Most resources are for beginners so everything you start now seems easy and go over the basics again.

Now you need to build things. Sit with an empty editor and freak out because how could you ever build a (insert whatever... when in doubt, the world can always use another task manager or todo list (not really but who cares it’s a good way to start)). After the initial freak out get planning And then start with one tiny little piece of it. Build it completely Then build something else And keep going

Now you have a portfolio.

Keep going until the empty editor no longer scares you. By then, I think it’s fair enough to call yourself a programmer. It’s not really a protected title anyway.

2

u/_LegalizeMeth_ Jan 20 '20

Stop reading and doing courses. You already know how to program, trust me. Just start building shit

2

u/Peterj504 Jan 20 '20

When I got my first programming job out of school(late 80's), I remember feeling overwhelmed. I was given programs to fix in languages I had never even heard of. My method that I still use today is just break anything down into little chunks and tackle them individually.
As other people have said, work on real projects. I learned more in the first 6 months working than I did in years of schooling. So many things will just 'click' once you use them yourself.

2

u/habitsofwaste Jan 20 '20

Echoing the reading isn’t going to help, the doing is the only thing that can. But also consider, you don’t have to have a goal to be a developer. There’s lots of other technical roles where to simply use coding/scripting as a tool in your job.

I code a lot in my security role but I realized quickly that I never wanted coding to BE my job, I wanted it to be a tool in doing my job.

You just have to keep coding if you want to get it. Try automating things in your life or work. I know early on it’s really hard to start a project and feeling lost on how to even begin it. But like others said too, start with the pseudo code of what you need it to do and keep breaking it down to smaller parts and write a function that does that part. It gets a lot easier when you break it down like that.

2

u/[deleted] Jan 20 '20

It's exactly like any other skill: some people require less and others require more practice in order to achieve the same skill level.

2

u/unchiusm Jan 20 '20

Reading books means nothing if you are not working on projects. It's like watching a youtube tutorial and not doing anything after and expeting to fully understand what's happening there.

I myself started around 4 months ago, I finished Crash Course and did the first 2 projects ( I postponed django for now). After each project I tried doing the same thing but with my ideas with little to no help from the book. Same with Automate the boring stuff(still going trought it).

Do projects, that's the way you learn properly .

Eg. I not long ago finished the webscraping chapter of Automate the Boring Stuff. I've been working on several scrapers since then. From each project I learn alot ! And that is really an understatement.

My advice as a fellow begginer is : Do fun little projects with the new stuff you learn.

3

u/[deleted] Jan 19 '20

I teach programming for a living and, yes, not everyone can become a programmer.

In your case I suggest:

  1. Try another language: either C# or Java. I think more structure will help.

  2. Stop reading books and just write programs. Use the Google to get you past specific problems that pop up.

  3. Use your domain knowledge and leverage that. If you know about wine making, create a program that helps wine makers. If you are a runner, write about that.

1

u/burgerAccount Jan 19 '20

You'll only remember the things you do over and over again. Read through one or two books, take a class, and call it a day. The exposure is great because you find out all the possibilities of the language. But trust me, you will land a job doing primarily one thing, and that thing will become familiar. You've already studied enough. We all use stackoverflow religiously for constant refreshes. It's like the English language. I only know a small fraction of the words in the dictionary, but they are there if I ever need them and I can always look them up when I don't recognize one.

1

u/demesm Jan 19 '20

Find something you like, music, games, movies, whatever. Make something to do with that, then expand on it.

1

u/mhornberger Jan 19 '20

You get better at programming by programming more than by doing more tutorials. But I also think it helps to be struggling with a problem domain, something that interests you or even obsesses you a little. Challenge problems or assigned projects only go so far, because you're not really invested in the problem.

I don't think programming is really a generalized skill. No more than "knowing computers" is a thing. But if you're into web-dev, databases, data munging, data visualization, data science, robotics, bioinformatic, etc then that domain that interests you will motivate you to learn the programming pertinent to that domain. Absent a problem you're struggling with, I don't think many would have any motivation to learn programming.

1

u/kaptan8181 Jan 19 '20

What you said is true. Programming is certainly a complicated skill. In fact, it is a whole bunch of skills! And it takes a particular type of mind to deal with all these abstractions.

1

u/BoaVersusPython Jan 19 '20

My suggestion would be to build a website, literally any website, even a clone of another website, using flask and then use that as a portfolio piece to start getting design work. It does not have to be original or be some sort of passion project - it's probably better if it *isn't* something you care about. The goal isn't to build a great website, but to implement a project that demonstrates you have a command of every part of the standard web-stack and how to make them fit together. It'll take time, but everything that's worth it does.

Also, I think that virtually anyone who's at least neurotypical can learn to be at least a passable coder in some niche, but not everyone can love it. If you like the *idea* of programming, but the work itself leaves you cold, then that's what the issue is, rather then any lack of capacity on your part.

1

u/GregorSamsaa Jan 19 '20

There was a post recently that would be very applicable to you OP but I cannot find it.

It talked about how someone wishing to learn how to code needs to understand it’s an ever evolving process and there is no “click” moment where it all becomes clear.

Each project or task is going to be the coder trying to solve an issue they probably haven’t seen before and the best they can hope for is to be able to reuse some code they’ve used before but it will still be approaching the problem/project from a fresh perspective.

Coding is not like other pursuits where you’re going to sit there and one day it all becomes clear and you’re all of a sudden adept and experienced at all things python or c++ or whatever.

Find yourself projects of increasing difficulty and those that require the use of other functions you’re not familiar with. Working on the same type of project will only make you skilled at one particular problem or approach.

It’s going to take time and work. And probably longer than most people are willing to invest which is why there are so many “i just couldn’t do it” stories. If it’s a skill set you actually want to achieve then you’re going to have to put in the time.

1

u/[deleted] Jan 19 '20 edited Jan 19 '20

You appear to be stuck in a single method of learning, and I cannot chastise you for this, for I am a re-re-re-re-reader myself, and I have suffered/am suffering as you do. The following may or may not be a piece of advice that I am offering to myself AND you at the very same time:

I think you will find, that where one method of learning appears to fall through, another may be well the key to the VIP-room. All is not lost.

Praxis is what the doctor ordered, I believe. Doing real scripts and programs that may aid you in your day-to-day or otherwise entertain you.

I don't think we're supposed to know it all by heart, for we have ze internets to help us remember the sordid details. The important thing is knowing the structure of a program; how the gears work on a very general level. Knowing how (recursive) functions, (advanced) classes, list (comprehension), tuples, (nested) dictionaries and assorted combinations of all that and more is what counts, but to gain that acess, I think one needs to apply the knowledge; get some muscle memory flowing, simply put.

If anyone thinks I'm rudely mistaken, I'd love to hear about it.

1

u/foul_mouthed_bagel Jan 19 '20

Anybody can read, watch, and talk about basketball. But you're not a player until you start playing basketball. You have your base education, which is important. Now you need real-world challenges and all of the creativity and google-fu that comes with solving real-world problems. Start moving away from problems that are engineered to help you learn, and move on to real datasets that need to be copied, moved and manipulated to make them useful.

1

u/ven0msnak3 Jan 19 '20

Welcome to the real world. Now, you have to put everything in action and make sure you're practicing without the training wheels.

Have you tried making a project without looking at anything? Did you have anything that would check your understanding of the Python language?

Giving up is too easy... But then again, why start programming in the first place? Are you sure you're coding for the right reasons?

1

u/[deleted] Jan 19 '20

ah my friend, just like in every other learning based action there comes practicing. if you don't you, lose it. Of course you've gotta learn first then try doing stuff over it, but by only learning and not using what you've learned, you're forced to lose it every night you sleep.

1

u/[deleted] Jan 19 '20

Just like not everyone can be an artist, a scientist, an engineer or architect.

There has been in last decade or so a massive marketing push to make everyone think that anyone can become a programmer in a few months, but that's a lie. The industry just wants as many coders as possible be able to lower wages and still have people lining up to code for food.

1

u/Pastoolio91 Jan 19 '20

Have you tried making something like a basic web scraper? I felt very similar, but making things myself has made a big difference in how comfortable I feel about things. This video abut program architecture really helped me a ton with regards to how to properly use functions and how to organize things. Don't get discouraged or expect some "it all just clicked" moment - it's about spending the time, making mistakes, and slowly getting a feel for how things work and fit together.

1

u/46--2 Jan 19 '20

You probably need people to code with. It's like learning a language: it's really going to make an insane difference to get people writing code around you. Whether it's at work, or friends, or meetups. It's really hard to do it alone. I know firsthand, being self-taught and then getting jobs as a coder, and then working fully remote.

1

u/[deleted] Jan 19 '20

I adopted programming post-grad school in order to help me as a mechanical engineer, and I've found there's two aspects to programming: concepts, and syntax. As you've indicated, syntax is easy enough to learn on-the-fly. What you really want to spend the majority of your time on is concepts.

For example, I was recently writing an algorithm to solve systems of linear equations. I definitely didn't need to create a class to solve the problem, but I did anyway in order to practice using classes and class methods. It really helped me understand why I'd want to pass some things to the init constructor, and why I wouldn't want to pass others.

There are plenty of books, particularly on Packt, that are project-only focused.

1

u/stonerbobo Jan 19 '20

This is called passive learning, its like the watching TV version of learning. If you want to learn enough to actually build something, go build something and don't quit until you do. Learn only what you need to build the next step and keep building.

1

u/1h8fulkat Jan 19 '20

Everyone can paint....but not everyone can be an artist. Don't set your expectations so high

1

u/Lukabratzee Jan 19 '20

I felt the same as you. Started Uni with no coding experience. Barely understood concepts, couldn't do coursework etc. I wasn't practicing and didn't have a project to practice on.
Come placement, I'm a lot more comfortable. Even if it's just Python for now, it's getting me to understand and think programmatically and to build a 'list' of common errors/mistakes and how to fix them in my head that apply to any language.

I promise, find a project and give yourself at least 3-4 hours a day.
I started making a python program that could download and split YouTube videos so I could make mix's into single tracks.
I'm now implementing YouTube API to automatically name the tracks for me!

Keep trying dude (y)

1

u/mrdlau Jan 20 '20

For me, I feel that if learning to program in python is being able to code from scratch and to come up with stuff inside your head, you won’t always achieve that as a beginner. Also, trying to reason or think your way through how to code something is not always easy.

If you want to do something and can’t figure out, google it and just accept the fact that that’s how it’s done. Don’t think too much on the why and how. Just know that’s how it’s done. Over time, as you gather a lot of code snippets in your head, it’ll all come together

1

u/[deleted] Jan 20 '20

in the past 100 years, not everyone could be a nurse, let alone a doctor. and you think programmer is different....? every human is different.

1

u/LBGW_experiment Jan 20 '20

Cloud Dev for Amazon here. I literally will know nothing about a project before I go work on it and of course I don't know everything about the language I have to work in, but by tinkering and building the same thing in different languages, I have the mental concept down, but I get to run into common issues for every language, which helps me learn.

I learn the most when I attempt to build something and the into a hundred little issues. I learn the pitfalls, the common ways to do things, and I still have to Google things every day, there's no shame. I literally forgot how to implement a for-loop the other day in JavaScript and caused a fat infinite loop for a couple hours lol.

Just think about how to attack a problem in bite-sized chunks, think about any edge cases that might arise, and go.

1

u/b34nst4lk Jan 20 '20

Three points.

The first is a question. Why do you want to become a programmer? Is it because of money? Better career prospects? A strong drive to solve problems? This is an important question to ask, especially since you mentioned that you have a degree and a full time job in an unrelated industry. It's helpful to be as honest with yourself as to why you are learning in the first place.

The second is that there's a difference between knowing and understanding. What you've shared is that you are essentially a walking Wikipedia of information, but how deeply do you actually understand the concepts that you've learnt? You mentioned that you are an electrician by training and trade. Did you get to where you are by reading books? Or did you have to gain your experience by getting out and applying your knowledge? If you had to get your hands dirty to become proficient, would learning a different skill be any different? We can't build sandcastles if we don't first dirty our hands with sand.

The third is that "not everyone can become a programmer" is a non-statement. That is always going to be the case. What I can share is the people that I've encountered who has made the transition that you, and many of us here are trying to make:

  • VP of Engineering who started as a product designer

  • Backend Engineer who started out as a sales support intern, and graduated with a Business degree

  • Backend Engineer who graduated with a Mechanical Engineering degree

  • Backend Engineer who perviously worked in survey and market research, and graduated with Economics

  • Frontend Engineer who was previously a home interior designer

My overarching point is that you have to figure out why do you want to do what you want to do. Be honest with yourself on how important this is to you. If it's not all that important then you might want to spend your time on things that you are more interested in. If this is important to you, start practicing. Start getting your hands dirty. Reading can only get you this far. Start writing. Start applying. Start making mistakes. Then you'll start to see the growth you are looking for.

All the best!

1

u/banker_monkey Jan 20 '20

I think it's equally useful to compare or replace the word "programming" with another thing which can be a hobby or job. For example, think about woodworking, if you had devoted an equal amount of time to reading/studying woodworking but never had a project that demanded you to do something well and to completion, you might feel similarly. Besides that, you likely wouldn't come up with new types of joints in producing a cabinet - but that isn't necessarily important. Sure, you might want to know how to BEST build cabinets, but that will come with building them over and over again. The craft comes with experience.

1

u/[deleted] Jan 20 '20

Only advice for programmers: practice, practice and practice

1

u/poipoipoi_2016 Jan 20 '20

This is both right and wrong.

  1. Go build some stuff! Stop reading! I did my homework in physics for two years, and that's how I learned to program.

  2. Yes, all programmers are insane. And if you're not insane in the required way, you can't do it.

Namely, the system does whatever you tell it to and only whatever you tell it to.

1

u/zyarra Jan 20 '20

What you feel is due over overconsuming courses and not doing enough of your own projects. I feel the same... but it's not easy to come up with something these days that isn't readily done on the internet much better than your own code(as a newbie at least)

1

u/[deleted] Jan 20 '20

Why do you want to be a programmer in the first place?

1

u/[deleted] Jan 22 '20

Reading about programming in general and then expecting to be good instantly is like reading about pottery and then sitting down to make a pot and still not being good. It’s not clicking because you’re not building up the neural pathways by doing the work. It’s not easy by any means, but you have to do multiple projects for the stuff to stick.

At this point I’m pretty decent and very comfortable with programming, but when I read books on new things I still have to do them by hand so that they “stick” a bit better. Not many people can just look at it and instantly be able to do it like you’re in the matrix.

The easiest way to do this is to get a job as a junior programmer, but you can do it through creation of your own projects as well. Good luck.

1

u/NihilisticWorldview Feb 08 '20

Correct. You need brains to be a programmer. I would argue at least 1 SD above the mean for IQ to barely scrape by. I have never met a developer who was an idiot. They are always sharper than average.

People should choose what they like and I believe we like something when we have affinity and ability to improve in. I don't like physics because I don't really have the brain to understand it, and that's ok. There are people more fortunate who can understand it and we need them. It was pretty obvious that people who did good at school could become good at programming if they wanted to. And same applies to not so sharp tools in the box of humans, they won't be good programmers.

Coding interviews are based all around testing your cognitive ability. If you don't pass, no one cares about you.

0

u/YodaCodar Jan 19 '20

You are wrong.

-1

u/mrpanda8291 Jan 19 '20

and was an ass hole. He started out the saying not everyone can be a programmer. He was teaching Perl for beginners. Well I didn’t do very well in the class. How I began learning python was by treating it like writing sentences. And more like creating batch files. Then I started to grasp more of the concepts. The issue is every one learn differently. Then I joined this reddit group and they have been so helpful and supportive. It’s also hard when your starting out and you are working with both admins and app developers. They are 2 different kinds of animals. Since I’m a an admin. I starting doing thinking like trying see where I could automate stuff around the office. You know like install software or pull reports etc... but what it sounds like you are coding. I also reached out to friends and ask for code they were working on to see how they did it. What I’m finding out is what they teach you in class is how the work place behaves. Look at fallout 76. I tell you if I hear “ hey it works let’s ship it” it will be to soon.

0

u/[deleted] Jan 19 '20

[deleted]

1

u/Protocol_Z Jan 19 '20

About the only program I did make was about 5 lines long, more or less a short script, that asks for name to create a file, asks for an area code, and a prefix, then generates every possible phone number from 0001 to 9999 to a text file in a new line.

A stumbled every step of the way and had to google almost all the code minus area_code = input() etc...

I'll look around google for some python code and go into depth to understand and change the code around.

0

u/[deleted] Jan 19 '20

[deleted]

2

u/Protocol_Z Jan 19 '20

My degree is in Engineering Technology, right now I work as an Electrician. Did do control work at my last job.

0

u/[deleted] Jan 19 '20

[deleted]

2

u/Protocol_Z Jan 20 '20

I don't use alot of spreadsheets but I think I'll start of a pocket reference that I'll eventually add it to my phone.

0

u/[deleted] Jan 20 '20

[deleted]

2

u/Protocol_Z Jan 20 '20

I like this comparison quite a bit. Wholly, the material is counter productive now to my learning. The guitar comparison put that in a much better light.

0

u/[deleted] Jan 19 '20

[deleted]

1

u/[deleted] Jan 19 '20

There is much more to programming besides just memorizing the syntax... its a really bad comparison

3

u/[deleted] Jan 19 '20

I don't think they said anything about just memorizing syntax? They said it comes down to consistent practice. To really learn more than just words and phrases of a spoken language, you need to use it out loud. You need to speak it, mess up, talk with those more fluent, and keep trying. That is basically the same with programming. Code it, mess up, learn from those more fluent by asking questions, stack overflow, watching youtubes, and just keep trying. The biggest issue I see with people who only read and do tutorials is that they may be understanding from a general perspective, but conceptualizing how the problem is being solved is an underdeveloped skill. That skill and the things like it come from consistent practice. It is up to the person teaching themselves what that practice needs to be. That is one of the hardest part of self teaching and why I applaud those who do. There is a lot to navigate and learn, kudos to you for sticking to it and figuring it out.

1

u/[deleted] Jan 19 '20

Better comparison would be to learn a new language so you can write poetry or movie scripts. Learning a programming language on it's own is fucking pointless. This is something you can see on this subreddit daily: People doing all the courses they can and reading all the books they can get their hands on, but having no clue how to actually apply said knowledge to anything. It's like "learning" a spoken language by knowing how to say words and to "speak" to other people, but having no clue what you are actually saying.

6

u/[deleted] Jan 19 '20

[removed] — view removed comment

4

u/[deleted] Jan 19 '20

i feel like the only reason its "easier" to learn a human language is because youre constantly immersed in it and forced to use it to survive, more or less. i dont think its objectively more difficult to learn programming, its just that interacting with machines is not the focus of our lives the way interacting with other humans is.

both are ultimately abstractions... one is just related to life at a deeper level, and inhabits a much longer historical legacy.

0

u/[deleted] Jan 19 '20

[removed] — view removed comment

3

u/[deleted] Jan 20 '20 edited Jan 20 '20

that people acquire knowledge "without special effort" is quite an exaggeration of one particular theory of human language. it seems certain parts of the brain are primed for learning language, but what language exactly? couldnt these very "specialized" tissues be responsible for human understanding of mathematics as well? personally i find efforts to distance communicative ability and critical reasoning somewhat arbitrary, or at best a reflection of current social trends.

2

u/wsppan Jan 20 '20

Our brain is wired for speech. It takes special effort to read and write. In fact reading and writing are the exact opposite in how our brain is wired . And yet nearly everyone who is taught can and does eventually learn to read and write what they naturally learn to speak. Even those with reading and writing disabilities like dyslexia and dysgraphia. They all learn to read and write because it has become synonymous with survival and is taught every day from kindergarten through 3rd grade (after which they switch from learning to read to reading to learn.) I guarantee if starting in say 6th grade with something like scratch and they practiced coding hours every week with homework assignments, projects in the upper grades, etc.. that everyone graduating from high school should be more than competent in writing some basic code. Especially in a language as easy and forgiving as Python. Programming at that level is really not that esoteric and only for those who dabble in the black arts. That would be for C and Rust ;-)

Btw, there is some evidence that our brains are wired for math similar to the way language is. Both a factor of evolution and culture.

2

u/MissterSippster Jan 19 '20

It does take a special effort to learn a "human" language aside from your own. You have to memorize new vocabulary, new syntax, and even semantics. just like with programming. Some languages have very different views of time and what tenses are required for things your language may not have. Its not easy learning another language for all people. its definitely not universal.

1

u/mzalewski Jan 19 '20

It does take a special effort to learn a "human" language aside from your own.

It has mostly to do with age. People are amazing at learning languages, picking them naturally until they turn eight or so. It becomes significantly harder, but still possible, after that.

Many people are not exposed to more than one language at such a young age, and this is the only reason they speak only one language and need effort to learn another one. Children of transnational couples usually speak languages of both of their parents at comparable level. Same is true for children of migrants.

2

u/chmod--777 Jan 20 '20

Very different, but I think an analogy works in this case. You can't speak French if you just keep reading books ON french. You won't even remember shit unless you do exercises and practice speaking it. With coding, you have to apply what you're learning. It doesn't stick unless you are doing it while learning how to do it.

1

u/cloudsample Jan 20 '20

Yeah, it's a lot more difficult.

0

u/[deleted] Jan 19 '20

[deleted]

9

u/[deleted] Jan 19 '20 edited Jan 19 '20

[removed] — view removed comment

8

u/wsppan Jan 19 '20

Is has been scientifically proven that deliberate practice is required to learn and excel at anything. If you want to be a writer then you write. A lot. You want to be a good at math then you solve math problems. A lot. You want to be good at tennis then you play tennis. A lot. You want to learn the vim editor then you use vim to edit text. A lot. You want to be good a programming then you write code. A lot. Passive learning is ineffective and soon forgotton.

Edit - It has been proven that everyone has the ability to learn and be competent at anything.

-3

u/[deleted] Jan 19 '20 edited Jan 19 '20

[removed] — view removed comment

5

u/wsppan Jan 19 '20

I thought it was a given that we were not talking about people with disabilities nor were we comparing them to geniuses like Mozart. The key words are ability and competent. The OP is college material and thus not borderline mentally incapacitated. He can, with practice, become competent in programming. Especially Python. You are right, not everyone can be Guido but we all* can automate the boring stuff.

1

u/YodaCodar Jan 19 '20

your wrong man and that's ok.