r/learnprogramming • • Apr 27 '25

Been learning code 6-8 hours a day.

The last 36 days, I’ve been practicing JavaScript, CSS, HTML, and now that I’ve gotta the hang of those, I’m onto react. I say about another couple of days until I move onto SQL express and SQL.

I do all of this while at work. My job requires me to sit in front of a computer for 8 hours without my phone and stare at a screen. I can’t get up freely, I have to have someone replace me to use the bathroom, so a little over a month ago, I decided to teach myself how to code.

The first 3 weeks, I was zooming through languages, not studying and solidifying core concepts, I had an idea of how the components worked, and a general understanding, just wasn’t solidified.

I’m also dipping in codewars, and leet code, doing challenges, and if I don’t know them, I’ll take time to study the solutions and in my own words explain syntax and break down how they work.

I have 4 more months of this position I’m currently at, even though I hate it, it’s been a blessing that I get a space that forces me to study.

So far I covered HTML, loops, flexbox, grid, arrays and functions, objects and es6, semantic html and accessibility, synchrony and asynchronous in JS, classes in JavaScript.

Is there any other languages you would recommend that I learn to become a value able software engineer in a couple of years?

Edit: This post blew up more than I was expecting it to! I appreciate the advice everyone has given me. I’m going to not only prioritize on projects now, but enhance my math skills.

1.9k Upvotes

237 comments sorted by

View all comments

90

u/paperic Apr 27 '25

Are you writing software or just reading?

Writing is like 1000x harder than reading, you gotta write it to learn.

Not just leetcode, those are way too short.

27

u/AddictedtoSoap Apr 27 '25

Both. Not as much writing as I am reading. I’ve created some simple blog style pages using html, css and js.

I’ve created a super simple page using react, that’s dynamic and provides output based on user input through button selection.

Thanks for the advice! I’m going to start writing more after work, but I’m in college, and that’s been my focus. Im almost done with the my class, which will free up more time.

-6

u/CodeTinkerer Apr 27 '25

Why not study computer science in college?

40

u/[deleted] Apr 27 '25

I'm not OP but that's a hella weird question. He is employed, being paid for it and free to study during that time, why would he consider a college that takes 4 years and doesn't really prepare you all that well for your first job? He can study during the job right now and by the end of it in 4 months, be halfway there. I'm self taught and about to start my first job in programming after learning on my own 10h daily for a full 1 year.

You can get the same, and even better skills than CS much quicker, if you have the determination to study on your own.

18

u/CodeTinkerer Apr 27 '25

Read OP's response here

Thanks for the advice! I’m going to start writing more after work, but I’m in college, and that’s been my focus. Im almost done with the my class, which will free up more time.

OP said s/he was in college.

7

u/Curio_Magpie Apr 27 '25

He also said elsewhere that he’s in the military, so he’s probably being sponsored by the military to do college, and may be locked in to his current course

3

u/[deleted] Apr 28 '25

[removed] — view removed comment

2

u/CodeTinkerer Apr 28 '25

It is oversaturated which makes the job of software companies challenging. There are plenty of self-taught programmers and even those with degrees that aren't very good programmers. A bad programmer is actually a net negative as most companies aren't training you like an apprentice where a master programmer teaches you the skills.

As you point out, software is constantly changing as it is a technology. While you don't have to keep up with the latest and (not so) greatest, you do occasionally have to do this.

Having said that, teaching yourself programming is not easy. You can have a roadmap that matches a CS program and try to get the same kind of education, but there are students who are in CS programs who don't complete the degree despite all the resources out there. Being self-taught removes those resources.

Right now, many self-taught beginners are using ChatGPT or similar to write out code for them without understanding what the code does. Sure, we need to look something up, but you still need to have an algorithmic style of thinking.

As I mentioned to someone else, the person said he was in college, so why is he spending a ton of hours outside of college learning to program when he can just get a degree (presumably, he's seeking a degree that isn't computer science or programming related). I can think of many reasons why not (e.g., the CS program may limit the number of majors to prevent overcrowding), but was curious why he made the decision.

