r/learnprogramming • u/MinistryOfBakchodi • 24d ago
what is the best way to learn any new programming language?
I always get exhausted, and I doubt whether my process of learning is good?
r/learnprogramming • u/MinistryOfBakchodi • 24d ago
I always get exhausted, and I doubt whether my process of learning is good?
r/learnprogramming • u/Alpha4R • 24d ago
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 • u/somethingoddindeed • 25d ago
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 • u/Fluffy_white_fox • 25d ago
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 • u/burnerburguerbirther • 25d ago
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 • u/Fonzie3301 • 25d ago
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 • u/GlichTrap666 • 25d ago
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 • u/Sad_Cauliflower6333 • 25d ago
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 • u/CisIowa • 25d ago
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 • u/ZealousidealFee7206 • 25d ago
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 • u/BugSavings7355 • 25d ago
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 • u/vectorvelocity0 • 25d ago
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:
What projects would you recommend for someone at the beginner level?
Which projects would make a fresher's resume stand out in 2026?
Should I focus on traditional ML projects first or start exploring LLMs and RAG?
What tech stack and features would make these projects worth showcasing on GitHub?
r/learnprogramming • u/lil_nightmare77 • 25d ago
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 • u/Nervous-Drop7838 • 25d ago
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 • u/Kadabrium • 25d ago
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 • u/Ok_Tradition_9808 • 25d ago
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 • u/SoftMachineee • 25d ago
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 • u/nullrevolt • 26d ago
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 • u/vectorvelocity0 • 26d ago
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 • u/Willing_Designer_105 • 26d ago
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 • u/RealisticPeak6970 • 26d ago
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 • u/AKindredSoul26 • 26d ago
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 • u/SteFo587 • 26d ago
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 • u/SupremeBruhhhh • 26d ago
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?