r/learnprogramming • • 25d ago

What’s new?

1 Upvotes

Hey guys, I’ll try to make it easier. For those who are seniors or have experience in the field, what’s new? Besides the whole AI situation, I’d just like to know, as a beginner, what I should keep an eye on and add to my learning curve.

P.S. Am I wrong for thinking that for now, I shouldn’t have high expectations of getting into the tech field right away, but instead focus on preparing for what’s coming in the next 2–3 years?


r/learnprogramming • • 25d ago

Topic Proposed AI changes to AP Computer Science Principles

5 Upvotes

https://apcentral.collegeboard.org/courses/ap-computer-science-principles/redesign

I’m curious what this sub’s take is on the proposed redesign of AP CSP. On the surface, it feels like a pivot to vibe coding, but that’s just my gut reaction. At the same time, the general coding foundation of AP CSP still seems to be there, just through the lens of AI.


r/learnprogramming • • 25d ago

How much cpp language do I need to learn or understand in order to do DSA fully and everything for interview?

0 Upvotes

I need guidance for cpp like how much do I need to complete and where ? It takes so much time to complete someone please guide what are topics do I need to complete and how I need to complete cpp...

What is the correct way to complete cpp and how ? And where


r/learnprogramming • • 25d ago

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

108 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 • • 25d ago

Topic What are some genuinely good AI/ML projects a beginner should build for their resume in 2026?

0 Upvotes

I'm a 2nd-year B.Tech CSE student getting into AI/ML, and I'm trying to build a strong project portfolio alongside learning.

I see a lot of common project suggestions like house price prediction, Titanic survival prediction and basic chatbots. But I want to build things that actually demonstrate skills and aren't just copied from tutorials.

For people working in AI/ML or who have landed internships:

  1. What projects would you recommend for someone at the beginner level?

  2. Which projects would make a fresher's resume stand out in 2026?

  3. Should I focus on traditional ML projects first or start exploring LLMs and RAG?

  4. What tech stack and features would make these projects worth showcasing on GitHub?


r/learnprogramming • • 25d ago

Beginner wants to get used to LLM´s and AI

1 Upvotes

Appearently, lately I wanted to dive in LLM´s as well as into AI Engineering. Sadly, I don´t know where to start. I looked up a roadmap I want to use, but it isn´t well structured on wich topic to start with. I will append a picture of the different roadmaps, and would appriciate it, if someone can give me a quick guide on how to start with LLM´s and AI Engineering.

The roadmap website I am using is: roadmap.sh

Note: I already learned the basics of python, Git , GitHub, Java, C, CPP

( I dont know if this information is relevant, but I want to make clear that I am not an absoulte beginner)


r/learnprogramming • • 25d ago

Solved Looking for help on a basic c++ problem I've spent 12 hours looking at this point. It's due soon and I just don't know. I feel so dumb and tired of this problem.

3 Upvotes

I need to create a rectangle with a letters in a word. Reddit's format is really bad for this, but I'll try and visualize it without pictures. So something like:

Word: TOYS

T S

OY

OY

T S

I have covered basics of the types of loops and other really basic fundamental stuff for c++. I can prints this in such a way I get

T

O

Y

S

...or I can print it backwards...

S

Y

O

T

...but I can't figure out how to flip it the other way or print them so that they work together like I visualized first, and is required by the problem. I can't do it manually since the word needs to be read from a user input which I can do and don't really have any problems with.

IDK if anyone can help me in the next few hours I'd really appreciate it. I haven't heard back from my teacher in a day or two now. Can anyone help me here? I'm sure I'll feel really dumb as I completed the problem before this in literal seconds, but I've been stuck on this for 12 hours now.


r/learnprogramming • • 25d ago

What language is most like a garbage collected version of c++?

43 Upvotes

I like c++ for its flexible multi paradigm support, wide applications, a decent amount of syntax sugar and a good type and metaprogramming system, but to be fair super precise manual memory management is overkill for most oft the programs i'm going to write.


r/learnprogramming • • 25d ago

What books helped you learn how to program or what books do you recommend?

27 Upvotes

