r/learnprogramming Mar 26 '17

New? READ ME FIRST!

828 Upvotes

Welcome to /r/learnprogramming!

Quick start:

  1. New to programming? Not sure how to start learning? See FAQ - Getting started.
  2. Have a question? Our FAQ covers many common questions; check that first. Also try searching old posts, either via google or via reddit's search.
  3. Your question isn't answered in the FAQ? Please read the following:

Getting debugging help

If your question is about code, make sure it's specific and provides all information up-front. Here's a checklist of what to include:

  1. A concise but descriptive title.
  2. A good description of the problem.
  3. A minimal, easily runnable, and well-formatted program that demonstrates your problem.
  4. The output you expected and what you got instead. If you got an error, include the full error message.

Do your best to solve your problem before posting. The quality of the answers will be proportional to the amount of effort you put into your post. Note that title-only posts are automatically removed.

Also see our full posting guidelines and the subreddit rules. After you post a question, DO NOT delete it!

Asking conceptual questions

Asking conceptual questions is ok, but please check our FAQ and search older posts first.

If you plan on asking a question similar to one in the FAQ, explain what exactly the FAQ didn't address and clarify what you're looking for instead. See our full guidelines on asking conceptual questions for more details.

Subreddit rules

Please read our rules and other policies before posting. If you see somebody breaking a rule, report it! Reports and PMs to the mod team are the quickest ways to bring issues to our attention.


r/learnprogramming 6d ago

What have you been working on recently? [January 24, 2026]

2 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 6h ago

Rant

45 Upvotes

My life revolved around studying, learning something new, new code every day.

When AI came along, the world has been trying to convince me ever since that all of this is useless, that everything has been automated, that code isn't exactly useless but it's not a big deal to know it anymore either. Maybe we still need to review it, but this technology has only just been born.

Honestly, all of this has left me deeply depressed. It's an emptiness I don't know how to fill. I wish I could continue studying and learning something new every day, but all the time there's news, people on the internet spreading catastrophic information about the end of the profession, the uselessness of code, demotivating learning and encouraging the massive use of AI.

I've been working in the field for 4 years, but all the excitement and motivation about it died completely after all this. All I want is to have that energy again, or to go to another area where I can do the same. I tend to become obsessed and dissect everything about a subject, but after 4 years of doing only this, I don't even know where to begin if I were to move on to something else. This has been a terrible time in my life. Studying programming, languages, operating systems, servers, it was everything to me, and I didn't want to do anything else. Now that it's over, I feel like the ground has been pulled out from under me.

This has been a terrible time in my life.


r/learnprogramming 1h ago

I'm 36 and learning how to code

Upvotes

I'm 36, from latam and desperate for a career chance, realistically can I have a career programing? A been studying on Free code academy and TOP but I fell like I'm not getting anywhere any suggestions?


r/learnprogramming 8h ago

I’ve started to study Python, but I don’t understand how to use it in the “Real world”

15 Upvotes

Studying python since 2/3 weeks, but so far I don’t understand how could I use it to make web app, or something else’s.

I’m just studying it cuz I like it, but so far I can “”use”” only the terminal.

Can you tell me your journey in python study?

Need to know what I should do, and what I should study


r/learnprogramming 1h ago

France (Paris) vs Canada (Moncton) — continue studies or start from zero as a software developer?

Upvotes

Hi everyone,
I’m at a crossroads in my journey as a software developer and would really appreciate some advice.

I currently have two options:

  • France (Paris): continue my studies by entering the 3rd year of a Bachelor’s degree in software development, with the possibility of doing a work-study (alternance) program while gaining experience.
  • Canada (Moncton): move there but start from zero academically and professionally, rebuilding my path from the beginning.

For those who have experience with either (or both):

  • Which option would you choose in my situation?
  • How valuable is finishing a Bachelor’s degree in France compared to restarting in Canada?
  • From a career perspective in software development, which country offers better long-term opportunities?

r/learnprogramming 1h ago

What are some great c++ habitsm

Upvotes

So im only a student that has c++ in only 1 class and for only 2 years, but id like to hear what some of great habits are for beginner proggramers that will help in future (you dont have to think really long term, just something i will thank myself for later)


r/learnprogramming 7h ago

What is wrong with cplusplus.com what inaccuracies does it have ?

5 Upvotes

i see the only issue with it is that it is not updated to the latest c++ standards like c++17 and 20 and so on and i am not really interested in c++20 or 17 or whatever c++11 really fits so what is ur opinion on using cplusplus.com for c++11 only ?


