r/learnprogramming • • 1d ago

How could i decrement a value in a variable, x times over a certain period of time in C?

1 Upvotes

I'm creating an emulator of CHIP-8 in C following the Tobias' guide and I should decrement the value of delay and sound timers 60 times per seconds but i don't know how to do this. Maybe could be something in SDL2 but i want to implement this feature independently by this library so i can easily import this emulator on other devices changing just the graphics and input management.


r/learnprogramming • • 2d ago

How to improve logical thinking in programming

126 Upvotes

Hey

I'm 23m working professional,

Yesterday at the office my team lead said he found a pattern in my work

He said I'm mugging up patterns and not thinking logically.

Well I do codeforces , leetcode, hacker rank to improve my programming skills but I understood that he was right

All I do is find a pattern in the problem and try to solve it

Anytime I find a new problem I'm stuck

Because I never saw that before

How to come up with my own solution?? How to improve problem solving and logical thinking???

Open to all the suggestions:)


r/learnprogramming • • 1d ago

Discussion How can I focus longer on programming?

10 Upvotes

I'm a creative person. I like creating things, and I would love to create my own apps and programs. However, I find it hard to concentrate on programming, and I found out that it's not something that I can just do whenever, for example, something like video editing. No, I have to fully concentrate on programming the whole way unless I have already learned something and I have to recall it.
I don't have ADHD. Could this be solved?


r/learnprogramming • • 22h ago

Help needed How to i turn my code into app?

0 Upvotes

I want to make a simple music player app for my school project, but they only thought us how to make stuff in web, so i want to do something more unique for the graduation project. I dont need any fancy app hosting, just a way i can download my code and use it as an app

ill be mainly using php, sql and css


r/learnprogramming • • 1d ago

Coding Refresher

10 Upvotes

Is there a free/relatively inexpensive resource for relearning/practicing code?

I was starting to make a lot of strides towards my projects, but after getting this Helpdesk job my time shrank and with it my coding skills.

I was mostly learning C# for unity and started a little C++ after unity pulled the Runtime fee thing, but I really want a way to be able to sit and practice code like an instrument - doing runs, scales, following sheets/tabs, ya know? Just something to help the muscle memory and build a better understanding


r/learnprogramming • • 23h ago

In the age of AI, is it useless to read programming books like designing data intensive applications, Dive into systens a gentle introduction to computer systems and Code Complete?

0 Upvotes

I still want to read all of these books, both for my own enjoyment and to increase my productivity but I feel like I would be wasting precious times on those things.


r/learnprogramming • • 2d ago

Topic I’m curious, how many languages are you “fluent” in?

26 Upvotes

Basically the title. Which language(s)? Was it work, school, or a personal project that pulled you toward said language? I’m just curious about the ways people “settle in” so to speak.

Please don’t be “clever” and say English because I said fluent instead of proficient…I beg you.


r/learnprogramming • • 1d ago

First day

0 Upvotes

Hello peeps. Just joined, First day here, and I have a personal question.

I’ve been a college student for many years now (on and off due to unexpected life changes, job losses, and ultimately a lack of financial backing.)

Because of this I’ve naturally had a lot of time to speculate what exactly I want to do. I’m a musician and enjoy computers.

My earliest memories of curiosity always return to the first time I ever encountered a broken speaker/radio receiver. I stripped it down( destructively of course) to the motherboard and played with it and probably took the housing off of every radio or broken audio device possible that year.. it’s safe to say that since I’ve always been interested in how audio works and how it’s products and things are made and how it gets used by others in their daily lives.

That said, previously, I was exploring architecture and urban planning, until my MIL convinced me to give something that blends my interest a try.

something that I could possibly see my self doing lifelong/ or atleast not eventually become annoyed by or consider cumbersome later on.

After some research and some internal assessments, music technology seemed to be that thing. Im still working out what my concentration may be, I need to finish 2 more semesters before I can transfer to the school that offers the music technology degree, but all this back story leads me to a question that I’m sure has been asked or atleast thrown around in here once or twice.

In the age of AI, can someone like me, with a rudimentary understanding of programming(python) survive the current climate of the tech industry/ world.

I know that my interest is probably a little niche, given its musical nature, but I’m fearful that that doesn’t make it exempt from the technological advancements happening right now.

