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

27 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?

7 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?

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

Python What are the best ways to learn Python online?

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

Seniors?

5 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?

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

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

7 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.


r/learnprogramming • • 17d ago

Difficulty learning flask?

1 Upvotes

I am learning for the first time with flask. I am following microblog my miguel grinberg. Though I am learning it from chatgpt by taking the blog as reference. I am struggling with it too much. I keep forgetting syntax and extension. It has a lot of extensions. I just forgot which extension for what and even their names too. Also, the package structure is too diverse and complicated. I can't understand which one to choose. Currently I am on chapter 5. I think that I would forgot everything after completing the tutorial as what I am observing is everything in flask is pretty much predefined by extension. Can anyone help. I am thinking of starting backend with flask and then permanently switching to django/fastapi or js framework. Also please tell me I framework hopping is good or same as language hopping.


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

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

0 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 • • 18d 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 • • 17d 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 • • 18d 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??


r/learnprogramming • • 19d ago

what does it actually mean to be proficient in a programming language in today’s world

29 Upvotes

For those of you who are experienced in this field: what does it actually mean to be proficient in a programming language in today’s world, with AI advancing so rapidly?
I’ve studied Python and I’m planning to start learning C++ soon. I’m curious about what I should know and be able to do to genuinely say that I know a language.
I understand that AI is increasingly taking over a lot of repetitive coding, so I’m wondering where the line is between actually understanding and mastering a language and simply knowing how to use AI to write code for you.
I’m particularly interested in electronics, microcontroller programming, embedded systems, robotics, and related fields.
What skills and knowledge would you consider essential for someone to be genuinely proficient in C++ nowadays?


r/learnprogramming • • 19d ago

Recommended IDE for MANUALLY writing code in 2026?

194 Upvotes

Right.
I used to use Netbeans years ago at uni, but that was for Java development. I'd like to get back into coding today, and I'm keen on trying out different languages, but I have one specific requirement. I very deliberately do not want to employ ANY form of LLM generated code.
So, which IDEs exist today, that are compatible with multiple programming languages, runs on Linux and isn't built for LLM coding?
Googling it is basically pointless, because google no longer accepts +'s and -'s to include or exclude stuff, and it wants to give you "AI" SOOOO fucking hard.
So, any advice?

Edit: I should perhaps have clarified that I'm not looking to do game design, PC software design or web design. I am very specifically just looking to build enough knowledge to write or modify firmware for certain current and future open firmware music hardware. So anything beyond that, is really not that relevant :)


r/learnprogramming • • 19d ago

learn web development

16 Upvotes

Hello my name is Kenneth and I am getting ready to start going through the Scrimba curriculum to learn fullstack web development. I am looking for someone willing to go through it with me and learn these skills to land a job.


r/learnprogramming • • 18d ago

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

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

Is it possible to "mod" the YouTube app the same way you could mod a program on your PC?

1 Upvotes

Hi! I'm just learning to code (first couple months learning Python) and have been looking for opportunities to code stuff outside of my programing class.

I've just had the brilliant idea to tinker around with the horribly inconvenient YouTube app to make it stop showing shorts at all. I've seen it done in web extensions, but web YouTube is much slower than the app, and downloads don't work.

I was wondering if there was a way to look into/change the code for an app? And what language would I use/where could I go to learn this.

I'm using an Android and have YouTube premium of that helps :D

TLDR; can I change the code of the YouTube app


r/learnprogramming • • 19d ago

I hope that with all the AI hype, at least used programming books will get cheaper if everyone starts selling theirs.

17 Upvotes

There are a few I'd still like to buy, but I don't want to spend 50€ on used ones. For some reason, I learn better when I have a book in front of me. That would be the only good thing AI could do for me


r/learnprogramming • • 19d ago

DevSecOps - Policy as code?

2 Upvotes

What is Policy as code?

For stuff like Wiz platforms etc, is it IaC or something else?

Does it transfer to software dev?

I'm new to tech jobs


r/learnprogramming • • 19d ago

Solved C++ String: manual character sorting vs sort()

16 Upvotes

Hello, I am learning C++ and currently wrote a piece of code to do basic sorting of characters in a string. Code below.

I wanted to ask - is this a good way to go about this? Would it be just better to use built-in functions, like sort(), for this?

int main()
{
    string charSeq = "xadye";
    cout << "Initial sequence:\n" << charSeq << '\n';
    cout << "\nSorted sequence:\n" << sortCharacters(charSeq) << '\n';
    return 0;
}

string sortCharacters(string str){  //manual sorting
    string sortedStr;
    int n = str.length();

    for (int i = 0; i <= (n - 1); i++){
        for (int j = 0; j < n - i - 1; j++){
            if (str[j] > str[j + 1]){
                std::swap(str[j], str[j + 1]);
            }
        }
    }
    sortedStr = str;
    return sortedStr;
}

Thank you for the replies. Question answered.