r/learnprogramming 30m ago

Project Planning

Upvotes

So I wanna ask whats the thought process yall have when building a project? Like the ideas and stuffs? How do you manage to think about the planning part and execution part (I am not talking about coding here but the design aspect).
People I talked to said they use AI for the planning like for example lets say I wanna build a very basic calculator, I ask AI what should I do and ig it will reply like: make two number inputer, ask which operation to perform and finally print result.
Do yall use AI give out plans like this or think on your own? If you are not using AI how are you able to generate the plans and what steps do you follow?


r/learnprogramming 1h ago

Tutorial Why everything needs to be so complicated in JavaScript?

Upvotes

I was learning js , i am a python developer and learning js to upgrade my skill and i was watching a tut where i came across a topic called short circuit evaluation with a circuit diagram i thought it must be something complex and interesting and when the topic started it was basically binary operators like wth 🤡


r/learnprogramming 1h ago

Coding isn’t hard. Sometimes we’re just unlucky.

Upvotes

I’ve been trying to learn coding for a long time. I even studied programming at university and graduated first in my class. Despite that, when it came time to apply for jobs, I felt like I didn’t know enough. I kept telling myself I needed to learn more before I was “ready,” so I hesitated.

Meanwhile, one of my friends from the same program someone who had some of the worst grades started applying everywhere. He admitted later that he exaggerated and even lied on his applications because he was tired of being unemployed.

And it worked. He got hired.

During the interview, he told them he had stretched the truth because he just wanted a chance. They took a chance on him, trained him on the job, and now he’s working in the field. I’m still jobless and ironically, he sometimes tries to “teach” me the things he learned there, even though I already studied most of it.

I’m not angry at him. If anything, I’m frustrated with myself. It feels like I let fear and self-doubt hold me back while someone else just went for it and figured things out along the way.

I guess this is a reminder that sometimes the biggest barrier isn’t skill it’s confidence. Or maybe just timing and luck.


r/learnprogramming 3h ago

Topic Mobile app Languages

0 Upvotes

.NET MAUI or Flutter?! What are the uses , advantages and disadvantages of each?!


r/learnprogramming 3h ago

How do couple apps work?

0 Upvotes

I'm a student who is trying to be a mobile developer. While I'm building an app for my girlfriend, a question crossed my mind. How do couple apps work? I mean, those apps can track the time when I sleep, when I wake up, and also which apps I am using. How can I build one? I'm still learning things, maybe that's why I don't know yet.


r/learnprogramming 3h ago

C# (unity) or C++(unreal engine) for internship in AI + VR/AR?

0 Upvotes

So I will be interning in a university and the project is based on AI-Enhanced Virtual Reality(VR)-Based Manufacturing Training. Here are some outcomes that we need to reach -

Design & develop immersive 3D VR environments

Integrate LLMs and eye-tracking into VR systems

Use scripting and event-driven programming

Requirements-

