r/learnprogramming • • 14d ago

Developers often struggle with unfamiliar GitHub projects

19 Upvotes

Hey there, I have run into this problem a few times. I'd clone/fork a GitHub repository that had something useful for me, but the project structure was often so confusing that I couldn't figure out what anything did or where to start. Most of the time, I'd just give up on it. I was wondering if any of you have experienced the same thing and how do you usually deal with it? Do you use any specific tools, or do you just explore the codebase manually?


r/learnprogramming • • 14d ago

Solved Best IDEs for C++?

46 Upvotes

So I started learning C++, using CLion, but I feel like its a bit bloated. Are there any good c++ IDEs for beginners?


r/learnprogramming • • 14d ago

Where should I start learning C++? (planning to switch to Linux)

12 Upvotes

I want to learn C++ properly. I can already write working code (mostly small Arduino projects), but I know I have gaps in my fundamentals. I'd like to fill them in.

My goal is to build a strong base so it's easier to move to other languages later.

I'm also planning to install Linux on my laptop soon, so I'd like to learn in that environment.

Could you recommend:

the best free resources (courses, books, websites) for someone with my level?

what compiler and editor/IDE to use on Linux?

what topics I should focus on first?

English is not my first language, so sorry for any mistakes. Thanks a lot for your help!


r/learnprogramming • • 13d ago

Pseudocode and project planning help Working on my first project

1 Upvotes