I wont name the company I work for, but their AI systems have reduced my teams workload and responsibilities significantly. We all fear layoffs due to the way these systems can do 4 people’s jobs all at once.

TLDR: can a programming newbie survive the AI wave even if the systems I want to work on are music oriented?

(making new physical instruments that are possibly powered by cpu systems/ hardware/ software etc. , DAWs, plugins, and possibly DSP and things like that).

All answers welcome, thanks to those who take the time to reply in advance


r/learnprogramming • • 1d ago

How much usage of AI is okay when doing my own projects if I want to get better?

0 Upvotes

Question that has been bugging me lately:

Should I not use AI at all? Only googling and documentation?

Should I try to resolve my problem for 30 minutes then use AI?

Should I use AI but make sure that I understand what it wrote?

Is there some prompt that could guide me without giving anwser straight away so I can grow?

Does it matter?


r/learnprogramming • • 1d ago

Topic How do you learn Hosting and Deployment for free?

1 Upvotes

I have been working in MERN stack and have build some projects. But i've never really deployed any of my apps. I have searched on different platforms for resources fo learn deployment but its always tied to some paid service or a credit card information. I was thinking of building my own VPS, and somehow make it publicly accessible instead of Local Network. Can someone help me?


r/learnprogramming • • 2d ago

What programming language should I focus on as an occasional hobbyist?

6 Upvotes

As in, I sit down to code for a few hours once a month, give or take.

I've been chugging along on a text-based game in TypeScript with Vue. I'm constantly running into quirks and hidden nuances of the languages. Spending my precious hours figuring out the difference between interfaces and types, only to learn that it's pretty much personal preference, makes me feel like I'm wasting time due to the language choice.

Also the fact that I have to juggle several languages with their idiosyncracies: HTML, CSS, TypeScript, JavaScript (when it offers its own quirk), Vue, JSON. Forgetting one language then having to get back into it.

Can I have a more straightforward language? Maybe I should go to just bare JavaScript? I've used several languages in the past, including Java, C#, Python, Lua.


r/learnprogramming • • 3d ago

Cybersecurity, game development, or deep learning? I can't decide.

54 Upvotes

I'm genuinely interested in all three, and that's the problem.

I've been learning programming and recently completed MIT 6.100L. Now I'm trying to figure out what to explore next.

Cybersecurity, game development, deep learning all three sound equally exciting to me, and I can't seem to settle on one.

For those of you who've been in a similar situation, how did you decide what to pursue? Did you just pick one and see where it took you, or did you find a way to explore everything?

I'd love to hear your experiences and advice.


r/learnprogramming • • 1d ago

1st Year Tier-1 CSE: Am I too late for C++ and DSA? Already did some ML.

0 Upvotes

Hey everyone,

I am a first-year CSE student at a tier-1 college. My first semester is ending on December 4th. I am planning to start learning C++ and Data Structures & Algorithms (DSA) now, but I am worried—am I starting too late?

To give some context: I didn't learn much during the first 1.5 to 2 months of college. However, over the last 1.5 months, I have been diving into Data Science and Machine Learning. I've been studying from Data Science from Scratch by Joel Grus and Introduction to Statistical Learning with Python (ISLP).

Currently, I am quite comfortable with Python and its core libraries, including NumPy, Pandas, Matplotlib, Seaborn, and Scikit-Learn. I feel I have built a solid foundation in ML and understand the basic math behind common algorithms like Random Forests, Decision Trees, Gradient Boosting, Linear Regression, XGBoost, HistGradientBoosting, AdaBoost, CatBoost, KNN, K-Means clustering, DBSCAN, and hierarchical modeling. I am also familiar with various model evaluation techniques.

Despite this, I feel an underlying anxiety because I haven't started DSA yet. A lot of my peers are already active on platforms like LeetCode and Codeforces, or are following Striver's sheets.

Given my current progress and the peer pressure, am I actually lagging behind, or is starting DSA in the second semester perfectly fine? I would love to get some perspective and advice on how to balance my ML interest with competitive programming/DSA moving forward.

Thanks!


r/learnprogramming • • 2d ago

I have no A-levels. Am I likely to succeed in software engineering?

7 Upvotes

(Sorry if this is the wrong subreddit)