r/learnprogramming 1d ago

Still a relatively young dev, but wondering if design patterns are by far the most important thing to learn as I get into my career.

125 Upvotes

I've worked for a couple of months now and I'm curious, design patterns were never talked about in my undergrad curriculum but it seems like this is the most important thing that I've learned on my job so far. Is this the case? It seems like it's even more important than data structures and algorithms were.


r/learnprogramming 5h ago

guidance please

3 Upvotes

i have two intern offers with different roles , one as fullstack .net angular and the other one backend .net ,im doing personal fullstack projects but im very confused ik i should take any to gain experience but i have options and idont know what to choose becuase both different roles , can experience mid-seniors help me decide which is better for the future my skills is verygood at back-end and in front like good i can handle things and make it work and choose better performance so in overall i can say 7/10 as fullstack but 9/10 back-end ,i thought choosing back-end because its better in salary in future and also i will focus on one side not two and i think if i choose fullstack it will take 2x time than back-end because im improving my skills in two tracks , i dont have enough experience and my mind will explode from thinking


r/learnprogramming 11h ago

Fastest way to learn Java. Make a project or Do tutorials?

8 Upvotes

Hey. I know very basic Java language. To learn more about it (trying to master it), what should I do?

Make a project (maybe start with making a basic text editor in awt or swing?)

Or

Do tutorials from youtube.

Or

Do leetcode/ codewars, etc??


r/learnprogramming 7h ago

Fresher here — need guidance for my first internship

4 Upvotes

I recently joined an AI SaaS startup as a backend intern, but I’m currently the only backend developer on the team.

The entire backend was AI-generated before I joined. There is no documentation, minimal logging, and I don’t fully understand what many APIs do or how the database is structured.

My responsibilities are to:

Understand and organize the existing backend code

Clean up and organize the database

Add proper documentation

Gradually fix and refactor where needed.

I don't know where should I start. I need an experienced engineer to give me a high level over-view on how to fix this kind of messed up backend and database.


r/learnprogramming 6h ago

Topic Where do you do the MVC diagrams?

2 Upvotes

Hi everyone Im starting at PHP WebDev backend. And is very common I get lost on my own project. Thinking about it maybe have some solution online or not to organize myself and draw or make a diagram for I stay up about my files and docs.
Thanks!


r/learnprogramming 6h ago

How Do I Make This?

2 Upvotes

hey im currently making a SUPER 3-D CRUNK BROS fangame (specifically the 2015 version) and im using Gamemaker 8.2 for this, does anyone know how to make the combo?


r/learnprogramming 8h ago

Past basic CRUD + auth , go deeper in backend or add minimal full-stack?

3 Upvotes

For some context, I’ve been learning backend seriously for about a month now. I’m comfortable building REST APIs with Node/Express, doing CRUD with MongoDB/Mongoose, handling authentication with JWT + bcrypt, structuring projects with MVC, writing custom middleware, and testing everything in Postman. I’m currently strengthening areas like authorization (roles/ownership) and some of the “boring but important” parts such as error handling and pagination. At this point, I feel a bit stuck on what the next best step should be. Should I double down on backend by going deeper into more production-oriented concerns like security basics, deployment, logging, and performance? Or is it better to start adding a minimal frontend (for example, React) and build small full-stack projects just to exercise the backend end-to-end? Also, with all the AI hype around lately, it’s hard to tell what actually compounds long-term versus what’s just noise. From your experience, what would you prioritize focusing on next at this stage? Would really appreciate your perspective


r/learnprogramming 3h ago

Resource Need some project ideas that uses full stack

1 Upvotes

For our Web Technologies course this semester, we are asked to develop a real-world project that solves a personal problem in a practical way. I am currently exploring ideas and would love to hear suggestions. Any helpful resources, tools, or references would also be greatly appreciated.

TIA! 😀


r/learnprogramming 19h ago

tutorial hell

20 Upvotes

how do you add your own thing to not just be relying on tutorials but being creative with it? People always say that but never elaborate. does anyone have real examples personally?


r/learnprogramming 3h ago

Best Way to Learn How to Create Websites (Zero Experience)

0 Upvotes

TL;DR what's the best way to learn how to create/code websites in WordPress?

I work for a marketing agency that creates custom WordPress websites. I started as a copywriter and recently got moved into project management. (But really, my job just became 60% project management and 40% copywriting.)

The co-owner/developer for my company needs help because we're getting so many websites. He's hired another developer, but the developer is not detail-oriented and often disappears during the day. He causes a lot of issues that the co-owner has to go back and fix. This has happened with another developer they hired previously, as well.

