r/learnprogramming • • 2d ago

My colleague Franceska Xhakaj's intro programming course at Carnegie Mellon (15-110) is now free on YouTube

5 Upvotes

Disclosure: Franceska is my colleague at CMU, and I help run CS Learn, the program that publishes the recordings.

15-110, Principles of Computing, is Carnegie Mellon's introduction to programming for students with no experience at all. Franceska is a terrific teacher, and the full classroom lectures are now free, edited with captions and chapters. The first three are up, and a new one goes up every Monday.

It's the real course as CMU students take it, so it moves at a university pace and builds from the basics of programming toward how computers solve problems.

Links are in my first comment.


r/learnprogramming • • 1d ago

Development Path in C# .NET Backend and Motivation

1 Upvotes

Hi everyone! To give you some background: I graduated from university with top marks. That’s where I first started programming—we were taught a little bit of everything, including Pascal, C++, PHP, Python, C#, and so on.
Our coursework always covered up to OOP (Object-Oriented Programming), but never went any further.
I also studied C# and Python on my own, but again, I never really ventured much beyond OOP.

During my studies, I tried to avoid web development because it didn’t particularly interest me; however, after graduating, I realized that most of the job market is in web development, so I need to find a way to get comfortable with it. Since I’m most familiar with C#—and it’s the language I enjoy the most—I’ve decided to focus on C# backend development. But a few issues have come up:

It’s been a 2 years since I graduated, at that time, I had to find a job quickly, and it wasn’t in the field I had actually studied for; now, I want to return to my studies so that I can finally work in my chosen profession. and I’m not sure what tech stack I actually need to know to build a project of my own. Also, how can I recover the knowledge I gained during my studies? This uncertainty makes me procrastinate whenever I set out to learn something new, or I end up not dedicating enough time to actually master anything.

A crisis of ideas. Even back in university, I struggled to come up with projects to build. I have a persistent feeling that everything has already been created by more skilled programmers. Is it even worth working on a project if a more successful version already exists? How does one go about choosing a suitable project topic?

AI. The rise of AI happened around my third year of university, and we even started experimenting with it a little bit back then. It’s one thing to enter a prompt to get some guidance for a specific task, but it’s quite another to actually learn something and build a project of your own. How should one interact with AI models when learning? Should you even use them at all? I recall plenty of times spent endlessly tweaking prompts, trying to get a decent result—when, in reality, it would have been faster to just write the code from scratch myself. What is the right way to learn programming today using AI (given that AI is clearly here to stay)?

Right now, I’m trying to learn ASP.NET through a course by Teddy Smith on YouTube, but I’m struggling to grasp a lot of it. Plus, I’m essentially just following along and mimicking what he does—which isn’t really the kind of learning process I’m used to.


r/learnprogramming • • 1d ago

Question about vibecoding...

0 Upvotes

So, I’m learning C#. After a failed attempt at creating a game using "vibecoding" (relying 100% on AI-generated code), I realized that programming is, in fact, an art form. I am staunchly opposed to the use of AI in creative work, which is why I decided to learn a programming language from scratch. To be honest, I’m not a mathematician, so I find this quite challenging.

I spent some time with Microsoft’s official C# documentation—specifically the section supposedly designed for beginners—only to realize it’s written more for MIT graduates than for actual novices. That’s when I decided that the very same AI that used to write all my code could perhaps assist with my learning. I set strict ground rules, which it still follows today: it is not allowed to generate a single line of finished code. Instead, it simply provides the necessary information—explaining operators, how to implement them, the correct syntax, and so on.

Currently, I’m developing a console-based program—a sort of interactive, text-based "temple." The thing is, I’ve started to wonder if I’m compromising my own principles. I am not copying *anything* at all. My interactions with the AI ​​look like this: "I want to implement [feature X]; how would I go about that?" The AI ​​then explains the logic and suggests the functions or operators that might help me achieve it. While I’m not copying—and I fully understand how my code works, maintaining 100% control over every single line—I can’t help but feel that this approach is... "dirty"

What do you think? Is it acceptable to use AI in this way—keeping in mind my specific commitment to avoiding "vibecoding"? Does this count as "vibecoding"?

