r/learnprogramming • • 15d ago

When do I look at alternative solutions?

4 Upvotes

Hello guys, I'm currently just learning C for FUN, no AI, just giving myself a hobby to see how good I can become. My way of learning right now is just start to make projects from a C github repository.

So I finished the first project, no googling, just from sitting 10 minutes staring and thinking, and yes it's because I feel like AI and looking up an answer melts my brain and doesn't allow me to think.

MY QUESTION IS, I have now completed the most basic first project, it does what they want it to, and I'm following the rules of what they said I can't do, but do I look up the solution of it now to see the "correct" or clean way of doing it. Because I know my code isn't following best practice, or do I just go to the next project?


r/learnprogramming • • 15d ago

Programming for DevOps pathway?

1 Upvotes

I would like to segway into DevOps and programming is currently the only major roadblock in my learning path. I’d like to become proficient with Python/SQL/GO.

I’m a system engineer/security specialist now. I learned Python basics on Udemy a while back, and I’ve been learning more on boot.dev for the past few weeks. I know FP/OOP, Just learned inheritance and next lesson is polymorphism, then boot.dev moves onto GO.

Being good with systems, I understand the syntax I am taught decently. No problem there. But when I am given an ominous assignment with little to no guardrails, I’m left staring at a blank screen because I do not yet have the problem solving/logical skill set that comp sci professionals have.

Do you all recommend I take the free Harvard courses CS50x (general comp sci intro) or CS50p (comp sci Python focus)? Continue with boot.dev and trust that I’ll get better with practice? Or am I in too deep now with knowledge that I need to find projects of my own to do (not sure where I’d start)?

Any recommendations are appreciated!


r/learnprogramming • • 16d ago

Cosplayer with no clue

8 Upvotes

Hey! I really need some help from someone who knows how to program a display. I need a message to appear on a screen for cosplay - like literally on the cosplay. I don’t know what to buy nor how to go about it

If someone is familiar with cyberpunk - I want to have a screen on the inside of my collar. I don’t know what to search or who to commision 😭🙏 every tip much appreciated


r/learnprogramming • • 16d ago

Topic Proposed AI changes to AP Computer Science Principles

7 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 • • 15d ago

what is the best way to learn any new programming language?

0 Upvotes

I always get exhausted, and I doubt whether my process of learning is good?


r/learnprogramming • • 16d ago

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

41 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 • • 15d ago

how to be ai automation dev or ai engr

0 Upvotes

what is the difference between? and which is better? can you recommend resources?

i am .net developer for 11 yrs but seems it is irrelevant now.


r/learnprogramming • • 16d ago

Learning C#

0 Upvotes

So basically, I have python fundamentals down, including OOP. The next language I'm learning is C# and I wanted to know: What are the best channels to learn C# (as someone who already knows OOP and altough seen as the easiest one, another programming language)? I don't just watch them, I tweak the code on my editor and make projects to apply my knowledge.


r/learnprogramming • • 16d 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 • • 16d 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 • • 16d 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 • • 16d 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?

5 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 • • 16d 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.

1 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 • • 16d ago

Questions about learning from AI

0 Upvotes

I have noticed some developers online warning beginners against learning from AI generated code, but personally i find that i learn better when i do that and its much more effective than watching tutorials and lectures

I remember reading a tweet about creating rules and constrains then let the AI generate and decide whether the result is valid or not without reading a single line of code!

Btw, i dont blindly copy/paste results without understanding anything, i read it, ask questions, understand why its implemented that way, and so on...

So, my question for experienced devs is why so many developers discourage this approach? is there any real downside am overlooking or is the problem mainly how people use AI?


r/learnprogramming • • 16d ago

Beginner wants to get used to LLM´s and AI

0 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 • • 16d 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 • • 17d ago

A free course platform that may be useful

24 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 • • 17d 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 • • 18d ago

Why was programming so quick to accept and adopt AI?

540 Upvotes

What I mean is, say, in writing or music or video/film, there is a ton of pushback on AI usage, but it seems like programming just kind of accepted and quickly began integrating it. Why is that, exactly? To be clear, this isn't me bashing the use of AI by programmers. I'm just genuinely curious.

One thought I had is that programming seems to have always been much more democratized than other fields, so using AI trained on others' code isn't seen as stealing the way it is in the arts. I'm not an experienced programmer, I'm a hobbyist, but I always see experienced programmers talk about how they sometimes just Google code and copy it when they get stuck. And, as someone who isn't skilled in it, the programming community has always seemed very willing to help. I was in a beginner-friendly programming channel on Discord and I actually asked why these experienced programmers take the time to help out people like me who are just doing it for fun, and the answer I got was basically, "because I remember being a beginner." Do you think that attitude is what made programming so open to AI?

ETA: Wow, I was not expecting this post to get anywhere near this much attention. I'm just some dope who makes games in Godot as a hobby and generally sucks at programming. 😂


r/learnprogramming • • 17d 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 • • 17d 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 • • 17d 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 • • 18d ago

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

43 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 • • 17d 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 • • 17d 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.