OP didn't reply.

1

u/AddictedtoSoap Apr 28 '25

Current discipline is in electrical engineering, taking most of my Gen Eds. I didn’t know what I wanted to major in, so I started teaching myself about electrical currents, as well as bought a book about Nikola Tesla to read up on his journey. Long story short, not really big into electricity as I thought I was. I had to change a battery out of the military vehicles myself, and it looked like 4th of July with all the sparks. Sure, maybe not related to the degree itself, but I enjoy not being at risk of getting electrocuted.

I’ve been coding on and off for some years now, my first language being python. Following a YouTube video, I was coding for hours every night. Gave that up because I saw no future. It didn’t click for me.

I’m going to college now and only taking math classes to enhancing my skills to apply within my new founded career. I attempted to major change at my college, but didn’t qualify for software engineering, unfortunately. So I took matter in my own hands.

1

u/CodeTinkerer Apr 29 '25

Thanks for the thoughtful reply. Weird that you stopped coding, then you started it again. When did you decide there was a future after deciding there wasn't one?

1

u/AddictedtoSoap Apr 29 '25

Since I have nothing better to do, I forced myself to code, and progressing knowledge allowed it to click for me.

When I was learning python, I was young and was doing it for fun, but once it got harder, I simply stopped for some reason. My mind loves sticking to a hobby for a few weeks, then moving on.

It’s like throwing someone in a room full of ingredients, and all I know how to do is make a sandwich.

1

u/CodeTinkerer Apr 29 '25

I've said this several people and it does get said a lot, but some of that might be being ADHD. Those with ADHD can often focus on stuff that interests them, but get bored easily with stuff that doesn't interest them. That might not be you.

I did recently listen to this which I found interesting: https://www.alieward.com/ologies/adhd

A lot of people, who work by themselves, generally do smaller things that those that work at a company. I guess it takes a village to write a lot of code. That's not to say an individual can't write complex code, but coming up with the ideas is often a challenge.

6

u/[deleted] Apr 27 '25

[removed] — view removed comment

0

u/[deleted] Apr 27 '25

[deleted] — view deleted comment

5

u/[deleted] Apr 27 '25

[removed] — view removed comment

1

u/paperic Apr 28 '25

"(20+ years)" 

Noted. 10+ years here.

Ok, if you're talking about some important reviews of an important code, arguably, reading isn't any easier.

But I was talking in the context of OP kinda assuming that reading some examples of ifs and loops will make him able to program.

For me, reading is a lot easier, but 5 years ago I was quite the opposite, mostly because I read too many shiny tutorials and example apps with unrealistically polished code, while me and my colleagues all wrote spaghetti. 

Today, I still write spaghetti, but now I can also read spaghetti, so that's progress.

I think they are two very distinct skills, in terms of how fast i can do it, or how much perceived effort it takes. 

And yet you can't do one without having at least some ability to do the other.

2

u/[deleted] Apr 28 '25

[removed] — view removed comment

2

u/locomotive100 May 26 '25

just wanted to say I 100% agree with your sentiments here, and have come to the same conclusions in my career

3

u/kaouDev Apr 27 '25

You probably don't understand it as well as you think you do

1

u/paperic Apr 29 '25

Yes, but the point still stands.

There's a TON of code I can read and understand what it does. But if you asked me to write it, I'd be completely lost.

An extreme example may be fast_invsqrt. It takes few minutes to learn enough C to read it and see what each line does. You may point out that you'll need a lot more thinking juice to get a somewhat vague understanding of WHY it works, but if you spend enough time on it, you'll get a grasp.

But the real question is, could you write it yourself if you didn't know that it existed or that it was even possible?

Or look at McCarthy's lisp paper. It was few pages of code written in a brand new language, describing an interpretter for the very same language. It's fairly easy to read, in fact, it seems almost straight forward. 

But could you come up with it yourself if it didn't exist?

Writing code isn't about replicating existing algorithms you've learned somewhere else, that's what copy paste and libraries are for.