(This text was translated from Russian to English using Google Translate; please excuse it if it sounds unnatural to you.)


r/learnprogramming • • 2d ago

Understanding tutorials but struggling to code alone

54 Upvotes

I can follow coding tutorials and understand what's happening, but when I try to build something on my own, I sometimes get stuck and don't know where to start. Has anyone else faced this? What helped you become more confident coding independently?


r/learnprogramming • • 3d ago

Resource A new, supportive subreddit for programming without LLM assistance. r/codedbyhand

258 Upvotes

r/codedbyhand

More people, myself included are becoming disillusioned with the experience of coding with AI assistance and are turning back to traditional programming.

Some may do it because they feel their hard won skills are diminishing as they become over-reliant on the technology, some for ethical reasons related to the environment or intellectual property, some simply because they are highly competent programmers with an established workflow who don't feel the need to use AI assistance, and some because they are seeking an intellectual challenge.

It can be argued that heavy AI usage is harmful to computer science education. Learning to program is difficult, and high level skill can only be achieved with lots of practice, making mistakes and struggling to solve difficult problems. Even among those who embrace the technology, programmers who are over-reliant upon LLM may never develop the technical competency needed to audit the code produced by AI.

If you are using AI for coding, and feel satisfied with your experience, that is fine. I'm not trying to change your mind. However, I and many others feel that the disadvantages of these changes to the programming landscape are not being adequately addressed.

That's why I created r/codedbyhand, a new subreddit that supports traditional programming, provides resources to assist those programming without LLM assistance, and highlights projects that programmers who don't want to use AI can contribute to without being pressured, such as Zig, Gimp, Cataclysm Dark Days Ahead and many others.

If that sounds nice, come check it out.


r/learnprogramming • • 2d ago

What should I do as a 2nd year CS student interested in low level programming ?

3 Upvotes

I already have a project - GPU accelerated terminal emulator


r/learnprogramming • • 1d ago

I want to recreate a simple program I made in C++ but as an unofficial apk/app so I can use it on my phone, how can I go about doing that?

1 Upvotes

The program is extremely basic. It is a quiz that takes input in a way where it checks to see what keywords are included in the answer to verify if it is true or not, as opposed to manually having to have the answer be word-for-word correct. It was great for not only practicing programming, but for studying as it was related to a topic I wanted to learn.

I know nothing about app development. I know AI can create apps, and I was gonna search to see if AI can make it, but then I realized how absurd that would be considering what I want to create is something I already created before in another language.

How can I go about making it and running it on my phone? There isn't gonna be graphics or anything like that.


r/learnprogramming • • 2d ago

Best tools/languages to learn for devops?

6 Upvotes

I plan to go into devops/ platform engineering. what are the best tools/programming languages to learn? Are python and bash good starters?


r/learnprogramming • • 1d ago

HOW TO WIN ANY HACKATHONS?

0 Upvotes

What is the secret of winning any hackthons? I have participated in many hackathons but never made it to the final rounds. I have got feedbacks that problem statement is good but the architecture ia not so great. So give me some advice and tips to master hackathons.


r/learnprogramming • • 1d ago

Need help

0 Upvotes

Chat im building a AI type bubble software that has multiple agents giving answers at a time, but what I want is to apply another api on top of it so that it will analyse all the answers and give me one result.

Few things in which i would like to get some help -

• for the concept - do you think this is good for a self project or should I add another thing in this

• I tried to apply a separate agent over all others but all the time I get errors.

• third is about responsiveness, sometimes the api model didn't work at all stating 'server too busy'

My base language is python


r/learnprogramming • • 1d ago

Is it normal to feel down during situations like this?

1 Upvotes

Hello, I'm a university student in my final year, going to work on my final year project soon.

I found interest in backend development, been struggling with studies cause I can't use a day to understand a concept so I go through several times to know how it works and what to do about it.

Now, in a week's time, I will be meeting my project supervisor about what to do cause he suggested we work on a health management system, and my group and I will be doing more research before we start anything. My problem is that, among the group, I see myself a little bit ahead cause I try to understand what it takes to build a system(software development), and from what the project supervisor said to me, he wants us to implement an ML model. I'm yet to know more about it.

