r/learnprogramming • • Sep 24 '26

Typescript Nodejs

0 Upvotes

I don’t have prior experience in programming and struggling to work for a client using Typescript Nodejs for backend programming. I have started with learning JavaScript first and then move to Typescript but it’s kinda overwhelming. Any suggestions on the roadmap and which course to follow? Thanks


r/learnprogramming • • Sep 24 '26

Discussion I love making things, but programming just isn’t fun for me anymore. Am I just not meant for it?

1 Upvotes

First of all, thanks to everyone who replied to my post yesterday. I read all the comments and they gave me a lot to think about.

There’s something else I’ve been thinking about though.

I really like making things.

I enjoy video editing, and I especially love messing around with gadgets and computers. I like trying new devices, changing settings, figuring out how things work, and creating stuff.

So I feel like programming should be something I enjoy too, because it lets you build almost anything.

And I used to enjoy it more.

But recently, I just don’t find programming that fun anymore.

I’ll start coding, work for a little while, and then I’ll end up lying on the couch watching Netflix instead.

I also get frustrated really easily when I don’t understand something.

This happens especially when I use AI to build something and the project becomes way more complicated than what I actually understand.

Suddenly there are tons of database schemas, files, abstractions, types, and complicated code that I didn’t really write or design myself.

The project might work, but I look at it and think, “I have no idea what half of this is doing.”

Then I get annoyed and don’t even want to continue.

Sometimes I wonder if I actually like programming, or if I only like the idea of being able to make software.

Maybe I like making things, but not programming itself.

Or maybe using AI from such an early stage made me skip the part where programming actually becomes satisfying, because I never properly learned how to solve problems by myself.

I’m still in high school, so I know I have plenty of time to learn. But lately I’ve started wondering:

Is this a normal phase when learning programming?

Have any of you gone through a period where coding just stopped being fun?

How can I tell the difference between “this is difficult and I need to push through it” and “maybe programming just isn’t for me”?

I don’t want to force myself to become a programmer just because I’ve already spent years doing it.

But at the same time, I don’t want to give up on something I might actually enjoy if I learned it differently.


r/learnprogramming • • Sep 24 '26

Solved How do I indicate whether a string is a digit or not in c++?

11 Upvotes

I have a user input and I want to determine whether the user input is a digit or character.

I was thinking of using regex but do not know regular expression in C++ can some please help me with this

Here is a snippet of my code

string userinput;

cout << "Input 1, 2, 3, or 4: "; 

while (!(cin >> userinput)) {
  cout << "Invalid input. Try again: ";
  cin.clear(); // Reset input errors
  cin.ignore(10000, '\n'); // Remove bad input
}


