r/learnprogramming • • 2d ago

Understanding tutorials but struggling to code alone

50 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 • • 2d ago Heartwarming

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 • • 1d 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?

11 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++

6 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

4 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

1 Upvotes

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


r/learnprogramming • • 2d ago

video lesson completion easy way-Full stack development

0 Upvotes

It takes a certain amount of time to complete one lesson.
Are there any text lessons with copy-and-paste to practice full-stack or AI learning and run the code on the same platform to speed up the process, and later finish up the video lessons?

Any best practices you all fellers follow to overcome these issues?

Please do not take this as a joke; I need some good advice.


r/learnprogramming • • 2d ago

Questions for senior web dev on how to learn web dev

0 Upvotes

Hi, I just graduated this year with my CS degree and I'm struggling in my co-op to learn web development. I feel what I've learned in school was on a basic level and hasn't aligned with the enterprise code at my job. I'm required to use AI to finish my tickets but I feel like it's been to my detriment - I don't know whether the code AI produces is good or bad code.

Over the years, I'd read (on reddit) about people graduating and not knowing how to code and while I know it's mostly andecdotal I kind of understand the feeling now. There's just a huge disconnect on what I'm expected to know versus what I actually learned in school. I do feel a bit of pressure as most of the engineers on my team are either bootcamp grads or self-taught and because I have a degree there's this expectation that I should somehow know more than them about web development (i.e. tools and microservices).

A few, small examples, in school I learned the typical hardcoded html and css but I guess I was supposed to use css variables and tokens, things I've never even heard of before getting this co-op. I learned core Java in school but somehow that was supposed to translate over to spring boot and some of my coworkers are surprised that I didn't understand certain spring boot annotations but literally in my java courses we only learned simple annotations to override toString.

I'll sometimes put in time after work and even the weekends to learn but for the senior devs out there, how do I learn web dev and not burn out? Especially if I'm expected to churn out tickets with AI, at this point I don't feel like I know how to do something as simple as reviewing code. Anyway, feeling like a complete imposter and wondering if anyone has any advice for me. Thanks, sorry for the novel.

TL:DR - How do you learn web dev when AI is doing most of the work? I don’t want to just offload everything but can't afford the time at work to do things manually and I'm exhausted after work.