Like the title says, I have no A-levels as I went to college because I had different goals at the time. I’m happy to put in the time and money into courses like python, Java, C++ and others I need to know as well as study at the open university. So am I likely to succeed in software engineering without A-levels but with programming courses and an open university degree?


r/learnprogramming • • 2d ago

Looking for project ideas that solve real-world problems (Java + React + microservices) - not another e-commerce clone

4 Upvotes

Hi everyone,

I'm a final-year / PG diploma student (India) and I need to finalize a project topic in the next day or so. Most project lists I've seen are full of e-commerce, "X Management System", and booking apps, and I'd like to build something that solves an actual problem for actual users.

Tech stack I'm planning to use:

- Backend: Java, Spring Boot, Spring Cloud (API Gateway, Eureka/service discovery, config server)

- Frontend: React

- Architecture: Microservices (REST + event-driven where it makes sense, e.g. Kafka or RabbitMQ)

- Auth: Spring Security with JWT / OAuth2 (Keycloak is also an option)

- Database: open to suggestions (PostgreSQL / MySQL / MongoDB, Redis for caching)

- DevOps: Docker, GitHub Actions for CI/CD

- Optional: I'm open to ASP.NET Core for one or two services if the idea benefits from it

What I'm looking for:

- A real problem you've personally faced, or seen in your city, college, workplace, or local businesses

- Something that naturally needs multiple services (e.g. auth, notifications, payments, scheduling, analytics) and doesn't force microservices just for the sake of it

- Scope that a team of [2-4] can build in about [2-3 months]

- Bonus if it has a clear MVP and a few stretch features

What I'd like from your replies:

  1. The problem statement in 1-2 lines
  2. Who the users are
  3. Which services you'd split it into (a rough idea is enough)
  4. Any gotchas you'd warn me about

I've already considered things like clinic queue management, group expense splitting, and water tanker booking, so if you have ideas beyond those, I'd love to hear them. Honest feedback on my stack choices is also welcome.

Thanks in advance!


r/learnprogramming • • 2d ago

Looking for ideas for an app to build for my high school graduation project

4 Upvotes

Hi everyone!
I’m looking for ideas for an app to develop as my high school graduation project.
I’m currently in my final year of a technical high school, studying Information Technology, and I have to create a project for my Programming class. I’ve decided that I want to build an application, but I’m not particularly good at coming up with ideas, so I thought I’d ask for your help!
Is there an app you’ve always wished existed? Something that would make your everyday life easier, either for you or your children? Maybe something interesting, helpful, practical, or just genuinely useful?
I’m open to absolutely anything. It doesn’t matter which programming language would be used, whether the app requires a database or not, or how complex the idea is. At this point, I mainly need an idea or a concept that I could turn into an actual application for my graduation project.
I’d really appreciate any suggestions, no matter how big or small!
Thanks in advance to everyone who takes the time to share an idea!


r/learnprogramming • • 2d ago

Languages What should i consider when choosing between C++ and Rust as my main programming language

4 Upvotes

Currently i only really plan on programming simple tools for myself but in the future i also need to learn programming for engineering. What should i consider when choosing between the two, what are some important considerations and what should i be aware of?


r/learnprogramming • • 3d ago

Looking for recommendations: Best resources to learn DSA from scratch

28 Upvotes

Hello everyone!

I am a first-year Computer Science and Engineering (CSE) student, and I want to start learning Data Structures and Algorithms (DSA) from the absolute ground up.

Could anyone suggest high-quality websites, books, or courses that are beginner-friendly?

I would also love to hear any tips, strategies, or roadmaps you wish you knew when you were starting out.

Thanks in advance for your help!


r/learnprogramming • • 2d ago

Tutorial Django tutorials

0 Upvotes

I have started practicing Django, I created a simple student admission page:
• ⁠Student fills form
• ⁠Django validation takes place
• ⁠After validation data is stored in database
I used DRF for the validation, and aws PostgreSQL and this is a simple thing I want to use to start my journey in backend dev.
Hosted it on render free tier and when I hit the submit button I used a stopwatch to check how it took to submit and it was 00:00:22.23.
Please I’m still learning and I want to know if it’s okay to have that time for submitting and if not what should I study next and I used the DRF for the form validation with an if statement.

Thank you for feedback and time.


r/learnprogramming • • 3d ago

Computer sci tips pls

6 Upvotes