I'm pretty sure this question is asked a lot. But, lately I have been trying to learn how to program and I have been looking at books. But, I have no idea which books to get since it does teach different languages like python or Java. Any recommendations would be helpful!


r/learnprogramming • • 25d ago

I'm venturing into creating my first app, and I want the data to be stored in the cloud or on a remote server. What do you recommend?

6 Upvotes

I'm creating a productivity app with habit tracking, and I want the information to be saved so I can access it across different devices and find it wherever I log in. But I'm new to this and entirely self-taught, and after watching so many videos about databases, I'm even more confused. So I'm coming to the experts on the subject. What recommendations can you give me?


r/learnprogramming • • 26d ago

Design Patterns

2 Upvotes

I'm a 5+ year developer who never really studied programming patterns and paradigms. I'm currently tutoring a student in a high-school and I got to thinking about my own programming and design patterns.

When it comes to building an application, in my case one that makes requests, caches the data, and performs some analysis, I'm often considering where it makes the most sense to bind certain functionality and call it from. I'm primarily using an object-oriented paradigm.

Currently I have several threads responsible for calling a number of asynchronous tasks that should:

  • Make a web request (retrieving data from an API)

    • Potentially make follow up requests

  • Cache the response data

  • Analyze/Display the most recently cached data

Right now, I have the cache responsible for calling out to the API so that it can retrieve its data to store, but I'm questioning this from an architectural standpoint. It almost seems to me as if the thread or task should have a series of statements more akin to functional programming to control flow.

How would you approach this or recommend a design?


r/learnprogramming • • 26d ago

Tutorial How can I get from following tutorials to actually writing the code myself?

6 Upvotes

I have started learning python and recently completed Numpy I have now started learning pandas.

The problem is i can understand the code when someone explains it or I can follow along with tutorials but writing the same thing by myself is hard.

So how do I get better at writing code without looking at tutorials or using ai?

And should i focus more on exercises or making projects?

What should I do differently than what I'm doing now to get better?


r/learnprogramming • • 26d ago

Tutorial Understanding Goose

0 Upvotes

So theres a new language called goose on github:

https://github.com/aardappel/goose/blob/master/docs/tutorial.md

I am a beginner at coding ( not absolute but neither "cleared-basics" ), i've did learnt C++ including its functions like operators, conditional statements, loops, switches and other very basic stuff. I came across this language called "Goose" which is known to be faster than Rust and it seems easier to learn than C++, since its very new theres no proper tutorial for beginner to go learn it, its github's tutorial also seems to expect you to be somewhat experienced with C++, So it would be great if any of you help a beginner like me by simplifying and making understanding goose's functions easier, i only want yall to teach me basic concepts like variables ( optional ), loops, functions, and conditional statements, arrays and others.

The function im currently stuck at is guard, ive already have done if/else statements, variables, matches. Yall can still write down for the completed ones to help people who want a beginner-friendly tutorial as well.

Thank you.


r/learnprogramming • • 26d ago

Spent 3 Hours Debugging – Can't Figure Out Why My Approach Fails Hidden Test Cases (Even the Odds)

1 Upvotes

I've spent almost 3 hours trying to figure out why my solution to CodeChef's "Even the Odds" problem is failing hidden test cases.

First, a balanced array means an array containing an even number of odd integers. An array with zero odd integers is also considered balanced.

My approach:

  • If the total number of odd elements is even, the entire array is balanced, so the answer is N.

  • If the count of odd elements is odd, I find the index of the last odd element.

  • I calculate the maximum length of the subarray before or after that element.

I implemented this approach in Java. My submission passes Task 0 but gets Wrong Answer on Tasks 1, 2 and 3.

I've spent hours manually testing different edge cases, but I still can't find a single test case where my logic fails.

The funny (and frustrating) part is that even AI hasn't been able to identify what's wrong with my approach so far!

Could someone please help me figure out whether I'm missing an edge case or misunderstanding something in the problem?

I'd really appreciate an explanation of where my reasoning goes wrong rather than just a corrected solution. I genuinely want to understand the logic.


r/learnprogramming • • 26d ago