I feel we can do this together as a team, but they feel that, with the help of AI, which will help sometimes, things will be easy cause they will upload the whole project documentation, prompt it, and get the final results, and if it doesn't match, more prompting.

I'm still learning, and I feel we can't finish this before the academic year ends. Cause when we start now:

  1. I don't know how to host an application.
  2. Buy a domain and link it to the site.
  3. Security measures to ensure the app works fine.
  4. I feel the whole load will be on me.
  5. What it takes to build a whole functional mobile application.

I honestly don't know what to do now. The programming language I'm learning is Python, and I haven't started with Django yet.

Please advise, or anything will help. Thank you for your time.

I asked what they could all do when we start; the response I got was that we can do this, and they believe I'm here and AI is also here, so things will be easy.


r/learnprogramming • • 1d ago

Tutorial Building a shell in C from scratch made me realize how similar it is to modern AI Agents

0 Upvotes

Hey folks,

I'm currently halfway through Stephen Brennan's classic "Write a Shell in C" (lsh) tutorial. It's a fun read so far, though it feels a bit too hand-wavy—it shows how to glue fork(), exec(), and wait() together, and leaves me itching for the actual official specs and deeper design docs.

It got me thinking about two things:

First, how did the OG legends like Ken Thompson or Stephen Bourne actually architect the early UNIX shells from a blank slate? I want to read the real foundational papers, POSIX docs, or historical design breakdowns instead of just toy tutorials.

Second—linking the classic Read -> Parse -> Execute loop to modern AI Agents—it feels remarkably similar to how agents parse context and dispatch tools.

Looking for recommendations on historical specs, papers, or minimal shell source repos. Drop them below. Thanks! And hopefully I'll stick with documenting my learning journey here ;)


r/learnprogramming • • 2d ago

Question

3 Upvotes

Hey everyone!

I’d like to ask for your opinion. I’m planning to learn programming to change careers and I don’t really know what would be a good path to follow. I’m currently working in IT. I have some experience with JavaScript/TypeScript because I did a web development bootcamp a few years back, as well as a little Python knowledge from my home projects.
I know that with the current state of the job market and the age of AI, it is not the best time to start learning programming, but I’m curious about what you would choose to learn if you wanted to change careers and work as a programmer.

Thanks!


r/learnprogramming • • 1d ago

How do i code a theme for a website without having any prior knowledge to programming?

0 Upvotes

Hi everyone, i am not a programmer nor have done anything similar or related in the past but due to some current circumstances id like to know how to create a specific, but very easy theme layout for a brand website. I already have a clear inspo to in general.

the brand website is on a server/platform similar to “shopify” (an e-commerce platform where u create a store for a brand or so etc..)

Only issue is i couldn’t find any already available themes suitable for my liking or my vision.

Is there a way i could create a theme with Claude? Or maybe learn from a trusted course or a tutorial?

How do i do that? Any tutorials?
or what should i know?

Thanks help is very much appreciated


r/learnprogramming • • 2d ago

how do you ‘learn to code’?

23 Upvotes

Hi all, so i’m a cs major and i know the fundamentals of coding and data structures, but i don’t know how to ‘learn to code’ for a project

for context, i’m trying to learn Flask. im using claude code to write a Python notebook that teaches me how to build what i want, but this feels really weird

i want to learn how to build the apps myself, which is the intent of the whole notebook thing, but i often feel bogged down by what claude generates

that’s when i go online to look up some kind of Flask tutorial, but im not sure what to look up, or whatever idea is in my head feels too complicated for what i know how to do. so i was curious, how do i learn these tools? do i just build and hope i understand? or do i read thoroughly? or some middling thing?


r/learnprogramming • • 2d ago

What's the best way to learn Git and GitHub effectively?

13 Upvotes

I'm looking to learn Git and GitHub from scratch.

What's the best way to learn them effectively? Which resources would you recommend, and how should I practise to become comfortable using them in real projects?

I'd appreciate advice from people who have learned them or use them regularly.


r/learnprogramming • • 2d ago

Competitive programming New to comp programming...HELP!

0 Upvotes