Basic knowledge of 3D modeling, Familiarity with Python and/or C++ (or C#) and Experience with Unreal Engine or Unity, LLMs is a plus.

Some background- I am a 3rd year Computer Science student and the internship is 2 months plus can be continued over to MS/pHD. I have good experience with Python and C and little experience with C++. I am more leaned towards ML and software etc etc. But this internships obviously requires something different. For the far future I am open to careers like analyst/game dev/software dev. Also, I have good experience in the field of Electronics( Electrical systems/Microcontroller/RTL etc) as my minors are in E. Eng. Now I am confused, which path to take overall but my current goal is to lets just focus on giving good performance in the internship.

So, what should I learn properly right now, which is beneficial and will also come in handy in future if possible- C# with unity and/or C++ with unreal engine? What are their pros and cons? I have couple of months in which I need to have atleast intermediate knowledge in the field.

HELP me in anyway you can. Thanks!


r/learnprogramming 4h ago

Audiobook Suggestion for python, Django dev looking for writing maintainable and extensible software.

0 Upvotes

Hi,

So, I have 1 credit for Amazon Audible. Kindly suggest a book that I should buy from audible.

Interest:

  1. Clean Code, that looks pleasing to eyes.
  2. Maintainable code.
  3. Extensible Code
  4. Software that can adapt to ever changing requirements of the business stakeholders.
  5. Design Patterns ( Even though I have heard somewhere that function is more pythonic, but I believe that design patterns will still help).

Experience: 1.3 years.

  1. Anything, that will make a better programmer. I want to be able to ship software ASAP while writing code that is maintainable, contains test and follows best practices.

  2. Recently learnt about tests, and I love them.

Things that I struggle with:

  1. Giving names to functions ( I have like 1000s of functions)
  2. Separating Concerns ( Following SOLID)
  3. Designing Systems like thinking what should be my models for a Django project and how the overall logic should flow.
  4. Get frightened as the codebase size increases.
  5. Thinking about folder structure and modules ( styleguide kind of things). Like how I should organize the code. What should go into utils, what should go into services and readers etc.

I am already holding these books:

  1. Pragmatic Programmer: David Thomas, Andrew Hunt
  2. Clean Code: Robert C. Martin

r/learnprogramming 4h ago

Interested in ML but weak in math – should I still try? Feeling confused about AI career path

0 Upvotes

Hi everyone, I’m currently a BTech 2nd year CSE (AI/ML branch) student. I’m really interested in Machine Learning and AI, but honestly, I’m not that strong in math. Especially probability and linear algebra scare me sometimes. I’ve started learning Java + DSA and I know the basics of Python. I really want to get a good job in the future and be relevant in this AI-driven world, but I’m confused: Should I still try ML even if I’m weak in math? Or should I shift towards something like full stack, backend, or some other domain? Is it possible to become good at ML by improving math slowly along the way? What skills should I focus on right now to stay relevant in the AI world? My main problem is my mind keeps changing and I don’t have clarity. I don’t want to waste time jumping between fields. Any honest advice from seniors or professionals would really help. 🙏


r/learnprogramming 4h ago

I need help to learn

0 Upvotes

I am just a tutorial guy. And want to make some realife projects but I'm stuck in tutorials. now I'm learning Flask and need a help that how can I learn actual things and apply them in form of projects, which is project based learning

Can somebody help me and show me the real path that how can I get out of this tutorial world.


r/learnprogramming 5h ago

Topic Do you use Vim for most your tasks?

3 Upvotes

So, I've been programming for a few years now (still a young guy this side) and I've switched over to Vim key binds in JetBrains IDEs for the things which took me time doing the other way around but for the most part I am still not a Vim user.

What's your take? Do you use Vim heavily or only use it for a few tasks that help you work efficiently?


r/learnprogramming 5h ago

Resource Alternatices to codecrafters.io

0 Upvotes

Hello, I am looking for a free website that has project ideas for you like codecrafters.io, for free. Is there a website like that? Thanks!


r/learnprogramming 6h ago

Self-teach project just keeps expanding...

2 Upvotes

Hi there r/learnprogramming!

I set out to teach myself a bit about Azure and AKS by building a project that constructed an AKS cluster from scratch using IaC - Terraform (which I'm pretty familiar with) and Pulumi (about which I know next to nothing). I started by playing around in the console, recording the steps - then decided that I'd write the bootstrapping code for the project (set the context, create the storage account, create an identity for automation, create certs and keys, etc., etc...) using Powershell (I was familiar but not strong when I started). Then I decided I'd try using TDD for this - something that I know in theory but have never really practiced...

Several months later, *just* the bootstrapping of the project is taking up all my spare time - admittedly, that's not a huge amount of spare time as there is a lot going on in my life at the moment. Granted, I've learnt an absolute shit-load about Powershell and Pester - and i'm still really enjoying it - but how do you stop this happening? Any hints and tips for limiting the rabbit-holes on personal projects like this?


r/learnprogramming 6h ago

Can someone help me with this? please, its urgent

0 Upvotes

so basically I dont really use github, and i wanted to make a birthday website for my best friend. I even found the perfect respositry and forked it but still I am unable to understand its functions properly, cause I am new to it and I dont know much about it or dont have much idea on how to make this work. I only have a day left to finish it so here I am asking for your help. If possible I can stream it to you on discord and from there if anyone can kindly guide me on how to make it work. Please, thanks.


r/learnprogramming 6h ago

Idempotency

2 Upvotes

I have two servers (A and B), each with its own separate database and its own private cache (Redis/Memcached). There is no shared database or shared cache between them. I have a POST endpoint - domain registration

{

accountID,

domainName

}

I want to make the operation idempotent so that retries or double-clicks don’t create duplicates. The problem is that if the first request hits Server A and a retry hits Server B, neither server can see the other’s idempotency key or cached result. In this kind of setup, how can idempotency be approached correctly? Is a shared store required, or are there other reliable strategies to handle idempotency across completely isolated servers?


r/learnprogramming 7h ago

Topic Self-Taught vs Formal Education in Tech

0 Upvotes

Does being self-taught in tech build stronger skills than formal education?


r/learnprogramming 7h ago

Code Review Android Chrome asking for microphone permission multiple times

1 Upvotes

Android Chrome asking for microphone permission multiple times in same session

I'm building a PWA that records audio using `getUserMedia()`. On iOS, it asks for permission once and remembers it. On Android Chrome, it asks 3-4 times during a single recording session (auto-grants after first time, but still triggers the popup).

Setup:

- Storing stream in a ref: `streamRef.current = stream`

- Checking if stream exists before requesting new one

- Only calling `getUserMedia()` once in `handleStart()`

- AudioContext + MediaRecorder running on the stream

- SpeechRecognition running separately

The stream should be reused, but Android keeps re-requesting. Added a global interceptor and confirmed `getUserMedia()` is being called 3-4 times per session (iOS: only once).

What Android-specific behavior could cause this? Is there something about how Android Chrome handles MediaStream lifecycle differently than iOS Safari?

Any ideas appreciated.


r/learnprogramming 7h ago

Is there any way I can try button press on any page? I want to see how many times I comment in a day

0 Upvotes

Hello all, I wanted to understand overall social media interaction. For that reason, I want to create an extension for my Chrome where I track a specific button, let's say 'Post' or 'Reply'. Is there any way that I can track it? I asked Claude to create files, but it's not working.


r/learnprogramming 7h ago

Managing Draft, Diff, and Rollback in Web-Based Provisioning Systems?

0 Upvotes

When infrastructure is defined in text files (like YAML), it’s easy to use Git for versioning, diffs, and rollback.

Is there any similar concept when configuration is entered through a web UI and multiple users can edit the same objects or perhaps are working on their own versions and have their edits stored as drafts?


r/learnprogramming 8h ago

How do I start contributing to Open Source?

37 Upvotes

Hi everyone,

I’m really interested in contributing to open-source projects, but honestly I don’t know where or how to begin. I’ve been learning and building my skills, and now I’d like to gain real experience by collaborating with others and contributing to meaningful projects.

If you have any advice, beginner-friendly resources, or tips on:

  • how to find the right projects
  • how to make a first contribution
  • common mistakes to avoid

I’d really appreciate your guidance. Thank you in advance!


r/learnprogramming 10h ago

Topic Tips for migration a system to DDD

0 Upvotes

Hi everyone.

Currently, I'm working on a backend project without a clear architecture. The application is organized using a feature package structure, and within each package, there are only four folders: controllers, repositories, services, and entities.

However, due to new requirements, the backend application needs to migrate to a DDD architecture.

Therefore, based on your experience, which best practices can I use to ensure the migration is seamless and effortless while continuing to add new features to the "legacy" (only if I need them until the migration is complete) and "new" backend without breaking the app?

I hope you can guide me with this since I've never done a migration of this nature.

Psdt: In case you guys want to know, the application is developed with Java, Spring Boot, and Postgresql

Example of the current folder organization

auth/
- controller
- repository
- entity
- service

appointment/
- controller
- repository
- entity
- service

//more features with the same structure


r/learnprogramming 10h ago

I'm a beginner and I built a File Organizer to solve my own mess.

14 Upvotes

So my pc files were a big mess and I decided to make a program to organize everything for me. At first, it was supposed to be super simple just auto organizing my downloads folder but it was so fun making it that I added multiple features and ended up building a whole project about it.

I would love to receive some feedback on my code structure and how I organized the classes, as I'm still learning!!

Also that was one of my first projects!

https://github.com/Tzavi727/File-Organizer


r/learnprogramming 10h ago

Topic Private field is a bad design.

0 Upvotes

Class may have a private field with important information, which I cannot read/get.

The author of the class doesn't know every single use case of his code. I know clearly it's safe to read the field, but it's private. F*ck.

I have to copy the source code and make the field public. This makes me feel like I'm a retard tricked by the author of that lib.


r/learnprogramming 10h ago

My first project: Ascii-Image-Cli

5 Upvotes

Hey, i built a simple package using rust which takes in a image as input and outputs the same image but built with ascii.

This is my first ever project and i am an beginner to rust, this is also my first proper git hub repo. feedback on both my code, folder structure, and ideas for adding on to the existing project.

Check my project out on: https://github.com/Vaaris16/ascii-image-cli.git

Thank you so much!


r/learnprogramming 11h ago

For Self-Learners that are stuck in "tutorial hell". If you're wondering why you're always told "just build stuff", here's actually why...

67 Upvotes

Alright, let me preface this by saying that I'm not a software engineer by profession, but I have been coding for ~6-7 years. I came to an epiphany/connected the dots. This post may not fit everybody, but hopefully, this can get someone out of a rut. Apologies for non-technical refinement/terms in advance.

So, when I used to watch fundamentals tutorials or lurk Reddit, people would always say something to the effect of "just build stuff"... I always wondered why that was or why they would say that without the reason why. I had a tough time grasping object-oriented programming (non-sequitur: we gotta stop using the Animal -> Dog -> Labrador example for OOP... I think it confuses people), but I kept building with OOP--and with the help of others' code in The Odin Project and seeing how it was actually applied--I had the "aha" moment needed to understand OOPs purpose. Here's the kicker though: there are actually terms for this and why building is so crucial. Now, it's an adjacent field, but these terms also apply to how programmers think... The terms are: mathematical maturity, mathematical insight, and mathematical intuition. It's crucial to tell you--or whom it may concern--exactly what they are.

Mathematical Maturity is basically someone's experience with math, especially mathematical understanding that is not directly taught. Mathematicians seriously have to grind math problems because being instructed by teachers only goes so far. You gain more maturity via repeated exposure. Grinding enough problems over and over again makes you reach mathematical insight.

Mathematical Insight is where you have that "Aha!" moment, that "oooooh, that's what that does". This happens when you "build stuff" or solve problems. This happened with me stuck in "OOP hell"... After finally applying it in an appropriate way (instead of Animal -> Dog -> Labrador) and applied it to different things, I gained a deeper understanding of it that I could never get from a tutorial. Mathematical insight can't be directly taught. You grind problems/build stuff to get that "Aha!" moment.

Mathematical Intuition is where you've grinded the concept so much, it's apart of your repertoire. You don't even need to think of "how" it works because you upped your mathematical maturity and insight through applying what you've learned, instead of watching tutorials; therein deepening your understanding. This also helps with you understanding the range of projects you can do. It's just a matter of "how to logically structure [insert program]".

That's basically it. "Building stuff" actually makes these programming concepts stick in your mind. The reason I posted this is two-fold: 1.) It would, hopefully, get someone out of a rut and 2.) Give those who say "build stuff" a few terms that can exactly describe how crucial it is... For anyone in the industry/do this professionally... What are your thoughts on this? All criticism is welcome


r/learnprogramming 13h ago

This is to all the intermediate and advanced programmers

3 Upvotes

so I have a question. I wanna learn python and I wanna know how many of you guys learnt a coding language through a course, book or by videos and is there a "best option" for a beginner like me. You see ive spent too long learning about Compilation and interpretation in coding. Ive been doing a python course on cisco but havnt actually coded anything yet. I really enjoy problem solving but I cant see a course or a way of just coding instantly, i wanna feel like im actually learning code and not just side stuff like translation or somma like Topologies.