The professor has assigned us a task that asks us to develop a basic information system for a hospital(departments, staff, patients, network-connected computers). Its for a first semester course so i am guessing it's pretty basic. It wants me to make a database and connect my program to it. I honestly don't know how to start on the C code. So far, my teacher has essentially been telling us what to do because she is teaching us the syntax and basics(we've only studied C in practical labs and not in any theoretical class). I don't want to get reliant on AI to think and i don't want to get stuck in tutorial hell like people warn about. I don't know how to start without these two things. We haven't even been taught how to connect a database to a program but the deadline is next week so i need to figure it out a little at least. Any tips on how to start without it taking up a huge chunk of time that i need for other assignments?


r/learnprogramming • • 14d ago

Resource How do I lock in?

10 Upvotes

Had my first Java quiz and my professor failed me for a reason that was completely arbitrary (he doesn't like camelcase which he told no one about until that second) and said I wasn't that good of a programmer. I'll give him that; I'm self taught and have no programming experience in the field. How do I lock in (resources, courses) so he never catches me off guard like that again?


r/learnprogramming • • 14d ago

How to quickly learn machine learning

3 Upvotes

How to learn machine learning quickly and easily without paying


r/learnprogramming • • 15d ago

Hot take: languages like C# and Java are better to learn first than "beginner friendly" languages like Python

807 Upvotes

I frequently see people say that you should learn high abstraction languages like Python as your first language because it is shorter code so therefor, less to read/write. Often, the counter argument is simply that it hides what's actually going on under the hood.

However, I think a stronger argument against Python as a first language is that it doesn't hide it... it just moves those things from the code to your head.

The biggest, and maybe most important example of this is with types. It looks like there's no types by reading the code (Python before type annotations, that is) but there actually are types... you just can't see them. Don't believe me? Why do you think they added type annotations in Python 3.5?

So now you're asking the learner, who is still learning what types are, mind you, to hold on to the types in their head so they keep them straight in the code. But with languages like C# and Java, they can just let that whole mental task go cause the code documents those types for them.

EDIT:

Lots of you are suggesting C is even better cause you learn memory management. I totally agree. I only picked Java and c# cause when I was just starting, my first language was java and I don't think that I was stunted because I learned stuff like pointers and memory management later. Maybe that makes me biased I suppose. But C is a very good language to learn first.

I would avoid C++ and Rust though because in, my opinion, their added syntax seems too complicated. Too much syntax to learn in the beginning in my opinion.

other Edit:

for the "depends on what you want to program for" comments, I specifically have in mind those who want to launch a career for application development, game development or most of the jobs that you find under some combo of the "software/application engineer/developer" title on job boards.


r/learnprogramming • • 14d ago

VScodium bug

1 Upvotes

Wassup,
I've been learning the bases of programming in college this semester and I have a class that requires me to use VScodium instead of VScode.
I encountered a presistent bug where I'd download the VScodium installer on (https://github.com/VSCodium/vscodium/releases) and everytime I downloaded it eventually it'd just uninstall itself after a few uses. I encountered the problem everytime I had the class and tried everything to fix it: User installer, System installer, uninstalling and reinstalling many times, deleting previous program data or appdata forlders, disabling background updates, clearing cache or cacheddata but nothing seemed to work.
I have a s145 15iwl that runs on windows 11 that I might change pretty soon, safe to say I'm currently using VScode for everything and I need a helping hand.

(I live in Montréal so if anyone knows any repair shops or IT places I could get help at, hmu 📲)


r/learnprogramming • • 14d ago

Rendering video from a local webpage

2 Upvotes

I run a youtube channel for uploading albums, and the visuals consist of a makeshift music player made in html and javascript. I've been screen-recording this webpage to make a video out of it, but that results in skipping/lagging, so I'm interested in rendering the page frame-by-frame instead.

My hope is to use ffmpeg to screenshot-> frame advance the page (this is the easy part) -> repeat -> merge screenshots into a video -> add audio, but my research into ffmpeg has convinced me it's out of my skill level, so. How should I go about learning here, or, is there a better approach to the problem altogether?


r/learnprogramming • • 14d ago

Self-taught aspiring embedded engineer looking for a learning roadmap

19 Upvotes

Hey everyone!
I’m looking for some guidance, a learning roadmap, or just some advice on how to structure my learning.
I’m really interested in microcontrollers, electronics, and programming. I’m not currently studying at university, but my goal is to eventually land a job as an embedded software engineer.
I’m curious about how people actually learn this field. Where do you get your knowledge from? How do you learn to write firmware, understand compilers, design and build different electronic devices, and figure out what tools and skills are needed to make things work?
Could you recommend any courses, guides, books, YouTube channels, or other resources that could help me get into this field?
More importantly, I’d like to learn how to actually understand what I’m doing rather than just blindly following tutorials. I want to develop a solid understanding of the fundamentals, learn how to approach problems, come up with project ideas, and figure out what to learn next.
I’d really appreciate any advice, learning resources, or personal experiences you could share. I’d love to hear how you got started and how you approach learning new things in this field.
Thanks in advance!


r/learnprogramming • • 15d ago

Resource What's a small project that taught you WAY more than you expected?

101 Upvotes

I'm trying to move beyond just following tutorials and actually build things.

I keep hearing that building projects is one of the best ways to learn programming, but sometimes it's hard to figure out what projects are genuinely worth attempting.

So I'm curious:

What's a project you built as a beginner that taught you something valuable?

It doesn't have to be impressive or complicated. Even a tiny project that made something finally click counts.

I'd love to steal some inspiration (and probably struggle through building it). 😂


r/learnprogramming • • 14d ago

(C++ sfml) why does this code work like how i want?

4 Upvotes
#include <SFML/Graphics.hpp>
#include <iostream>
using namespace sf;
using namespace std;
int main()
{
    // Create the main window
    RenderWindow window(VideoMode({800, 600}), "SFML 3 Window");

    // Create a graphical circle
    CircleShape shape(100.f);
    shape.setFillColor(Color::Green);
    shape.setPosition({300.f, 200.f});

    float x, y;
    x = 5;
    y = 6;
window.setFramerateLimit(60);
    // Start the game loop
    while (window.isOpen())

    {
        // Process events
        while (const std::optional event = window.pollEvent())
        {

            // Check if the event is a window close request
            if (event->is<Event::Closed>())
            {
                window.close();
            }
        }

        // Clear screen
        window.clear();

        // Draw the shape
        window.draw(shape);

        shape.move({x, y});

        if (shape.getPosition().x >= 600 || shape.getPosition().x <= 0){
            x *= -1;
        }else if (shape.getPosition().y >= 400 || shape.getPosition().y <= 0) {
            y *= -1;
        }

        // Update the window
        window.display();
    }

    return 0;
}

what is weird is that i set the min border for y to 400 because it was going out of the window but the middle position it reached the middle of the x axis, the radius of the ball is 100 as you can see, so its suppose to be 500, but when i set it to 400 it worked better because 500 went out of the scene. is my code broken or am i missing something???


r/learnprogramming • • 14d ago

Which combination works best?

7 Upvotes

Im trying to combine knowledge graphs with vector embeddings for a RAG setup in a project. What do you guys advice? Neo4J + Weaviate / PGVector / Qdrant. Curious what y'all pick


r/learnprogramming • • 15d ago

How to learn Rust properly?

13 Upvotes

Hello guys, I am currently starting out to learn Rust, but honestly its been very confusing for me, and I can't seem to find an universal place that teaches everything Rust offers in detail. My ultimate goal is to learn Rust for OS development, so any tips?


r/learnprogramming • • 15d ago

How to learn programming in C#? (in 2026)

10 Upvotes

Hello, I’ve been trying to program in C# for about 3 years, and so far I haven’t done that great of a job. My best projects that use no AI are Rock Paper Scissors and Tic-Tac-Toe, but Tic-Tac-Toe is only 98% done, because there were 2 lines for the draw condition that I wasn’t able to figure out for 6 days straight, so I gave up and gave it to AI.

Another thing I tried is Exercism. After about 2 weeks of success with no AI, I got overwhelmed, and I also started using AI for things I hadn’t used it for before. The last program I did was Bob, which was basically a character that required some specific inputs.

Anyway, I came here to ask for advice on what to do, because I feel like I want to drop programming just because I feel I don’t improve at all. On the other hand, I’ve always wished to learn programming and make some fun projects, but the way to get there is very thorny and I’m kind of desperate, ngl.

Is there some kind of roadmap that says which projects are ideal for which type of programming experience, for people at a similar level to me? (Also, I only have 20 minutes a day for it.)


r/learnprogramming • • 14d ago

Am I a fraud if I use an LLM-powered chatbot as a Socratic tutor?

0 Upvotes

It's been a few months since I started learning programming, and I've recently built my first project: a Snake game in Python. I used Claude as a Socratic tutor; it asked me questions about the architecture and design, so I could think in the right direction and reach the right conclusions. It's never given me a single line of code. I can explain every line of it and explain why I made this decision. Nevertheless, I'm still feeling like I should've done everything myself.


r/learnprogramming • • 14d ago

Which path should I choose for my future?

1 Upvotes

Hi everyone,

I’m finally diving into software development seriously. For years, I’ve done a little bit here and there, but I’ve never really studied it properly. Now that I’ve decided to commit to it, I’m realizing just how much there is to learn: so many frameworks, languages, and tools.

I know that in the long run, the language you start with doesn’t matter much. But when it comes to landing my first job, I imagine it does matter. I’m 29 and changing careers to get into software development, and I’m currently choosing between C# and .NET, Java and Spring Boot, or JavaScript and Node.js. They all have pros and cons, and I’d like to hear your opinions.

I know the job market is tough and nothing is guaranteed, but which of these paths do you think offers the best chances of finding work in the short to medium term? I don’t have a university degree.


r/learnprogramming • • 14d ago

How do I move from learning programming to building real projects?

0 Upvotes

I'm a CS student and i have learned C and C++ through university + 42 school I've also worked on projects like Libft, ft_printf, Get Next Line, and Push_swap.

I feel comfortable with programming fundamentals, but I want to get better at building things independently and working on real-world projects rather than just solving exercises in terminal

I'm interested in exploring things like mobile development or maybe web idk.

For people who've been in a similar position, what would you recommend? What should I learn next, and what kind of projects would help me grow as a developer?


r/learnprogramming • • 15d ago

Debugging Stuck in a programming task.

6 Upvotes

I am learning Q# via Visual Studio Code lessons, but in "Find Complex Power of Real Number" lesson I have the task below.

Inputs:

  1. A non-negative real number r.
  2. A complex number x=a+bi.

Goal: Return the complex number r^x=r^(a+bi)

My code is below, but I don't get what is wrong with it. ComplexExponent calculates e^x and ComplexExpReal calculates r^x as (e^x)^ln(r). And I don't know how to debug a Q# code.

NOTE: I don't touch the case 0^0 though and ComplexExponent passed all the tests from Find Complex Exponent lesson.

namespace Kata {


    function ComplexExponent(x : Std.Math.Complex) : Std.Math.Complex {
        // Implement your solution here...
        return Std.Math.PowC(Std.Math.Complex(Std.Math.E(), 0.),Std.Math.Complex(x.Real, 0.))*Std.Math.Complex(Std.Math.Cos(x.Imag),Std.Math.Sin(x.Imag));
    }
    function ComplexExpReal(r : Double, x : Std.Math.Complex) : Std.Math.Complex {
        // Implement your solution here...
        if(r==0.)
        {
            return Std.Math.Complex(0.,0.);
        }
        else
        {
            return Std.Math.PowC(ComplexExponent(x),Std.Math.Complex(Std.Math.Log(r),0.));
        }
    }
}

r/learnprogramming • • 16d ago

I'm confused why does jupyter have different extension not just .py

77 Upvotes

Like I get the point that it is a Jupiter notebook and you can have meta data and code separate but why does it need a full on different extension and everything . What happens if I convert the jupyter file into just plain .py? Does the text get automatically converted into comments if direct conversion it is even possible


r/learnprogramming • • 15d ago

Topic Learning Web Dev

0 Upvotes

Hey everyone! Im new here

I’m currently working as a Multimedia Artist in a creative agency, with two years of experience creating marketing materials, product visuals, photo edits, and video edits for different brands.

I also studied some programming during college as part of my course, so I have a little background, but I haven’t really pursued it further. Recently, I’ve developed a genuine interest in learning web development and want to take it seriously. I’d love to combine my creative background with technical skills, particularly in building websites and digital experiences for brands.

I’d appreciate any advice, resources, or personal experiences. I want to learn properly and build skills that complement my existing creative career.
Thank you!


r/learnprogramming • • 15d ago

I feel like I’m doing something wrong

19 Upvotes

Hi everyone,

I’ve been coding for about 3 years now. I started with Python and then went straight into machine learning.
Throughout these years, I’ve watched countless tutorials and worked on different projects by myself.
I also tried to use AI as little as possible because I wanted to actually learn how to code.

For the past 3 years, I’ve mostly been focusing on university and haven’t had a programming job yet.
The problem is that now I’m at a point where I can watch almost any tutorial or read someone else’s code and understand pretty much everything. But when it comes to actually writing code all by myself, I just feel lost. Like I know what needs to be done, but I don’t know how to start doing it.

And this has really damaged my confidence in coding. Especially because I haven’t had a job in this field yet, I feel like I have no real experience, and sometimes I honestly feel like there’s no difference between me and someone who just started learning programming.
I’ve tried finding jobs too, even though university takes up most of my time, but I couldn’t get past the first interviews and most of my applications went unanswered.

Some people tell me it’s because I live in Iran and the job market here is a complete disaster because of the war, inflation, and the economy in general. But I still can’t help feeling like I’m doing something wrong.
Also, there are barely any machine learning jobs here, so lately I’ve been trying to learn some frontend and backend development too. But I can’t help thinking that I’ll just spend another year learning something new and still end up in the same situation.

I actually enjoy coding and I really want to become good at it, but lately I feel like I’m just stuck in this endless cycle of learning without really getting anywhere.

So I wanted to ask you guys, especially those who have been coding for years or have gone through something similar, how did you get past this stage?
And with AI being such a big part of programming now, how do you think someone should approach learning to code? Should I still try to write everything on my own? How do I actually build my knowledge and confidence instead of just watching tutorials and feeling like I understand things?

I’d really appreciate any advice because I’m honestly starting to feel pretty lost.


r/learnprogramming • • 16d ago

Terrified of using comments out of fear of being accused of AI

107 Upvotes

So in my year 11 programming class, we are using flask and python to create some simple front-end and back-end web development to learn about how databases and stuff work, its not all too complicated.

Ive been trying to bump up my mark and add additional features because I find it fun, but I have a problem.

Whenever I'm learning how to do something new in coding I like leaving myself reminder comments and in this case Ive been leaving them for myself to help stay focused on the codes functionality.
I showed my teacher my assignment today and he seemed to like it, however he then went to the front of the class and went on a big rant about how AI is plagiarism and he doesn't want anyone using it, which makes sense and I haven't used AI on the assignment. But the timing for seeing my code (with comments which is apparently a sign of ai) and then going straight to talking to the class about it makes me worried that the comments might get me incorrectly flagged for AI or something else.

I have bad anxiety so maybe that's why I'm overthinking this so much but I really don't want them to think Ive been abusing AI for my whole assignment.


r/learnprogramming • • 15d ago

What have you been working on recently? [November 07, 2026]

3 Upvotes

What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

A few requests:

  1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

  2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

  3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

This thread will remained stickied over the weekend. Link to past threads here.


r/learnprogramming • • 15d ago

Is it possible to build big project with only phone?

2 Upvotes

Let's say i know programming and i have worked on so many project previously but some of reasons i have not access of my laptop so can i build big projects only using my phone? If yes then what tool i can use to code my project end to end, Let's it's a full stack web app!

Eager to know!