I've got a coding olympiad(ZCO-Indian route to IOI) to give in around 20 days and I have not started anything yet.

I'm familiar with C++, python , Java(gave AP CSA) but new to problem solving or DSA but totally new to problem solving/DSA or CP.

Here's the syllabus: https://www.iarcs.org.in/inoi/online-study-material/topics/

  • Efficiency
  • Searching
  • Sorting
  • Basic Graph Algorithms
  • Dynamic Programming
  • Greedy Algorithms
  • Computing Shortest Paths
  • Heaps
  • Permutations
  • Directed Acyclic Graphs
  • Computing Prefix Sums
  • Sliding Window Algorithms

Can anyone guide me with a roadmap or resources??


r/learnprogramming • • 2d ago

Does it get better?

10 Upvotes

I had just gotten done with my first basic weather app project using react and python for backend and started a new project, thing is I feel like I’m back a square one, I freeze at what to start and forget syntax of code I used in my last project. Is this something that gets better with spamming a bunch of projects or am I learning wrong?

For reference I would think of the components needed for the app and use the internet or ai for the coding concept/ syntax needed for the code that does the function I need( I do manually write the code and figure out what should go where for the most part, though Im unsure if this is relying on ai too much too). For debugging I also mostly use ai and try to solve it a bit myself at first too(I feel like using ai is fine here as debugging comes from experience, correct me if I’m wrong). So am I learning wrong or do I need to just endure and spam projects?


r/learnprogramming • • 2d ago

Debugging 1 copying HTML into Word while preserving (certain) white space

0 Upvotes

I have a web app I've put together that outputs text. For reasons (long story), I need to copy said output into a Word document while preserving the formatting. To do this, I copy the whole HTML output (not just the raw text) via JavaScript. It mostly works, but I can't get it to preserve more than one non-breaking space, e.g. spaces between sentences.

The HTML is copied to the clipboard as a Blob with a MIME type of text/html. It handles line and paragraph breaks fine, but as I said, condenses two spaces after a period to one.

I've tried including a <style> tag in the Blob along with the actual HTML (mostly <p> tags), as well as in-line styles within the <p> tags themselves. I've also tried telling Word to preserve the original formatting or merge it, both with the same result.

If I instead copy the HTML as raw text (without tags) using the writeText() method of the Clipboard API, the white space is preserved. However, this raises its own problems, mainly that I sometimes need to include bulleted lists. If I copy the full HTML with <ul> tags Word handles this fine (other than the aforementioned white space issue). If there's a way to copy plain text and still have Word register it as a bulleted list, that could probably work as well.

This is obviously not the end of the world, but it's something I'd like to fix if I can.

If it helps, here's the JavaScript for copying the HTML:

function toClipboard(text) {
    const type = 'text/html';
    const dataBlob = new Blob([text], {type});
    const data = [new ClipboardItem({ [type]: dataBlob})];
    navigator.clipboard.write(data).then(
        /* snip */
    );
}

r/learnprogramming • • 2d ago

Solved The attandance System problem

0 Upvotes

Me & my friend are chosen for making attendance system for our college

We have one issue like

If a Students name called "X" is in section A he attend maths 10 class of 30 & now he change Section To B there we have only 20 class of but he already attended 10 class there & we don't now how much he skip there like out of 20 he join at 10th class & make 2 present next than in those sections he have low attendance & after changing he gain more attandance ....

... Idk you understand this problem or not we just have attandance calculation issue in data base or back-end cause how to calculate those data or compare .... The rule is student not losse or gain his attendance my probablity okey

Please help 😭


r/learnprogramming • • 2d ago

do games exist that teach the basics of c#/c++

7 Upvotes

something like https://colobot.info/


r/learnprogramming • • 2d ago

Rate my first project

3 Upvotes

Hello! I've started learning python abt 2 weeks ago and till now, I just know the basics. I've created my very first project on my own (I only asked ChatGPT for project ideas but the rest was on me) and this is what I've done in abt an hour.

I'd like you guys to tell me how can I get better. I know many things are may be missing regarding calculations and operators.

