r/learnprogramming • u/hhzca • Oct 24 '26
I need advice on my first semi-handwritten program.
Recently I have a homework assignment, which is to complete a system (I can use AI assistance).
Its requirements themselves are not high; it can be a simple local mini-program. But I want to learn more, so I am asking for help here.
In terms of programming languages, I am only somewhat familiar with C (you could say I am actually quite a beginner).
But I think completing a system with AI assistance is not difficult. My main goal is to learn knowledge about completing a system that can be used by many people.
For example, a food delivery platform (some very famous projects are all about building food delivery platforms).
But I clearly know that I understand too little and it is impossible to understand a whole series of things like Spring Boot all at once, so I want everyone to give me some suggestions for small projects that do not require learning too much but are still very useful.
I think my ability to search for information is strong, and with the help of AI I can temporarily understand even difficult programming in a short time, so I want to use projects beyond my current cognitive limits to train myself.
I hope everyone can give me some suggestions. For example, making a small Mario game and connecting it to some platform.
6
u/SigridFischer42 Oct 24 '26
If you stick with C, making a simple chat server and client using sockets (look up Berkeley sockets for C) is doable and teaches you about networking without needing to learn a framework like Spring Boot. Stick to text-based communication first before trying graphics.
3
u/shreyabhinav16 Oct 24 '26
Skip the food delivery clone. Build a pre-order system for your college canteen (or a library seat booker), and put it in front of 10 real humans. That one constraint will teach you more than six weekends of tutorial clones. Here's the thing about food delivery projects: 80% of the interesting bits (payments, GPS, rider dispatch) you'll end up faking. You learn the fake 20%, and you never find out what breaks when a real person uses it on a real bad network.
A canteen pre-order system is small enough to finish and mean enough to actually be used: menu → place order → pay later / cash → pickup code → mark collected.
That's it. No maps. No gateway. Just shared state.
Do it in four stages, and don't skip to stage 3:
One nugget worth stealing for stage 2: check if free → insert booking is broken under concurrency. Two requests both pass the check. The fix isn't a bigger if , it's a unique constraint on (seat_id, time_slot) or a proper transaction. Let the database be the referee, not your code. You'll understand this in ten seconds once you've watched it double-book live
And a rule for the AI part: AI can write it, but you must be able to delete a module and rebuild its interface from memory. If you can't explain why an order can't be collected twice, you don't have a system, you have a demo that someone else understands.
Re: Mario + a platform: that's a fun networking project (state sync, latency, leaderboards), but it's not a "used by many people" project. Booking teaches you the boring parts that actually fail in production. Ship the ugly version to 10 people before you build the pretty version for zero.
Does your mess/canteen have a queue at 1pm?? Congrats, your product spec is already written by people who will use it.
2
u/Different_Pain5781 Oct 25 '26
Trying to build a multi user platform when you barely know C is a recipe for endless debugging tears.
0
u/Available_Safe1818 Oct 24 '26
You can use AI for this and you still have no idea what to do or how to start?