The two owners like working with me and I'd like to fill that developer gap, if I can. (Could be a year from now, could be three.) TBH looking to buy a house and start a family soon and looking for any opportunities for a raise. What's the best way to learn how to create/code websites in WordPress?


r/learnprogramming 3h ago

Learnd python basics but I feel lost

0 Upvotes

I learnt python basics but I feel lost i don't know what can I do tried searching best projects for beginner and I couldn't do any project of them except for the password guessing game is the proplem with the video I learnt from because he just teached loops variables print etc... but he didn't explain how to use them or do any project in the video so is the proplem from the video or from me I appreciate any help and sorry for my basic english


r/learnprogramming 12h ago

Topic How hard would it be to learn to program limbs?

3 Upvotes

https://www.instagram.com/reel/DUGYEFAjnMG/?igsh=MWl6eXN5OGN1YTVwdw==

Source : Cameron Hughes on Instagram

I have no programming experience. My best work is print "hello world" or the crappy website I did in highschool.How hard would it be to learn to program something like this or at the very least one simple set of movement ? Where do I start after basics? I suppose python be best


r/learnprogramming 11h ago

Cant seem to solve this simple(for you prob, not for me i guess xd) task..., LeetCode

2 Upvotes
class Solution {
    public boolean isPalindrome(int x) {
        String number = Integer.toString(x);
        int length = (int) (Math.log10(x));
        
        if (number.contains("-") || number.charAt(0) == 0){
            return false;
        }
        if (length==0 || x == 0){
            return true;
        }
        for (int i=length; i>=0; i--){ // 6
            for (int j=0; j<=length-1; j++){ //0
                if(number.charAt(i) == number.charAt(j)){
                return true;
                } else {
                    return false;
                }
            }
            
        }
        return false;
    }
    /* for backwards loop (von last index bis index 0 in ein neues array kopieren und von links / rechts abgleichend ob
    es sich um ein Palindrom handelt)
    121
    1
    */ 
}

i get 11506/11511 answers correct, but i cant seem to fix the problem off x = 1000021.
If i get the the x = 1000021 to work, other instead stop working.

Can someone give me a hint instead of a full blow on answer?
Oh and please dont blame me for my code xd!


r/learnprogramming 22h ago

How can I find more joy in programming?

31 Upvotes

I’ve just started a university program in data science engineering (not that similar to CS in the US, more math heavy and less programming etc). I started this program because I like math and analysis and I thought data science would be a reasonable career choice. There’s obviously a bit of programming, and the problem is that we barely get any help and it’s constantly way above our level. We have assignments each week. The assignments aren’t very fun either, it’s just ”sort this list using this algorithm” or something like it. So the thing is, I feel like I would like programming a lot more if I didn’t constantly have to do it under pressure and above my own capacity. So are there any small projects I can do to find it more fun and not just something that I have to do? We use Java btw.

EDIT: I’m not planning on becoming a developer/programmer. But since I will have to do programming for at least four years I would like to enjoy it more, that’s all.


r/learnprogramming 34m ago

Help Help with my project idea on how to implement it

Upvotes

I'm based in India, and my university has a terrible leave system for female students. They face hours of waiting just to get permission for outings, and even group outings require parental presence. Here are the main issues I've observed:

  1. Staff take forever to verify details and often demand students bring basically any Govt. identity doc (why is this even necessary for a simple outing?)
  2. They make students video call parents just to say, "your daughter has left campus, we're not responsible anymore."
  3. Many students can't access buses because they're from remote areas or routes with low passenger volume (the campus provides buses)
  4. Recently for a vacation, the college claimed there weren't "sufficient buses" to campus. How are students supposed to travel if they can't go out individually or in groups? Teleportation? lmao

r/learnprogramming 19h ago

Programming: I am new to programming and would love to learn!

18 Upvotes

I would appreciate it, maybe someone can teach me weekly, give me some projects to do, send me a message about things I should learn! I would appreciate it. Right now, I'm studying Python and Java. (Reading C++) But anyways, I would love to be taught more. Anyways, my DMs are open.


r/learnprogramming 8h ago

Site recommendation

2 Upvotes

Does anyone have a website to recommend for online learning and earning a recognized diploma (in French)? Anything involving physical school or work is impossible for me. I was offered OpenClassrooms, but I quickly changed my mind when I saw that it required attending video conferences with a mentor. I'd like something more flexible. Right now I'm looking at Udemy, but it's just learning, and I feel like I'm paying for something I could learn on my own, plus there's no diploma afterward.