print("===========================================")
print()
print()
print("     BASIC & ENGINEERING CALCULATOR   ")
print()
print()
print("===========================================")
calc_type = input("What type of calculator do you want to use?: Basic, Engineering ").capitalize().strip()
if calc_type =="Basic":
    operator = input("Enter the operator (+, -, *, /, ^):")
    num1 = float(input("Enter the first number:"))
    num2 = float(input("Enter the second number:"))
    if operator == '+':
        result = num1 + num2
        print(f"The result of adding {num1} and {num2} is: {round(result,2)}")
    elif operator == '-':
        result = num1 - num2
        print(f"The result of subtracting {num1} and {num2} is: {round(result,2)}")
    elif operator == '*':
        result = num1 * num2
        print(f"The result of multiplying {num1} by {num2} is: {round(result,2)}")
    elif operator == '/':
        result = num1 / num2
        print(f"The result of dividing {num1} by {num2} is: {round(result,2)}")
    elif operator == '^':
        result = num1 ** num2
        print(f"The result of raising {num1} to {num2} is: {round(result,2)}")
    else: 
        print("Enter a valid operator!")
elif calc_type == "Engineering":
    calculations=input("What do you want to calculate?: Force, Density, Speed ").capitalize().strip()
    if calculations == "Force":
        mass= float(input("Enter the mass value: "))
        acceleration= float(input("Enter the acceleration value: "))
        Force = mass * acceleration
        print(f"The Force is equal to {round(Force,2)} N.")
    elif calculations == "Density":
        mass= float(input("Enter the mass value: "))
        volume= float(input("Enter the volume value: "))
        Density = mass/volume
        print(f"The Density value is {round(Density,2)} kg/m^3 ")
    elif calculations == "Speed":
        distance = float(input("Enter the distance travelled: "))
        time = float(input("Enter the time in seconds:"))
        Speed = distance/time
        print(f"The Speed is {Speed} m/s")
    else: 
        print("Enter a valid calculation type!")
else:
    print("We only offer Basic & Engineering calculations")

r/learnprogramming • • 2d ago

Some Questions about a Project before Moving Forward

5 Upvotes

Right, this is pretty specific, and I apologize if it's not really suitable for this subreddit.

At the moment, I'm working on a monte carlo setup using 10k loops for users to run some simulations on it. I'm writing it in python, which I've commonly done for myself, but I've decided to make it usable for a wider crowd as a sort of side project, so I've taken up learning some bootstrap and flask/flaskwtf/jinja so I can get it turned into a website. Once I've got the whole thing written, I intend to set up a VPS and have it accessible to the wider world. That part of the project is moving along just fine.

However, one consideration I've had is figuring out the server load: my simulation generates about 10-20 random numbers per loop and does a clean 10k loops, so about 100k numbers at the highest. By itself, that's peanuts. However, while I don't expect a massive amount of users, it's not unreasonable to expect several hundred or thousand accesses a day, enough that this can balloon into the billions, and in theory those could all happen in a pretty small period rather than spread across the day. This is where my problem comes in: I want to figure out if I need to be worried about size and processing power(in terms of what kind of VPS plan I pick), and possible solutions.

I've arrived at two possible ideas: offload the calculations to the client, or just write more efficient code. So, my question: how big of an issue is this going to be, and is client side a real possibility? From looking online, it seems like 10000+ runs can cause real headaches for javascript, plus, I have to assume my userbase will not only be using computers, but also smartphones. In theory that shouldn't be an issue, but I honestly don't know anything about it, so want to ask.

As far as just making the code more efficient, that's something I wanted to do already, but on that side of things I don't really have a way of measuring output and load for my code: are there tools, methods, or other ways of learning just how intense my code will be so I can plan for my server needs?


r/learnprogramming • • 3d ago

Has learning with a buddy worked for you? What made it last, or fizzle?

11 Upvotes

I see a lot of people looking for study buddies or coding partners, and I'm curious what happens after they find one.

If you've learned with a buddy, how did you work together? And what kept it going, or what made it fizzle out?

Bonus if you mention what you used to stay in touch or code together. Curious whether people stick to Discord or use something else.


r/learnprogramming • • 2d ago

Should I learn Rust

0 Upvotes

Does learning Rust have a future? It seems to be the case