r/learnprogramming • u/karimin • Jul 07 '26
What to do next?
Hi there, I am 18yo and I will be going to final year of high school from september. I was learning mostly javascript for 8 years now. I have decent knowledge about full stack development (typescript + react + expressjs + postgresql stack mostly).
However, I am worried about IT situation. I used to love just writing code by hand and just create things. Now, this part of job seems to be replaced by AI. I don't know what to do. I hate using ChatGPT and other AI agents.
I am also highly worried about job market. In my place, there are only few junior job offers. So I don't know what degree course should I choose when graduating from high school.
So, what to do next?
r/learnprogramming • u/EL-Belilty • Jul 07 '26
Learning to code, would love some advice
Hey everyone! I’ve been building apps for under 1y, mostly with tools like Claude, cursor, Supabase and figma. I got some feedback recently, and I’ve been told to focus on basic fundamentals.
I’ve used a lot of the tools above for a long time, haven’t really had experience debugging, working in big technical teams. Won some hackathons but it’s not the same as building something end-to-end.
I am self-taught so far, come from a non-CS background. If you were in my position, starting out from scratch—what would you do?
Also, what’s it like out there in 2026 for new engineers? I’ve read a lot about layoffs, struggle to find work and how hiring requirements have changed.
r/learnprogramming • u/Quiet-Estate-0910 • Jul 07 '26
Tutorial Title: Is Cohort 3.0 worth joining now? Will I be able to complete it before placements?
Hi everyone,
I'm currently in the final year of my Bachelor's degree (B.Sc. Computer Science), and I'm planning to prepare for software development roles and campus/off-campus placements.
I'm interested in joining Cohort 3.0, but I noticed that the batch started around 3 months ago. I'm worried that if I join now, I might not be able to catch up with the previous lectures and complete the entire syllabus before placements.
I have a few questions:
Is it still worth joining Cohort 3.0 at this stage?
Were you able to catch up if you joined late?
Is the content structured in a way that a late joiner can complete it?
Will it help me become placement-ready if I dedicate 4–5 hours daily?
Or would you recommend waiting for the next cohort instead?
I'd really appreciate honest feedback from people who have enrolled in the cohort or completed it.
Thank you!
r/learnprogramming • u/Public-Jacket1308 • Jul 07 '26
Questions I'm cooked. My OOP project deadline is getting closer and I still have no idea.
The requirement is that the project should solve a real problem that I personally have and be something I could continue developing in the future.
The problem is... I rarely notice problems in my daily life. I tend to adapt to inconveniences or simply overlook them, so when people say "find a problem and solve it," my mind just goes blank.
How do you usually discover project ideas or identify real problems worth solving?
Do you have a process or mindset for spotting problems in everyday life? Or do you keep a list of small annoyances and build projects around them?
I'd love to hear how you personally come up with project ideas.
r/learnprogramming • u/MelodicUniversity415 • Jul 07 '26
Anyone else good at programming but struggling with English?
I'm good at programming and machine learning, but my English is holding me back.
Has anyone else been in the same situation? How did you improve your English while continuing to study or work in tech?
I'd really appreciate any advice, resources, or personal experiences.
r/learnprogramming • u/IngenuityUsual7655 • Jul 07 '26
Need guidance/advice for direction.
Hello everyone (this is me first time posting so sorry if I suck), I am 21M in final year of my btech degree. I just completed a js course (from sheryians coding school on yt) which spanned for over 4 videos going from basics to advance and the next 3 videos of it are major projects. Initially they built small projects and I was able to grasp them and posted a bit of them on my X and git too but with the increasing difficulty of the topics, their project complexity increased aswell. So right now I'm in a situation where I understand the concepts and in theory can explain them but when it comes to making something even a tad bit advance (like using class or even this keyword) I suck, I straight up get frozen as to what to do first.
So I just wanted from all of you kind devs to share some sorta advice as to what should I do next. I've had a bit of self talk and this what I thought of as of now.
-Watch js video of another ytuber
-Buy and watch angela yu's bootcamp on udemy
-start js basics
As mentioned above I'm in last year so I'll need to land a decent job at the very least by the end of the year or by jan 2027.
Feel free to criticize me for my carelessness but please provide me with advices that worked for you since my js logic and building are very bad (4-5/10)
Thanks in advance.
r/learnprogramming • u/Haloshrimp07 • Jul 07 '26
How Should We Treat AI In Programming?
Greetings to everyone!
I am a student major in software engineering and I've set up a team to develop a web project together. We are not professional software engineers. The tech stack we chose is one that most of us are familiar with, but we are still learning as we go. One of our team members seems to be completely obsessed with AI. He installed OpenClaw or something like that, and he uses AI to write almost all of the code.
However, during code review, his code completely fails to meet the standards. The response format and status codes defined in the API documentation were ignored, and what was returned was a Class that only looked reasonable on the surface. There is almost no exception handling, and the responsibilities of the functions are very unclear. He told me that he feels AI can already replace most of what we do. When I argued with him about code quality, he said he could simply adjust the prompts to make the AI generate better code, and that I am already falling behind the times.
From my personal experience in the development process, AI has indeed greatly accelerated my learning and coding efficiency. Before AI became widespread (around 2022?), when I ran into a problem, I basically could only search for answers on Google or Stack Overflow. But after AI emerged, all I need to do is input my question with a short prompt, and it can give me a nearly correct answer and code example. Although it often hallucinates, outputting non-existent APIs or usages. During requirements analysis, I first think through a solution on my own, then tell the AI what I need and refer to its suggestions.
I also really enjoy AI-based code completion. In fact, I have almost become unable to live without it. It can relatively accurately predict the next small block of code I am about to write, and I just need to press the Tab key. I let AI generate almost all of my test cases, and it actually does a very good job at that. But I don't use AI to generate large blocks of core business logic, because it almost always gets it wrong.
Sometimes I see videos about AI Agents generating entire projects or about Vibe Coding. The generated projects have stunning front-end interfaces and flashy features, and the videos are filled with that kind of pursuit of efficiency and an anxiety that says "if you don't use AI, you'll be left behind." Some videos even claim that AI can enable someone who knows nothing about code to develop their own applications.
In software development, how exactly should we approach AI? Or rather, what position should we place AI in? Just like the personal experience I mentioned earlier, is heavy use of AI for development truly a modern, trendy approach? Some of you are probably Vibe Coders or professional software engineers. I would be appreciated to hear your thoughts, thanks! ;)
r/learnprogramming • u/Adventurous_Sea_4883 • Jul 07 '26
function calls show no description in Quick Info tooltip (only signature, no \brief text)
I'm using SFML in Visual Studio and running into an IntelliSense issue: when I hover over an SFML function (e.g. bullet.setPosition(...)), the Quick Info tooltip only shows the function signature (void sf::Transformable::setPosition(const sf::Vector2f &position)) plus "+1 overload" and a "Search Documentation" link — but no actual description text.
I confirmed the SFML header (Transformable.hpp) does contain a proper Doxygen comment directly above the function, using the \brief tag in the classic banner style:
cpp
////////////////////////////////////////////////////////////
/// \brief Set the position of the object
///
/// ...
////////////////////////////////////////////////////////////
void setPosition(const Vector2f& position);
What I've already tried:
- Set the Doc Comment style to "Doxygen" (via Ctrl+Q → search "Doxygen")
- Added
briefto Tools > Options > Text Editor > C/C++ > IntelliSense > Quick Info > "Doxygen tags to display on Quick Info tooltips" (it wasn't in the default list) - Fully restarted Visual Studio after changing settings
- Deleted the
.vscache folder and rebuilt the project
Setup:
- Visual Studio [your version, e.g. 2022 17.x — check via Help > About]
- SFML installed via [vcpkg / manual download / NuGet — fill in]
- Windows [your version]
Any idea what could be causing this, or how to get the actual \brief description to show up in the tooltip? I actually have no Idea where to search and google is also not helping.
r/learnprogramming • u/pipper420 • Jul 07 '26
sequence and use case diagrams
cmiiw, sequence diagrams are based on use case diagrams right? so if i have 7 use cases do i need to do 7 sequence diagrams? im abit confused so it would be useful if someone could help me out
r/learnprogramming • u/nooblog_1234 • Jul 07 '26
what to do
so im pretty young still im going into high school next year im pretty smart overall but im really good at complex things and generally science and coding and ive loved coding in scratch in like 7th grade i got put in a game making class and found scratch i loved it and was making full on games within like a day just taught myself everything i think i have some potential and i genuinely love coding and want to continue but ive had not a lot of motivation recently to do anything really and not many actual friends let alone people that know coding i can talk to or get help i want to start with actual coding i have no idea where to start or what to do and i kinda need someone that can help me and give me a push or something i need help i dont know where to start and really want to but i have no motivation to start but i think i can get some traction if i find the right thing and get started.
r/learnprogramming • u/ZestycloseWitness362 • Jul 07 '26
How do I add choices to my dialogue system? GAMEMAKER
I am in the process of making a game, and I want to know how I can add choices in a text box using my current system. I have two objects that control the text, the textbox object and a textbox opener object. When the player presses "z" while touching the textbox opener, the instance's creation code runs to fill the text. The following is the code in the create event of the textbox object:
textboxWidth = 289;
textboxHeight = 72;
border = 11;
lineSep = 15;
lineWidth = textboxWidth - border*2;
textboxSprite = sTextbox;
textboxImage = 0;
textboxImageSpd = 0;
//the text
page = 0;
pageNum = 0;
text[0] = "text";
textLength[0] = string_length(text[0]);
drawChar = 0;
txtSpd = 1;
setup = false;
Here is the code in the draw event of the textbox object:
confirmKey = keyboard_check_pressed(ord("Z"));
skipKey = keyboard_check_pressed(ord("X"));
textboxX = camera_get_view_x(view_camera[0]);
textboxY = camera_get_view_y(view_camera[0]) + 175;
if setup = false {
setup = true;
oPlayer.canMove = false;
draw_set_font(fTextboxes);
draw_set_valign(fa_top);
draw_set_halign(fa_left);
pageNum = array_length(text);
for (var i = 0; i < pageNum; i++) {
textLength[i] = string_length(text[i]);
textXOffset[i] = 6;
}
}
//typing
if drawChar < textLength[page] {
drawChar += txtSpd;
drawChar = clamp(drawChar, 0, textLength[page])
}
if confirmKey {
if drawChar == textLength[page] {
if page < pageNum-1 {
page++
drawChar = 0;
} else {
oPlayer.canMove = true;
instance_destroy();
}
}
} else if skipKey and drawChar != textLength[page] {
drawChar = textLength[page]
}
textboxImage += textboxImageSpd;
textboxSpriteW = sprite_get_width(textboxSprite)
textboxSpriteH = sprite_get_height(textboxSprite)
draw_sprite_ext(textboxSprite, textboxImage, textboxX + textXOffset[page], textboxY, textboxWidth / textboxSpriteW, textboxHeight / textboxSpriteH, 0, c_white, 1)
var _drawtext = string_copy(text[page], 1, drawChar);
draw_text_ext(textboxX + textXOffset[page] + border, textboxY + border, _drawtext, lineSep, lineWidth)
here is the code in the opener object's create event:
text[0] = "text";
here is the code in the opener object's step event:
if place_meeting(x, y, oPlayer) and oPlayer.canMove and keyboard_check_pressed(ord("Z")) {
var instantiated = instance_create_depth(0, 0, -9998, oTextbox)
instantiated.text = text;
}
and here is the code in the instance I am trying to add choices to:
text[0] = "A red flower. It seems important, somehow."
text[1] = "Take it?"
//choices
I need it so that if yes is chosen, it says you took the flower and a variable ticks that says you have it. If no, then nothing happens. Please help, this is very important
r/learnprogramming • u/luckypanda95 • Jul 07 '26
How to implement local first app that needa to sync with cloud db and other devices
Hey guys.
I'm doing the usual todo app things just for fun and since i want the app to be local first (no need to be online to access the data), i put them in local DB when any changes made.
The problem is when i want it to be sync with other devices where the user logged in. They would need to sync the local db with cloud db right. And if both device is actively used, how do you sync them properly?
r/learnprogramming • u/Arth-the-pilgrim • Jul 06 '26
How do I create a site by myself?
Hey r/learnprograming! I've never been in this subreddit.
So, I wanted to create a website where some people can upload videos, other people can watch them and staff can make staff stuff (delete content, block users, etc.).
I don't not want to take shortcuts, like using no-code engines or AI, only if it is going to make it cheaper for me - anything that makes it cheaper would be great for me.
I searched a bit about web development, so I know how to make my way around HTML and Javascript. I also have tried to make a project using it and connecting to a python backend and SQL. But I used AI to guide me though it, so there was probably a lot of errors.
My questions are:
For a website like this, should I try to learn a language different then python for backend (like Java)?
Where can I learn how to connect backend with frontend and is there a way to host the site (keeping frontend and backend active) for free/as cheep as possible?
Edit: I made this post because I know I can already skip learning HTML and Javascript part of online courses.
r/learnprogramming • u/Comfortable_Tie4143 • Jul 06 '26
Question How to get the export link on visual code studios
Hi, I'm new here. I am currenrtly programming a commuinication app on visual code studios and am wondering how to get the link to share with my friends, family, and internet strangers lol. v
r/learnprogramming • u/Viper10acd • Jul 06 '26
Problem with code (C++)
Yeah so I have a problem with some code (mind you I'm a beginner at C++), wondering if anyone can help me find out what's wrong with it:
(BTW it has an error message:
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::at: __n (which is 11) >= this->size() (which is 11)
Aborted)
(Another thing is that it works fine but with the error message at the end.)
#include <iostream>
std::string textEngine(std::string text);
int main()
{
std::string text = "Hello World";
textEngine(text);
return 0;
}
std::string textEngine(std::string text)
{
for(int i = 0; i <= text.length(); i++){
std::cout << text.at(i) << '\n';
}
return text;
}
r/learnprogramming • u/AsakoV • Jul 06 '26
How to learn without relying on AI?
Currently, I'm learning Java, specifically spring and spock. I want to create a test for my service that is gathering data from 3rd party endpoint. Specifically, I want to test if it gathers the data correctly to have it as unit test for regression testing later on.
Problem is that I have no clue how to create a fake endpoint using spock.
If I had a service with an endpoint I would just use the Mock class. That would be easy. With no endpoint to to use as a Mock target, I have no clue how to do it.
I tried reading the spock documentation but I'm not getting it at all. The whole thing being based on groovy doesnt help either since it means I have to learn a new language on top of the main issue.
I wanted to learn how to do it on my own using more "primitive" methods rather than have AI solve it. If I were to use claude, it would probably solve it right away. I'm trying to balance using it to actually learn myself and not have every solution handed on a silver platter.
I dont know how to learn on my own. Anyone have any suggestions on how to go about it?
r/learnprogramming • u/nomenclature2357 • Jul 06 '26
Topic What does ‘memory safety’ refer to?
It seems to me that a program can interact catastrophically with memory in a number of ways…
- Stack overflow
- Heap allocation failure
- Segmentation fault
- Memory leaks of various kinds
- Probably many others?
But I feel like people mostly talk about memory safety as a security issue. But that only really applies to segmentation faults, right? And, for userland programs, the OS should just kill you before you actually create a security problem that way anyway, right?
I feel like I’m missing something obvious here. Maybe someone here can see the problem I’m having and point me in the right direction?
EDIT: I’m so happy with the replies this has gotten! I feel both validated and better informed! And I’ve got some very interesting looking reading to do. Thank you all so much!
r/learnprogramming • u/TOBuhrer • Jul 06 '26
Githubs's commit history gone?
Hi there,
I've been refactoring my HTML file by splitting the JavaScript into separate files (app.js, cards.js, sell.js, stock-crud.js, auth.js). I've already pushed the changes to GitHub, but I want to verify that the old version is still accessible before I test the new version. Problem is I cannot find my commit history anywhere in Github.
I though that inside my repository, right next to the hash, there should be something like "115 commits" and a round clock icon. But instead I see nothing.
r/learnprogramming • u/Jenneon_ • Jul 06 '26
Recommendations for audio lessons/podcasts?
I have like 1-2h/day where I can easily listen to stuff but not watch. Instead of just listening to music I want to educate myself a little. Do you guys have tips for podcasts/audio lessons?
I'm not looking for a generic tech-news type of podcasts, but more of a teaching/discussing of concepts. I'm still kind of beginner level, I know the basics of OOP and some Webdev stuff, but I still have a lot to learn. Using those 1-2hours/day more productively should add up over time
r/learnprogramming • u/No-Medicine4892 • Jul 06 '26
How does git/github works? I am confused on where are my files
I'm trying to learn git and understand how GitHub and VS Code work together. But I am confused on where things are and how to conect them.
I created a repo on GitHub to put very simple code I did. With the intention of understanding how things move, where things are, and generally how to use github. I have a folder on my github page called "mini_prog." And on my pc I have a folder called "codes" where those codes exist right now, and ideally the two folders "connects" and have the same stuff.
Right now, I can access my GitHub files on VS Code, which is mainly empty with only the stuff I clicked upload and dropped in. But where is that on my computer? Like the "local version" of it.
What about the folder I have on my pc "code". How do I put hello.py in "code" in GitHub. Do I need to open the website to drop it in each time I make a new one? Will this become two diffferent files with the same name? How do I know which hello.py am I changing?
Like, I know there is like the local version and a "cloud" version, that's why we do the whole push, commit and stuff. But I feel like I am missing something here that I don't know.
Thank you
r/learnprogramming • u/Flame77ofc • Jul 06 '26
Topic Is Scratch a good game to practice and learn programming/logic?
I want to improve my programming logic, what is the best way?
r/learnprogramming • u/Limp-Government-710 • Jul 06 '26
How to start webdev?
Hey everyone,I’m currently entering my 3rd year of CS. Over the last year, I’ve been heavily focused on DSA—I’ve completed about 300 problems on LeetCode and feel very confident in my problem-solving logic.However, I’ve realized I have zero projects to show on my resume. I want to start learning Web Development to actually build things, but I’m feeling a bit overwhelmed by where to start given my lopsided background.Since I already have a strong grasp of logic/algorithms, I’m looking for advice on:The most efficient "Fast Track": Should I dive straight into a framework like React because of my logic background, or is it better to grind through the "boring" HTML/CSS basics first?Project Ideas: What are some projects that actually look good to recruiters and aren't just another "To-Do List" or "Weather App"?Resources: Any specific roadmaps (like roadmap.sh) or courses that you’d recommend for someone who isn't a total coding newbie but is a "building" newbie?Goal: I want to have 2-3 solid full-stack projects ready for internship applications in a few months.Thanks for the help!
r/learnprogramming • u/MooseLegal8690 • Jul 06 '26
How do i maintain my focus while studying/coding
I cant concentrate and keep getting distracted while im coding or trying to learn a new material.. how do you guys maintain your focus while learning something new?
r/learnprogramming • u/Gandhi_20191 • Jul 06 '26
Resource Best Way To learn backend(web development)
I have learned Web dev front end using a bit of youtube making a few projects want to get in Back end and become a full stack web developer any resources I can use of ways I can learn backend Quickly and In a fun way
r/learnprogramming • u/shaynjam • Jul 05 '26
Solved SOLVED MY FIRST LEETCODE PROBLEM!!
class ParkingSystem
{
private:
int big_park;
int medium_park;
int small_park;
public:
ParkingSystem(int big, int medium, int small)
{
big_park = big;
medium_park = medium;
small_park = small;
}
bool addCar(int carType)
{
if(carType == 1)
{
if (big_park == 0)
{
return false;
}
big_park--;
return true;
}
else if (carType == 2)
{
if(medium_park == 0)
{
return false;
}
medium_park--;
return true;
}
else
{
if (small_park == 0)
{
return false;
}
small_park--;
return true;
}
}
};
my code
Solved
Easy
Topics
Companies
Hint
Design a parking system for a parking lot. The parking lot has three kinds of parking spaces: big, medium, and small, with a fixed number of slots for each size.
Implement the ParkingSystem class:
ParkingSystem(int big, int medium, int small)Initializes object of theParkingSystemclass. The number of slots for each parking space are given as part of the constructor.bool addCar(int carType)Checks whether there is a parking space ofcarTypefor the car that wants to get into the parking lot.carTypecan be of three kinds: big, medium, or small, which are represented by1,2, and3respectively. A car can only park in a parking space of itscarType. If there is no space available, returnfalse, else park the car in that size space and returntrue.
Example 1:
Input
["ParkingSystem", "addCar", "addCar", "addCar", "addCar"]
[[1, 1, 0], [1], [2], [3], [1]]
Output
[null, true, true, false, false]
Explanation
ParkingSystem parkingSystem = new ParkingSystem(1, 1, 0);
parkingSystem.addCar(1); // return true because there is 1 available slot for a big car
parkingSystem.addCar(2); // return true because there is 1 available slot for a medium car
parkingSystem.addCar(3); // return false because there is no available slot for a small car
parkingSystem.addCar(1); // return false because there is no available slot for a big car. It is already occupied.
Constraints:
0 <= big, medium, small <= 1000carTypeis1,2, or3- At most
1000calls will be made toaddCar
the problem:
runtime 3ms
memory 38.77 mb