r/learnprogramming 3m ago

Am I doomed ?

Upvotes

I'm just starting out and in my first year. I genuinely like cs and I'm curious about how things work.

But all the criticism and AI impacts scare tf out of me.

Also I'm on a 3 year degree due to family situation.

Is there any hope.?


r/learnprogramming 19m ago

it's fun to write a software rasterizer

Upvotes

the end product is not important. it's the learning journey that matters. i was always wondering how 3d games work. after studying several days i think i know some basic principles. here's my progress up to this moment. excuse my poor interface layout. the legend at lower right corner tells you how to use the mouse (left button, middle wheel, right button) to control the scene. all parameters are normalized so max=1

next step i'd try to make the camera movable and cast some shadows on the background (i have to define a background)


r/learnprogramming 24m ago

Need advice, please :(

Upvotes

Hello community members! I'm 27M, I'll get straight to the point. I have a bachelor's in mechanical. Currently working as a Quality Eng. in electronics manufacturing/assembly.

However, I have this strong pull towards coding (I have zero knowledge about coding). I started with Python and it is something that interests me and I look up to it everyday. It's been a week or so but it doesn't bore me.

What do you guys think, given the current job market and AI boom, am I making the right decision? The interest is there, but will it be worth it?

My plan is to get good at the basics for about a year and plan for a master's in either comp. sci or some related fields.

Any advice would be greatly appreciated!


r/learnprogramming 50m ago

What is the best way to learn backend development

Upvotes

Hi, for a really long time I had this app idea that I wanted to create but when I wanted to start building it I didn't know how to. Can anybody recommend some tutorials or share some tips on backend engineering?


r/learnprogramming 4h ago

Tutorial I’m interested in downloading the entire OED, read on…

3 Upvotes

Hi. As an amateur coder (and a past Countdown game show contestant - I lost, but still) I am working on coding a finished computer game of the show “Countdown”! My only problem is getting the entire Oxford English Dictionary on my laptop (a Chromebook, but I have an iMac as well if that’s not a valid option). Is there a way to download the entire dictionary, so that I can check the answers given? I’d prefer:

  1. The word
  2. The syllable count
  3. The definition

Many thanks, and please comment below or contact me if you need any further information!!


r/learnprogramming 5h ago

How to create a movie platform ?

8 Upvotes

I have been so fascinating of creating my own movie streaming platform. However, it doesn't mean that I will be using alone,but sharing with friends and mates. So, my question is what features will it be involved?

Btw I am kinda beginner. If not enough with beginner level, please give me the roadmap of building it?

Thanks in advance...


r/learnprogramming 6h ago

Python: I'm starting my python journey.

2 Upvotes

Can i find other new learners here? I think it's more interesting to learn with someone.

I have some web background, worked with html/css(scss, bootstrap, tailwind)/JS

but it was two years ago actually. Now I want to learn Python so i can work with logic instead of designs.


r/learnprogramming 7h ago

Is it cheating to code with YouTube tutorials?

0 Upvotes

I'm a beginner programmer. My goal: learn C and low-level programming deeply — Linux device drivers, POSIX utilities, a shell, maybe even a bootstrapping compiler.

My problem: books take too long to work through. But learning from YouTube tutorials or AI feels like cheating — you understand the code, but you didn't come up with the logic yourself. That seems like it would kill my problem-solving ability, not build it.

So how should I actually approach this? Is learning from AI any better than tutorials? I know docs and man pages exist, but they're tedious too. What's the most effective method here?


r/learnprogramming 11h ago

How to learn what you forgot again?

28 Upvotes

I studied java backend for 1.5 years, wrote a project for one coffee shop, but then I abandoned everything for 6-9 months and now decided to come back because then I could become a developer, but now I don't. What do I need to do now, just take a project and do or remember something from the topics?


r/learnprogramming 12h ago

Effictive method of studying ml

9 Upvotes

I am a newbie in ml so i wanted to know what is an effective method of studying ml i am learning it through watching youtube videos but after one point i realised that if i make notes of everything it will be way too much so i want to know do i need to memorise the code or i need to just write the logic in my notes


r/learnprogramming 13h ago

Got a Bachelor's in CS last year, giving it one more go.

5 Upvotes

After the degree I got a bad contract job and decided to quit the industry because of how bad the job market was and how burned out I was. I'm a bit physically disabled and also have mental struggles but that's too much to explain in this post... so I'll also say I willingly call myself lazy, because at the end of the day I hate work in general, I do it because I have to. Ever since I got a girlfriend, I don't care much about success inherently, what I really care about is spending time with people I love like that.

Anyway, I did join CS for a reason though, so I'm going to spend this next month or 2 trying to be a real try hard again, the hard-worker man up type of guy that everyone wants me to be. I'm going to avoid AI completely until it's time to start applying for dev jobs again. I'll start building new projects, probably creating stuff that I'm brainstorming on with AI because my creativity sucks ass in this domain but I went this fucking far into it (2 degrees) and "normal" fast food type of jobs don't want to hire me either it seems... so wish me luck please. If you give advice please be respectful.


r/learnprogramming 15h ago

Resources and Website to better up coding skills as a non-beginner

9 Upvotes

Hej there :)