Currently i’m learning DSA (Divide and conquer, stack and queue, Binary search, Greedy….etc) and Back End development (Express.js, node.js……etc) and I need some tips or maybe some resources that could help me.

Also i feel like computer science isn’t for me. I mean it’s normal to feel that way but i’m still trying to find ways to enjoy CS


r/learnprogramming • • 3d ago

If you had 3 months off this winter, what would you focus on?

34 Upvotes

Imagine you had three months completely free this winter.
You have some experience with competitive programming, a decent foundation in math and computer science, and enjoy solving problems on LeetCode and Codeforces.
You're still learning, don't have a particular area of interest yet, but you're disciplined and enjoy challenging yourself.
How would you spend those three months to become a better programmer and software engineer? What would you focus on?


r/learnprogramming • • 3d ago

I really need some advice / venting

7 Upvotes

So i'm a junior in college and i have no internships lined shit i barely have any projects and i just don't know what to do anymore. Majority of the time I've applied I get nothing or maybe I get a coding assessment where I fail it. I understand my resume is probably horrible but I don't know what to do to make it a better. I keep hearing the same things make something you care about, make it technical, do this that and wtv else. HOW??? I can barely keep manage both classes and actually make projects then to practice. It's not as if I spend my time outside of classes doing anything social. So I pretty much have 'unlimited' time to get better. I heard use ai to advance your projects but then I don't know what my project is even about, I heard don't use ai and write manually but then it takes me forever to even finish one stupid project, I heard use ai to prompt and learn along I tried that it feels so fucking boring. It feels like i'm child asking "hey is this good enough?" It's so fucking stupid man. I understand someone would say just "suck it up and continue" and I've been trying to. Outside of all of that look at how ai is advancing, how am i supposed to keep up? how am i supposed to be good enough? even if I am then i get laid off? I'm sorry if I'm coming off very negative but I felt like shit about this and I don't know what to do anymore. I don't want to fail but it feels like that's what going to happen. Anyone could please give me some advice or just reinsurancement idk. I tried to be positive about this in the beginning but I genuinely don't know what to do anymore. I'm so scared.


r/learnprogramming • • 3d ago

Topic [Homework] How is Go actually standardized if there's no ISO standard? (Conflicting answers)

31 Upvotes

Hola a todos,

Estoy trabajando en una tarea sobre la estandarización de lenguajes de programación. Dado que Go no está regulado por un organismo externo como ISO o ECMA, he estado investigando qué reglas sigue, pero encuentro respuestas contradictorias.

Algunas fuentes señalan la Especificación del Lenguaje Go como lo más parecido a un estándar formal. Otras enfatizan que no existe una base independiente y que el lenguaje está completamente dirigido por el Equipo Go de Google. Por otro lado, algunos argumentan que herramientas como gofmt y la Promesa de Compatibilidad de Go 1 son las que realmente normalizan el ecosistema.

Intento comprender el panorama general para mi tarea. ¿Podría alguien explicarme cómo encajan todas estas piezas?

¿Cuál es la respuesta definitiva? ¿Se considera la Especificación del Lenguaje el estándar oficial, o la estandarización en Go se logra únicamente a través de la gobernanza de Google y las herramientas de la comunidad?

No necesito un ensayo completo, solo una explicación clara de qué debo citar como el "estándar" para Go. ¡Gracias!

En resumen: Go no está estandarizado por la ISO. Si tuvieras que escribir un ensayo sobre cómo se estandariza Go actualmente, ¿qué documentos, entidades o herramientas citarías y por qué?


Thank you all so much for taking the time to answer this thread from a young university student who isn't very familiar with the topic. I truly appreciate it from the bottom of my heart. I'll leave this space open for anyone who wants to continue commenting or learn more about what's below. Without a doubt, I was able to answer my question. Thank you.



r/learnprogramming • • 3d ago

Topic Is Python -> JS -> C++ -> Java -> C -> Assembly a good order to learn?

12 Upvotes

I'm a Python beginner planning my learning path and want to know if this order makes sense:

Python -> JavaScript -> C -> Java -> C++ -> Assembly

Is this a good path, or is it a bad idea to learn this many languages? What do you think?
Edit: Swapped C++ and C (so C -> C++ instead of C++ -> C) based on your feedback. Thanks for all the advice!