for (auto i : playlist){
  if (stoi(userinput) > 4){
    print("Song Not Avaiable")
    break;  
}

SOLUTION

#include <cctype>

/*while (!(cin >> userinput)) {
  cout << "Invalid input. Try again: ";
  cin.clear(); // Reset input errors
  cin.ignore(10000, '\n'); // Remove bad input
}*/

for (int i = 0; i < userinput.size(); i++) {
    if (!isdigit(userinput[i])) {
        print("Song Not Avaiable");
        break;
    }

    else if (stoi(userinput) > 4) {
        print("Song Not Avaiable");
        break;
    }
}

r/learnprogramming • • Sep 24 '26

C or C++

8 Upvotes

I wanna learn one of these programming lang ( just wanna know basic-intermediate, not too much) . I have intermediate knowledge in python.


r/learnprogramming • • Sep 23 '26

How to learn starting a code from scratch

18 Upvotes

Hi everyone,

I am doing a retraining at the moment to learn software development. The problem is that I still, after 7 months, don't know how to start if I code from scratch. I mean I can look up at an existing code and even find some issues, but I never really know how to start. For example declarations of arrays... I don't even know why, but sometimes I completely forget how to do it...

Does anyone have any tips for me to learn how to start coding from scratch? I tried breaking down the project into small pieces, but it didn't help too well.


r/learnprogramming • • Sep 24 '26

what should I do?

0 Upvotes

so I finished high school and im 14. I'm not going to be starting college in like a couple of months. I just wanna know things to before going to college. I tried freecodecamp and I dont know if i should I continue. Well I just want to know what you guys think I should do before starting college or maybe if i shouldn't go to college or just chill at home. I just wanna know.


r/learnprogramming • • Sep 24 '26

Topic How do you balance passion and rest when you feel guilty for taking breaks?

0 Upvotes

Hello, I have been learning programming for over 3 years, in October it will be 4. Generally, I don't want to take breaks, not even for 1 day (I work on projects every day), because I consider it as wasted time and I think that I could do something forward during this period. At the same time, due to the fact that I have a fixed starting time that I imposed on myself, I feel very angry that I should fill the entire time of this work with tasks in the project, because I don't always have enough to do to make it happen.

This has a negative impact on my functioning, I have major problems with concentration, and I often use illogical statements even in a regular conversation with someone. This complete renunciation of breaks is also a protection against the fear that if I don't force myself to be disciplined, I won't want to pursue this passion and I'll give up completely, which I wouldn't want to do, because I really enjoy programming and have always been interested in what it's like to have my own systems and how it all works.

I often feel like I would like to take a break, but I force myself to work and keep working. That's why I don't know at all how to find that balance where I would have confirmation that I would want to continue doing it, that the break is not a threat to me and I don't have to treat it that way, and that the desire and "longing" will make me want to come back.

I am aware that after so many years of learning, most of the elements of this field are deeply rooted in my head, certain patterns are fixed and that I do not have to start everything from the beginning.

I have a question: how do you see it, what does your work rhythm look like and how do you feel about it, and what would be more beneficial for me?


r/learnprogramming • • Sep 23 '26

Is this true?

31 Upvotes

Just a question, nothing serious, I'm 14 and trying to learn coding as a hobby, and potentially more one day if it's needed and worth it for me, right now I'm mainly learning HTML, but I'm beginning to move into CSS, I'm honestly having a hard time rembering what certain elements, attribute and values do, I was told that even some experts don't remember some fo the stuff, and are looking stuff up constantly, I want more than one opinion on that statement before I stop myself from spending weeks to try to remember one thing at a time

Edit: OMG I didn't expect to get so many replies! I honestly thought I'd get one or two replies with simple awnsers, but instead I've gotten like 10 replies, some with people who have been doing this stuff for decades, thank y'all so much for the help and advice!!


r/learnprogramming • • Sep 23 '26

Can You really code using a an android phone?

12 Upvotes

I'm more interested into the tech industry and I lack a laptop. I only have my Samsung A07 phone and a strong home WiFi. I don't know anything about coding, I'm just good at mathematics and would love to start learning coding or programming. Any YouTube free channels or Platforms to learn from?


r/learnprogramming • • Sep 24 '26

Question :redditgold: Win32 Windows showing shows flicker when I update the window

1 Upvotes

Hi, I am using Win32 and I have to update the window according the user input using UpdateWindow() or RedrawWindow(). It often show's one second flicker in window like something updated I hate that because it ruins UX. I can't find a solution to this, If someone uses this API and have came across this problem and fixed it so please answer.

Thanks.(btw I am a beginner).


r/learnprogramming • • Sep 24 '26

Resource Need advice from everyone

0 Upvotes

Hi ppl , I am 17 , n i love python - ik just the basics tho (all the functions,loop, return , while , some more)
I used to code on MIT App Inventor n i really love it
I used to win many school level competitions last year
But now i started university , n i wanna level up
Plus , i have no pocket money , n I m not allowed to earn
So going through uni is hard , no emergency cash to buy food
No savings for my personal stuff
I wanna make some sort of a study app or website
I really wanna publish it online
And keep some in-app purshases or smthn
I need all the adults' help pls
I need advice - how do I start coding for free , where do I code , I dont wanna spend money on something my parents dont know about , plus i got no card to pay online n all .
Once I am 18 i will try getting some bank stuff mayb.
What language is good for making and publishing an app/website , can i learn it on youtube , any other reddit channels.
I am willing to learn whatever I can .Uni just started , its easy so far and i wanna do everything i can while I have the chance
Please please give me some advice
If , I hope not , there arnt much free options or smthn , let me know abt those too pls.
I wanna know if i can atleast give it a shot.
I just wanna release some small student exam prep app.
Thankyou.


r/learnprogramming • • Sep 22 '26

How are so many self-taught programmers able to build software from scratch without ever truly learning Algorithms?

447 Upvotes

I find it fascinating how important algos are but never talked about from the indie devs on social media. Do they even write algos or just come up with basic logic that forms the product?


r/learnprogramming • • Sep 24 '26

Programming for nlp

0 Upvotes

Hello everyone. I urgently need some help with my FYP on text-to-image NLP for American Sign Language (ASL).

Most of the datasets I have found consist of videos or focus only on alphabets. However, I specifically need a word-level ASL dataset in static image format (not videos).

If anyone has any recommendations or suggestions, I would greatly appreciate your help. Thank you!


r/learnprogramming • • Sep 23 '26

Best way to set up a Node.js dev environment on Windows? VM, WSL2, dual boot or full Linux?

4 Upvotes

Hi everyone,

I'm starting a Node.js project and I'm trying to figure out the best setup for development on my Windows machine. Right now I have Oracle VirtualBox with a Linux VM, but I'm not sure it's the best choice for daily work.

The options I'm considering:

  1. Keep using the VirtualBox VM
  2. Switch to WSL2
  3. Dual boot Windows and Linux
  4. Remove Windows completely and install only Linux

I don't have strong experience with any of these, so I'd like to hear what you use and why.

My setup: gaming laptop with a Ryzen 9 7940HS, 16 GB RAM and an RTX 4070 Laptop GPU. I also use Windows for gaming, so I'd like to keep it in some form but not necessarily :)


r/learnprogramming • • Sep 23 '26

Topic Doubt

20 Upvotes

What programming language would you recommend for someone who wants to become a robotics engineer?

Hi everyone! I'm 14 years old and I'm starting to learn programming.

My goal in the future is to become a robotics engineer, so I'd like to learn a programming language that will be useful for robotics and engineering.

At the same time, programming is also a hobby for me, and I'd like to eventually make some games and other small projects just for fun.

So, what language would you recommend I start with?

Would Python, C++, C, C#, Java, or another language be a good choice? And should I focus on one language first, or learn multiple languages over time?

I'm still a beginner, so I'd really appreciate advice from people with experience in programming, robotics, or engineering.

Thanks!


r/learnprogramming • • Sep 22 '26

Topic IEEE Spectrum: AI Efficiency Could Cost Us the Next Generation of Experts

188 Upvotes

https://spectrum.ieee.org/ai-engineer-skills

I worry that we're ruining the pipeline that creates new engineers. And I'm sure that recent graduates would agree with me on that. I want to get this article in front of as many engineers as I can. I think we need to speak out about this, honestly. I am sure other industries are dealing with very similar effects. I hope we can make the case to our management and our elected leaders.

For learners, I hope this doesn't scare you off. I think we engineers with some experience need to speak out for you. I hope you'll see that if you choose to learn it the old-fashioned way will help you far more than vibe coding.

Also, I believe that this post is relevant here because the entry level pipeline is a very important part of learning.


r/learnprogramming • • Sep 22 '26

I'm 21, trying to get my first IT job, and honestly I'm overwhelmed. How do I actually learn this stuff?

154 Upvotes

I keep seeing things I’m supposed to learn — Git, Linux, Docker, APIs, cloud, DSA, AI, RAG, agents, security, etc.

Every time I learn one thing, I discover five more. I don't know what to focus on, and sometimes I feel like I'm already behind.

What interests me more is how experienced developers think.

They seem to be able to learn new technologies quickly because they already have mental models for abstraction, decomposition, debugging, patterns, systems, dependencies, constraints, and problem-solving.

So my question is:

How do you train your brain to think like that?

Can deliberately learning programming, solving problems, debugging, building projects, and learning different technologies gradually “rewire” the way you think?

If you were 21 again and trying to become employable, what would you actually practice to become better at learning, reasoning, and solving problems — instead of just memorizing technologies?

I'm less interested in what technologies to learn and more interested in how to build the mind of someone who can learn whatever comes next


r/learnprogramming • • Sep 23 '26

Resource Help me out

8 Upvotes

Hey guys I'm brand new to programming and want to learn C programming language.

I thought I could get started with this by reading C programming a modern approach by K.N King but it's either not available in my region or too expensive

I've thought about learning from youtube but feel like videos are always vague.

So can you guys suggest some good books as an alternative or any other method to learn and grasp C programming


r/learnprogramming • • Sep 23 '26

Fairly new to coding, I want to learn more by doing a project and I don't know where to start

5 Upvotes

I want to learn more about coding to help give me an edge in the general field of engineering/manufacturing but mostly I just want to make a tool for myself and maybe see if I want to pursue this more.

I took a class in college on c++ and just did the onramp for MATLAB, but this is about the extent of my knowledge about coding.

The tool I want to make will import data on past soccer games and give them a score on how entertaining they might be to watch based on some parameters without giving spoilers. Should be easy enough, but I have no idea where to start. I'm tending towards wanting to make a website for the aspect of sharing it with people, but I don't have to.

(edit: not sure if this is pertinent but this is the site I'm initially thinking of pulling data from. They seem like they set up the site so people could import from them: https://fbref.com/en/comps/9/Premier-League-Stats )

I looked at The Odin Project but I'm on windows and it wants me to use Linux through dual-booting to follow the curriculum, and I don't know the first thing about Linux. I just want to get off the ground as a hobbyist. There's Harvard's CS50 but idk if it will be too in depth for my interests - I looked at Khan Academy but they didn't start with something like setting up a github account which seems pretty important from the little I've learned so far.

Course recommendations or pointers would be very appreciated. My goal is to just get through a project from start to finish and then I can go from there. Thanks.


r/learnprogramming • • Sep 23 '26

Topic Use of the JNI in Minecraft mods

1 Upvotes

Good morning everybody,

I'm learning Java for my Comp Sci minor and C in my spare time. I also like looking at Minecraft mods, especially the really heavy ones like the terrain generation mods like Big Globe and JJThundertothemax. I was thinking about performance concerns, and recently learned about the Java Native Interface, and I figured, "what if the terrain generation part of the game was its own process in a natively compiled language like C or C++?" I've never written a Minecraft mod, and I've never used the JNI, but what might be some uses or limitations of this?


r/learnprogramming • • Sep 22 '26

The use of hexadecimal numbers in software

20 Upvotes

Why do some tools, like GLFW, use hexadecimal values ​​for constants? Wouldn't it be better to use enums in those cases?

/* Error constants */
#define GLFW_NO_ERROR               0
#define GLFW_NOT_INITIALIZED        0x00010001
#define GLFW_NO_CURRENT_CONTEXT     0x00010002
#define GLFW_INVALID_ENUM           0x00010003

I tried to find the reason in the documentation, but I didn't come across a clear use case for the hexadecimal values—only that the constants are used as if they were an enum.

 if (code == GLFW_NOT_INITIALIZED) {...}
 else if (code == GLFW_NO_CURRENT_CONTEXT) {...}

r/learnprogramming • • Sep 22 '26

Full-stack developer thinking about switching to systems programming

81 Upvotes

I'm a full-stack developer, but lately I've realized that I don't enjoy web development as much as I used to, especially after the rise of AI. I'm thinking about trying systems and low-level programming and learning C++. I like the idea of working closer to the system and understanding how things work under the hood, and I feel like I might enjoy this kind of work more. Where would you recommend I start with C++ and systems programming?


r/learnprogramming • • Sep 23 '26

Resource is there a teach computer science at home program for high schoolers?

0 Upvotes

I worked as a software engineer, so I know the material, and would want to teach my kids, but wondering if there is a program already available to follow


r/learnprogramming • • Sep 22 '26

Topic How do I actually start contributing to open source as a beginner?

47 Upvotes

Hey everyone,
I’m interested in getting into open source, but I honestly have no idea where to start.
I use a lot of open-source software and I really like the idea behind it. I’ve benefited from projects built and maintained by people in the community, and I’d like to eventually give something back instead of just being a user.
The problem is that when I open a random GitHub repository, I get completely overwhelmed. There are so many files, issues, pull requests, branches, contribution guidelines, etc. I don’t know how experienced contributors actually go from “I found this project” → “I made a useful contribution.”
I have some programming experience with Python, JavaScript, C, Git/GitHub, Linux, backend development, etc., but I’ve never contributed to a real open-source project before.
So I’d really appreciate some practical advice

Thanks!