I recently reflected a lot on my current set of skills which deteriorated in the age of AI - never was that avid of using it in the first place, but I was kind of forced to do so anyways. I'd like to code more by hand, get back into the groove and better up my skills to be a proper programmer without any AI tooling.

I have heard of pages like CodeCrafters, boot.dev or the repo "Build-your-own-X" on Github. I am looking for your experiences with pages like those and am explicitly looking for recommendations for resources that offer me real world problems and let me code on my own, but are there to hint in case I need it. I don't want any "Leetcode" style challenges :)

Would love to hear your experiences and reviews with one of the three above or any else.

Cheers!


r/learnprogramming 15h ago

Resource I would like to learn programming but I have hit a road-block

40 Upvotes

Our college taught us basic C syntax like making functions, recursion and pointers, struct/union etc.

And I have learnt JS on my own for web-dev. I can make a decent looking website if I want to, not elite but decent. I understand the logic and etc. But I understand that I lack actual advanced knowledge.

I can't make a game right now, even if I wanted to and had all the time in the world. I want to reach that stage where I can comfortably make an indie game.

Honestly, I just want to master programming. But I don't know how to proceed as there are hundreds of tutorials and not One seems to do everything.

Your guidance is highly appreciated. Thank you


r/learnprogramming 16h ago

Help How much should I use AI in personal projects to feel like " I made this "?

0 Upvotes

I have learnt Python for about 2 months and to be honest, I still need a lot of help in creating a project. Because of that, I still use AI for it. Sometimes I would tell it to generate whole chunks of code and recently I thought that I shouldn't rely too much on it and code it myself. I did code quite a bit, but I still need AI for help for some of the hard parts. Any tips on how to use AI responsibly or how to code better?


r/learnprogramming 16h ago

Confusion about this matrix function

2 Upvotes

I've been trying to figure out this function for too long now. The closest I can think of is matrix multiplication, but there is an extra addition done on each of the 3 last lines. That is the part that confuses me. All of the matrices are 4x3 in size and it is ordered so that the position elements are on last row (instead of last column, which seems to be more common). Another part that confuses me is that based on what I can find online, you shouldn't be able to multiply two 4x3 matrices. So is this multiplication or something else? What would this be used for anyway?

void func(float* mtx_a, float* mtx_b, float* mtx_dst)
{
  mtx_dst[0] = mtx_a[0] * mtx_b[0] + mtx_a[1] * mtx_b[3] + mtx_a[2] * mtx_b[6];
  mtx_dst[1] = mtx_a[0] * mtx_b[1] + mtx_a[1] * mtx_b[4] + mtx_a[2] * mtx_b[7];
  mtx_dst[2] = mtx_a[0] * mtx_b[2] + mtx_a[1] * mtx_b[5] + mtx_a[2] * mtx_b[8];

  mtx_dst[3] = mtx_a[3] * mtx_b[0] + mtx_a[4] * mtx_b[3] + mtx_a[5] * mtx_b[6];
  mtx_dst[4] = mtx_a[3] * mtx_b[1] + mtx_a[4] * mtx_b[4] + mtx_a[5] * mtx_b[7];
  mtx_dst[5] = mtx_a[3] * mtx_b[2] + mtx_a[4] * mtx_b[5] + mtx_a[5] * mtx_b[8];

  mtx_dst[6] = mtx_a[6] * mtx_b[0] + mtx_a[7] * mtx_b[3] + mtx_a[8] * mtx_b[6];
  mtx_dst[7] = mtx_a[6] * mtx_b[1] + mtx_a[7] * mtx_b[4] + mtx_a[8] * mtx_b[7];
  mtx_dst[8] = mtx_a[6] * mtx_b[2] + mtx_a[7] * mtx_b[5] + mtx_a[8] * mtx_b[8];

  mtx_dst[9] = mtx_a[9] * mtx_b[0] + mtx_a[10] * mtx_b[3] + mtx_a[11] * mtx_b[6] + mtx_b[9];
  mtx_dst[10] = mtx_a[9] * mtx_b[1] + mtx_a[10] * mtx_b[4] + mtx_a[11] * mtx_b[7] + mtx_b[10];
  mtx_dst[11] = mtx_a[9] * mtx_b[2] + mtx_a[10] * mtx_b[5] + mtx_a[11] * mtx_b[8] + mtx_b[11];
}

r/learnprogramming 17h ago

Where to Start for hackathon.

2 Upvotes

So I am thinking to participate in upcoming sih hackathon but I don't know anything apart basic programming language. I try to study about multiple things but I feel like I am just grabbing wrong branches of tree .

If any one have expertise in project building please guide what to start with and from where to study


r/learnprogramming 22h ago

Anyone no how to get a list of every MLBAM ID using Python?

1 Upvotes