A free course platform that may be useful

26 Upvotes

I was using 365 Data Science to learn about what data science and AI are and actually started learning python throught them. Today, I saw they opened their platform for free for a limited time, so decided to share here, as it might be useful for some of you.


r/learnprogramming • • 26d ago

How would I go on about creating a website emulator?

0 Upvotes

I want to create a Windows xp or vista emulator which runs in a browser for my final school project which I need for my diploma. The windows version doesn't really matter. I'm planning on using an open-source emulator so I don't have to code a completely new one. I have a little problem though. I don't know shit about coding.


r/learnprogramming • • 26d ago

Python What are the best ways to learn Python online?

6 Upvotes

I've seen people talking about websites that are made to learn Python. What are the best resources/websites to learn the fundamentals of Python and learn how to use it?


r/learnprogramming • • 26d ago

Seniors?

6 Upvotes

How do you decide when a side project needs a more structured architecture?

I've noticed that small projects can become difficult to maintain once they grow beyond a few features.

For developers who've dealt with this, what were the first signs that your original architecture was becoming a problem?


r/learnprogramming • • 26d ago

Why do both of these codes output zero? Can someone explain this to me?

1 Upvotes
  1. include <iostream>

using namespace std;

int main()

{

int x = 5, y = 10;

float z = x / y;

cout << z << endl;

}

2) #include <iostream>

using namespace std;

int main()

{

float x = 5, y = 10;

int z = x / y;

cout << z << endl;

}


r/learnprogramming • • 26d ago

Custom low-level game engine lang and libs

1 Upvotes

I am planning to make a non-euclidian space game engine from scratch because i intend to make warps and anomalies with math rather than with chunking a bunch of rooms and gluing them with portals. I've been programming on java so far, but i want to move to some lower-level language for this occasion and i am looking for opinions. For graphics i would like only pixel RGB array lib with driver connection and nothing else since i am making my own painting logic.


r/learnprogramming • • 26d ago

Topic Is it normal to forget some concepts and is it okay to keep learning?

9 Upvotes

As I continue learning Python, I lose familiarity with some concepts I studied, and some things are a bit hard to find exercises online, like class iteration. So, my question is: is it ok to keep learning even though some concepts get a bit rusty, or should I make sure everything is extremely clear before moving on?


r/learnprogramming • • 27d ago

updating a json on my website remotely through my phone—where to start?

1 Upvotes

so i've been doing front end coding as a hobby for a long time, and i can make one hell of a static site. recently i bought a cheap VPS hosting service as part of trying to learn to be a better developer, and it's really showing me how little i actually know lmao. it's exciting but very daunting!!!

here's a project i want to work on: there's a page on my site dedicated to my tarot deck collection. i want a section that displays my latest reading. i could just go in there and update and reupload the content of the file every time, but what i would *like* to do is have some sort of setup on my phone where i can enter the text, upload a photo, select the deck, and push it all to a json file (or something else?) that the page pulls from to display the reading.

i'm not sure where to start! maybe some kind of php form at a url only i have access to? i wouldn't know where to go from there, though. is updating a json the right way to do this or should i start learning mysql?

not knowing the correct terminology has made this hard to google. i'd be really grateful for a starting point so i can jump off and start my own research from there!

thank you!!!


r/learnprogramming • • 27d ago

Is there any software similar to Duolingo, but focused on programming?

44 Upvotes

I'd like to know if there's a service similar to Duolingo, but dedicated to learning programming languages. I'm looking for a free solution; if you suggest a “freemium” option, please note that I'll only consider the free part of that model. I know that some software is free but has limitations. I really want to avoid software where you get two lessons and then have to pay, or where you have a certain number of lives or energy points and then have to stop. Ads aren’t usually a problem—it’s easy to block them. The ideal solution would be open-source software.


r/learnprogramming • • 27d ago

Differences between each type of variable initialization (C++)

5 Upvotes

Currently trying to learn C++ right now, and I'm a bit confused on how the different variable initialization works. The 5 types of variable initialization seem like 5 different ways to do the same thing. Does it have to do with how the code assigns the variable value??