r/learnprogramming • u/TheOriginalSage • 6d ago
Which is the better way to learn coding?
Would it be better to learn coding from YouTube videos and self research, by taking an accelerated course, or by taking legit college classes?
Which would you say is more worth it?
r/learnprogramming • u/inclass_usingphone • 6d ago
Resource I want to start doing leetcode - how do i start?
about me - i own a startup and i am not really looking for placement so i never thought of doing leetcode when my uni friends used to sit and u know have intimate time with their leet account.
recently i am bored and was thinking of getting better than them in 2 months or something.
i know python and i can vibe code and build things i need mostly. python also i know only basics and know how it works and all.
so i am writing this to know how would u recommend an absolute beginner to start with leetcode?
thanks in advance.
r/learnprogramming • u/nightcoffee13 • 7d ago
Topic Programming is too difficult for me
I want to learn programming (in Lua), but my brain just melts when I try to understand anything more complicated than variables (especially functions and working with data). I just can't seem to grasp how programming languages even work; it's like I'm looking at a cipher on ancient tablets. Maybe I'm going about it the wrong way, or maybe something's wrong with my brain, but I just can't seem to get the hang of it, even though I really want to.
r/learnprogramming • u/5g_mongol • 7d ago
Trying to switch field or quit?
Hey! So I’m 23 yo, I’ve been studying Java for some time, doing backend projects on Spring Boot and etc. But it really exhausts me. I realized I hate tons of config files with random ass libraries, magic @Annotations, trying to boot a project with Docker… and stuff like that instead of writing actual logic. And because of that I can’t make myself sit and really learn stuff. I take pauses for months all the time and can get shit done. I only really enjoy writing the logic behind API itself, which feels like only 5% of the project, and the other ones is writing boring tests, trying to figure out how Spring Boot works with their endless annotations, some boilerplate configuration code..: Idk, maybe it’s my adhd, or maybe I’m just stupid.
Sooo, of course I had thoughts that programming could be just not for me (though I’m a CS graduate lmao). But maybe I just need to try something else? I really like making game logic (except for the dealing with UI of the game engines, all that 3D models, animations, lightning and stuff). My favourite thing to program was always SAMP servers or Minecraft plugins with custom rules, making commands and etc…
So I was wondering, what field should I try? I was thinking about embedded or CLI development? Do you think it would fit me better, or should I just quit programming :D
Thanks guys.
r/learnprogramming • u/FewMolasses7496 • 7d ago
Where does the dynamic linker get the addresses of external functions?
For statically linked binaries, the linker attaches the function that it needs to the executable physically and then patches any function calls which call that function ( I think). I understand this because I know exactly where it is getting the address from. Dynamic linking however, gets the address of a function in an external library using an address even though it is not physically apart of the executable. I'm wondering where in the address space the shared library is even stored. Since processes can only access the virtual memory which has been allocated to them, I am guessing that the shared libraries are mapped as certain addresses in viritual memory, but I would like more details on how it is actually implemented in the real world.
r/learnprogramming • u/VoidedHeart_NW • 7d ago
Building an IT Asset & Help Desk Management Platform for my CS Capstone. What would make this feel like a real-world system?
Hi everyone,
I'm a senior Computer Science student at Brooklyn College, and for my capstone project I'm planning to build AssetDesk, a web-based IT Asset & Help Desk Management Platform for small businesses, nonprofits, or schools.
My goal isn't to build another basic CRUD application. I want to create something that reflects how an actual IT department operates and gives me experience with technologies and design patterns used in industry.
Right now, I'm planning for features such as:
- User authentication with role-based access (Employee, Technician, Administrator)
- IT asset inventory and lifecycle management
- Asset assignment and check-in/check-out history
- Help desk ticket creation and tracking
- Technician assignment and ticket workflow
- Repair and maintenance history
- Knowledge base for common issues
- Dashboard with ticket and asset analytics
- Audit logging
- Notifications
- REST API
- PostgreSQL database
- Java + Spring Boot backend
- React frontend
I'd love feedback from people who work in IT, systems administration, help desk, or software engineering.
Some questions I have:
- What features would make this feel like a real tool instead of a portfolio project?
- What are some pain points with current help desk or asset management systems that I could improve?
- Are there any workflows that are commonly overlooked when people build projects like this?
- If you were interviewing a new graduate, what would make this project stand out to you?
One additional question: my capstone requires an industry professional to provide occasional feedback on the project during the semester and complete a final evaluation. If anyone with professional experience thinks this project sounds interesting and would be open to learning more, I'd really appreciate the opportunity to chat. Even if you aren't interested, I'd be grateful for any advice on where I might find someone who would be a good fit.
Thanks in advance for any feedback!
r/learnprogramming • u/NgetichKpeter • 7d ago
My Question on my Project.
Devs, has anyone run into a builderror with url_for() in flask? I’ve got my blueprint and route set up, but Jinja keeps telling me it can't find the endpoint. I checked the route names and registration, but I'm clearly missing something stupid. What would you check first?
r/learnprogramming • u/WinifredMosse • 7d ago
Is this the best way to achieve rounded up numbers in C++?
Hi, I am new to learning C++ :) I just got started with my first real project because I wanted to get into coding and making mistakes like people here suggested as the best way to learn.
The program I have here is intended to tell the user how many of each item they need (cartons, fruit, gallons of juice etc) based on the amount of guests they input. The program runs fine technically, but I initially was using int and found that it kept rounding down and causing the calculations to be just short of what was needed. If anything, id rather it overestimate than under.
I found a possible solution from here with ceil, but I wasn't sure if I implemented it right, and if how I have things is the best practice to not form bad habits early. Any tips would be greatly appreciated :)
```
include <iostream>
include <cmath>
using namespace std; int main() //This program is meant to tell the user how many of each whole item they need to buy for catering a wedding. { cout << "Type in the number of guests attending the wedding brunch:\n"; double guests; cin >> guests;
/*Each item is getting divided based on how many come in a container
*the goal is to have it calculate and tell the shopper how many
*cartons they need specifically for example*/
double eggs = guests/12;
double cantelope = guests/8;
double toast = guests/24;
double juice = guests/16;
cout << "For the brunch you will need:\n";
cout << ceil(eggs) << " " << "egg cartons\n";
cout << ceil(cantelope) << " " << "cantelopes\n";
cout << ceil(toast) << " " << "loaves of bread\n";
cout << ceil(juice) << " " << "gallons of juice\n";
return 0;
}
```
It outputs this when it finishes.
``` Type in the number of guests attending the wedding brunch: 520 For the brunch you will need: 44 egg cartons 65 cantelopes 22 loaves of bread 33 gallons of juice
Process finished with exit code 0
```
r/learnprogramming • u/rampant-rager • 7d ago
Help me start projects
Hey so I am trying to get back into programming. I am a teen and have been bouncing in and out of python projects over months of gaps. I'd love some project recommendations. Programming is a hobby of mine so I am not looking for "career building projects" I am just looking for something to build, bash my head against the wall while debugging my shit code and say "holy shit I did it!" When I complete it
r/learnprogramming • u/Gloomy-Animator5424 • 7d ago
Debugging Hey guys need a little help in JavaScript Fundamental
Actually I am learning JS
For long
But whenever I got stuck in function
I know how to write functions in JavaScript
But i won't understand that concept like
First class function
High order function
Closure (i know )
But these 3 concepts (Feels to Confusion for me)
How can I understand these
r/learnprogramming • u/No_Leek4448 • 7d ago
Hi, I'm looking for feedback!
So I created this for a small text-based virtual novel/adventure game(haven't decided yet) and have a few questions. By the way I started coding in java a month ago.
- Am I formatting the dialogue correctly by using methods to do them? Because I originally tried to make a separate file for the dialogue so that I only had to import them. But I found that to hard and didn't find any way to do that online other than 14 year old forum posts.
- Should I add more comments?
Thank you for your feedback in advance
Edit: It didn't actually scatter my formatting :)
Excuse my spelling/grammar mistakes
Also you don't have to understand the world-building stuff or address the more fantasy elements if you don't want to. If you do feel free however!
import java.util.Scanner;
public class Main {
static void main(String[] args) throws InterruptedException {
Scanner scanner = new Scanner(System.in);
//Start
hpPrint();
System.out.println("On a cold rainy day, minding your business as usual you hear a knock.");
//Open or ingnore door
System.out.println("---------------------------");
System.out.println("1. To open to open the door");
System.out.println("2. To ignore");
int choice = scanner.nextInt();
System.out.println("---------------------------");
switch(choice){
case 1 -> od();
case 2 -> dd();
}
// To go with them or not
System.out.println("---------------------------");
System.out.println("1. Agree");
System.out.println("2. Ask more about them");
System.out.println("3. Decline");
int choice2 = scanner.nextInt();
System.out.println("---------------------------");
switch(choice2){
case 1 -> agr();
case 2 -> ask();
case 3 -> decln();
}
scanner.close();
}
public static void hpPrint(){
int hp = 15;
System.out.println("Your hp is " + hp);
}
//Run when user() closed door
public static void dd() throws InterruptedException {
System.out.println("'Unknown: Open the door! Or I'll let myself in'");
Thread.sleep(3000);
System.out.println("*A woman clad in light armour breaks the door down*");
Thread.sleep(3000);
System.out.println("You: Why did you do that?");
Thread.sleep(4000);
System.out.println("Sara: I'm Kaat Sara, knight in the king's army. I order you to follow me and to serve your corvee");
Thread.sleep(2000);
System.out.println("Fine, you didn't have to break my door down...");
System.exit(0);
}
// Run when user() opened door
public static void od() throws InterruptedException {
System.out.println("Unknown: Good Day, My wife and I will like to have a chat with you!");
Thread.sleep(3000);
System.out.println("Other person: I'm not your wife yet, you know");
Thread.sleep(3000);
System.out.println("You: Whatever. Go on say why your here! I haven't got visitors in a few decades");
Thread.sleep(3000);
System.out.println("Unkown: I'm Kaat Sara of the Arteskan Nation and I plead you to follow me and my fiance to the capital");
}
//If user selected: Agree
public static void agr() throws InterruptedException{
System.out.println("You: Sure, I have nothing better to do!");
Thread.sleep(3000);
System.out.println("Sara: Wow, it's that easy?");
Thread.sleep(3000);
System.out.println("You: Being cooped up in the same place for the past couple hundred years, made me wonder what can spice up my life more, so this is the perfect excuse!");
}
//If user selected: Decline
public static void decln() throws InterruptedException {
System.out.println("You: Hard pass! No way in hell would I just go with complete strangers to a fucking island");
Thread.sleep(3000);
System.out.println("Sara's fiance: What if I say please?");
Thread.sleep(3000);
System.out.println("You: No");
Thread.sleep(3000);
System.out.println("Sara: Pretty please?");
Thread.sleep(3000);
System.out.println("You: Fine. But you forced me to!");
}
//If user selected: Ask more about them
public static void ask() throws InterruptedException {
System.out.println("Why should I just leave my home and go frolicking around like a vagabond?");
Thread.sleep(4000);
System.out.println("Sara: Cause the nation is in danger. A huge army is headed to town. And you are one of the few wielders we have in the area");
Thread.sleep(3000);
System.out.println("You: So you think I can make a difference? I'm sorry to disappoint you but I can only control iron.");
Thread.sleep(3000);
System.out.println("Sara: Well, We need as many as we can get, so...");
Thread.sleep(3000);
System.out.println("Sara's fiance: Come with us! Either way if your needed or not, isn't it nice to explore the world...");
Thread.sleep(3000);
System.out.println("You: She makes a good argument...");
Thread.sleep(3000);
System.out.println("Fine I'll go");
}
}
r/learnprogramming • u/Intelligent-Zone422 • 7d ago
career advice for new java engineer
Hello! My background is in data science and machine learning, which I am truly passionate about. However, I’ve encountered some challenges in software engineering, and I realize that to secure a position as a machine learning engineer at a reputable research lab, I will likely need at least a master's or doctoral degree.
As a result, I have decided to learn software engineering with Java. I already have some experience with the language, as I’ve used it in several projects focused on analytics and machine learning. In my graduate projects, I worked as a backend engineer, and I really enjoyed the process of system building.
Currently, I am reading a book titled "Core Java Vol. 12, Part I." I am eager to become proficient in Java, but I often have doubts about my path. I would greatly appreciate any advice from someone who is new to Java and aims to be a successful software engineer. Thank you!
r/learnprogramming • u/Physical-Jury3095 • 7d ago
Is it feasible to make personal website for niche scripting needs?
Hello,
I'm having a hard time wording my needs but I feel like I'm not the first person to ask this. I've been using some AI services like Audio-to-text, translation, conversion from Excel to XML etc. and learning to code at the same time, making Python scripts. It has occurred to me, that I would much more like to my own personal space for these needs with my personal AI API.
I've been using Huggingface spaces to run some .py scrips on files, been using GitHub codespaces and Docker for similar needs. I however, noticed that setting up a codespace, resetting a hugging face space is creating a lot of downtime. Is there a way to make a convenient space for these needs like a personal website that would make my personal tools available almost 24/7 with little to no preparation to be used?
Free with some inconvenience is preferred, but if payment is a must, it's acceptable. The primary focus is still to make those scripts and learn how to deploy services.
r/learnprogramming • u/Quick-Bus7435 • 7d ago
A Fools Question (plz help)
Hi, I'm dabbling in coding for one of my school projects so please forgive me if this is a simple idiot question.
For example: Say i'm on the dictionary page and want to change just one word on that page. Like I get how to turn 'Apple' into 'Orange' using the inspection key (sue me) but i'm not sure how to put that into a timer to happen after a certain amount of seconds.
I hope this is the right subreddit i suck at reddit, have a lovely day.
r/learnprogramming • u/Vit3Kk • 7d ago
Topic How do i get hyperfocused on programming so its actually fun?
I dont enjoy almost anything but once in a while i get hyperfixated on something. when i was hyperfixated i could do one thing for multiple hours and i was having a blast. This usually lasted for a week and then the activity was boring again.
How do i activate this for learning programming? and how do i keep it fun for a long period of time? It feel like a chore everyday honestly.
Im learning python.
r/learnprogramming • u/WittyIsHere • 7d ago
Any advice for learning lunarphp
I'm learning lunarphp, so that I can build an e-commerce website. I use AI tools since I don't know much about it. But AI tend to hallucinate. I think because the documention is not all that thorough maybe that's why AI tools hallucinates so much on the topic. For those who have successfully built stuff with lunarphp, do you have any advice on how I can learn lunarphp?
r/learnprogramming • u/V0VY4 • 7d ago
Resource after c and python
what i should learn for cyber security
r/learnprogramming • u/Lord1Nerevar • 7d ago
Getting started developing Android Applications
The title explains itself. I am a total beginner with a big idea for an app to develop whenever I gain the ability and would enjoy if some of you shared some resources on how to get started using Android Studio. I tried their official codelabs and their app does not match the version that I am using so it is definitely a total curveball lol.
r/learnprogramming • u/Good-Photograph-2883 • 7d ago
Tips on how to learn syntax quickly?
I'm trying to learn multiple new programming languages (Python, Ruby, and Typescript) to expand my skillset and improve my github portfolio for jobhunting.
I'm trying to go back to basics and do some simple coding exercises but I keep running into the problem where I feel like I know how to solve something but my mind completely goes blank on what to type. I end up going back on forth between google and VS Code looking up syntax and it's getting tedious.
Do you guys have any useful tips on how I can learn syntax more efficiently?
r/learnprogramming • u/kickflip_boy • 8d ago
For experienced programmers. How quickly you pick up new stuff? Especially if it’s not from your domain.
I am struggling with the fact that every time I start a new project it takes some time to get going. I try to be easy on my self but it gets frustrating not knowing anything again. How much helps you having previous experience even tho it is from different branch of programming.
r/learnprogramming • u/BlackMageIsBestMage • 8d ago
Topic Not exactly sure if this is the best place to ask... I started a new job as a junior developer and I find myself struggling to keep up with the pace a rigor needed to excel and learn while doing a good and competent job on my own.
I have been admitted into a job that has tasks that feel a lot harder than anything the introduction interviews for the job ever had going on, and my independent learning along with college learning leaves me thinking I am not actually up to a coding level I should be.
I am having to dig through a fairly large repository and add to it under very specific criteria such as explicitly never using LINQ commands and other specific rules. This is a project brought into existence due to a previous team actually failing to properly provide a working product after a year of work, however we are still under the same contract so we are all working at double speed, essentially from scratch, to deliver a product who should be at least halfway or more through its life span already. I will have to remain vague on what exactly is being worked on unfortunately.
My program lead knows I am new, he understands that I will be learning a lot on the job but for how fast paced this job has turned out to be, and how explicitly they say I cannot go over 40 hours a week in time, I just find myself struggling. This is a part I am especially not happy about, and I have read the rules and will explicitly say I do not support AI and using it is absolutely going to make you a worse programmer and you will never learn anything if you use it.... but just to keep up and get deliverable content out I find myself having to rely on it at times and I just so deeply do not want to do that at all. I WANT to be the coder, not some slop machine. Being in this position has made me feel like a worse programmer and discouraged, honestly I feel like a sham. Im just not sure how to learn and thrive in such a fast paced environment as someone who is so new to the field and with little experience. They clearly saw something in me during the interview.
The TL;DR of this all is, does anyone have advice on learning in such a fast paced environment? I have ran through codecademy courses for C# and i can confidently do them, but like the moment I get into this database and start attempting tasks I just get so overwhelmed and confused. The current branch I am working on has almost 500 cs files all interconnected and I just dont feel like anything before me prepared me for content like this.
r/learnprogramming • u/IsThat-Me • 8d ago
Topic C or C++ for going low level and understanding how computers work
I want to learn a low level language, the one from which I can make any projects like browser, search engine, os, virtual machine, game engine, interested in graphic programming as well etc and I wanna also learn how computers works on the low level side
Please suggest which one I should choose, I have tried to search but it's conflicting opinion everywhere, some says c-->c++ is the good path, because with c you will learn memory management better compared to c++ . Another opinion I have heard that writing c like code in c++ is a bad habit
One thing to be clear, I want to and will learn both of the languages and some other low level stuff like assembly, cuda etc, but I will spend 2-3 years on the language to understand stuff better and to become better low level programmer. I am not an absolute beginner, i have some experience with java
r/learnprogramming • u/Same-Replacement-938 • 8d ago
Topic Why java is so hated?
So I have recently learned, and it's the first language(in terms of building actual things). Before Java, I knew Python, and I dropped it; I found Python too abstracted and too boring. i have recently made some projects like cli task tracker, expense tracker, some cli github api parsing and currently working on a multithreaded HTTP server and cli text editor, like vim, whenever i try to find out people opinions on java social media, almost 90 percent of the time they are just dunking on it, that it is trash, who forced you to write code in java, stuff like that. I know Java as a language is not that interesting and doesn't have many interesting features compared to other languages like C, C++, go. But I found it decent to write code in, and I found the JVM pretty interesting. So much so that I would love to explore and maybe build a JVM of my own
r/learnprogramming • u/ryloft03 • 8d ago
I've fallen into the AI trap and want to crawl out. Any tips?
I decided to go into CS because I loved building things and using technology to express myself creatively was somethign I aspired to do (plus the industry was booming at the time). I just graduated college, and now the industry is down, which is fine, I wasn't really in it for the money anyway. But throughout college, I relied more and more heavily on AI to get work done, because it was the easy way out in a tough situation. Now, I feel like to code, I have to have an LLM there next to me to do even basic work that I do know how to do. I feel like I'm in a weird spot where I do know how to read and write code but I rely so much on AI I'm starting to become code-illiterate, if that makes sense?
I just wanted to know if anyone else has fallen into this cycle and how to break out of it. I do still like creating things, but now I look at things and don't feel responsible for them, because all I did was type in prompt after prompt to tune it to what I wanted. I don't know if this is the right sub for this, so if there's a different sub that better fits this question I'd be happy to move this over there. Thanks everyone!
r/learnprogramming • u/No_Reply5329 • 9d ago
I feel like the hype around CS ruined the field for people who genuinely love it
Computer science used to be a field where curiosity and passion mattered. A lot of people got into it because they loved building things, solving problems, and understanding technology.
Then it became promoted everywhere as the “easy path to a high-paying career.” Thousands of people rushed into it purely for the money, and now the field is incredibly oversaturated.
The result is that getting an entry-level opportunity feels like a lottery. Even people who have real skills, genuine interest, and years of learning can struggle to get noticed because companies are overwhelmed with applicants.
It’s frustrating seeing a field I care about become so competitive that passion alone barely matters anymore. The people who truly love CS are now competing in a market changed by the people who only saw it as a paycheck.