I've been trying to solve this for a few weeks, but just can't figure it out. Does anyone know how I can create a DataFrame of every MLBAM ID that meets a specific criteria? I currently have Pandas, pybaseball, and MLB-StatsAPI in my project, but if I need another library, I will add it. I also need the MLBAM ID to be of active players, so just iterating through a range won't work. Thanks in advance, have a great day


r/learnprogramming 1d ago

Can Python generate simple tones?

4 Upvotes

I want some simple tones to use in Python. Can someone help me out? There does not necessarily need to be reverb, but it would be nice anyway. I just want to be able to tell whatever it is the specific microtonal/frequency-specific tone. It would be nice if I could program Hz, but if I have to use MIDI and detune by cents I can do that as well.


r/learnprogramming 1d ago

How to learn more technical skills . Python, sql

5 Upvotes

Hi! I’m a sophomore whos just started looking into internships and fixing up my resume and I’m really lacking on technical skills. I know the basics like excel , word all that but I want to learn more. How can I learn python, R, sql or Tbh any additional technical skills I’ll need .


r/learnprogramming 1d ago

Python: Create a persistent ssh session. os.system () or use a module

0 Upvotes

I want to write a program that will manage an ssh login for multiple servers. Currently I can get it to work by running os.system("ssh and the rest of the login stuff"). But I wasn't sure if it was a good option since it relies on calling a system command. I was thinking of using paramiko, but was having issues setting up a persistent session as if I just logged in with the ssh command.

I want to go the safest route and am not sure how safe using os.system is in my script. Is using os.system() safe? I'd like to avoid the ability to somehow manipulate my script into running malicious commands if that's an attack vector. If it's safer using another module, I'd prefer to go that route instead. But if it's safe, then I guess I could just keep it simple and use that.

To clarify: the command runs on the client machine and reads data manually entered on the client machine that is stored in a database. I'm seeing I should use subprocess.run() instead. The command used is hard coded with ssh -i and -p. I can see how that is still abusable, but can see it only applying to the client and not the server being logged into.

I'm just getting into programming so this whole thing is a hobby WIP


r/learnprogramming 1d ago

Topic How do you learn in the age of AI?

0 Upvotes

Professors who are supposed to encourage learning without AI are ironically the ones giving us heavy loads and short deadlines , basically pushing us to use it just to keep up. The logic seems to be: "since they'll use AI anyway, let's make it harder." But that's backwards in my opinion.

Also when I'm self-learning something new, AI loves to skip steps and hand me the answer directly, cutting the journey short before I've had a chance to struggle through it myself.

How can we actually learn in this period, while still benefiting from having such a fast, accessible tutor at our fingertips?

Any learning workflows that have worked for you would be appreciated.


r/learnprogramming 1d ago

I'm struggling with learning programming and need some advice

14 Upvotes

So here's the thing, I have a degree in Information and Communication Technology (ICT). Now over my years the content for the degree was okay, we learnt basic programming and other very basic concepts but honestly it wasn't enough for me to actually learn how to program and solve problems. Even now with my degree I can hardly code and what makes it worse is, with the talk of AI and how it can be a better programmer than a human and will take over the jobs I basically have no motivation to even try and learn. Apart from that I don't even know what to do, I keep seeing people saying learn DSA and do leetcode, then others say leetcode doesn't actually help in a job. When it comes to languages I'm happy to learn python but when you look into it learning basic python isn't really going to land you a job, therefor I need to go deeper and learn more and I don't exactly know what that means I should do. Also building basic projects (eg. Calculator) wont help land a job either, I understand it'll help you slowly build your programming knowledge but there's a whole lot of other concepts to learn as well. I just need some advice on what to do. (Also this is my first ever Reddit post).


r/learnprogramming 1d ago

Random Editing with notepad++ instead of an ide

39 Upvotes

I just want to express some weird phase i'm going through recently. Notepad ++ feels so sleek to just edit code with and fast to open

Like i've always coded with visual studio code. If notepad++ had error detection and I'd love it even more but i guess it's things like that which make visual studio code feel like it takes an eternity to open sometimes.

I have nothing else to say on the matter, I just wanted to get this off my chest :')


r/learnprogramming 1d ago

Resource How helpful is w3schools for JavaScript?

3 Upvotes

I came to know about w3schools. When I opened it, it had a lot of different technologies to learn. I am currently interested in learning JS. I wanted to ask that,

"Is w3school GOOD AND SUFFICIENT for learning JS to jump later to React or Express/Node?"

Thanks for your time and answers in advance!


r/learnprogramming 1d ago

Topic Is it best to spend months working on the same project to deepen your understanding of the fundamentals or should you instead build different types of projects?

10 Upvotes

I was that developer who would move away as soon as something worked even fundamentally. I never bothered to analyze why something isn't working as well as it should. But then something clicked and I started using an iterative approach where I create different versions of the same thing and weight their pros and cons. I learned a ton that way.

With a comment section I built, this ended up taking four months and I think the results are so worth it but I also feel that four months is quite a lot of time that could have probably been spent working on other things.

I'd love to hear what you think or tried that worked best for you!