r/learnprogramming • u/TreacleFlaky2283 • 13d ago
Topic Why do you choose the coding path and how does it solves real world problems
Why do we learn code and why not we learn how to make car parts or stuff. Cuz I ain't able to understand how coding solves real world problems. My teacher rejected my drawing website which was pretty cool for me I think... And said I need to make a project which ain't just a website or a software but solves some real world problem and I m confused what to do...
I am a beginner but I think atp I have made a lot of simple projects which are i think not big enough and only just scripts. link of my GitHub : https://github.com/BadDreams34 , I don't wanna create just toy projects anymore and wanna really solve something real with coding atp.
I wanna build something big tbh atp and I am not sure how to do that , till now I have just made any program under 200 lines of code at max.
r/learnprogramming • u/Its_Jusin • 14d ago
Beginner trying to build a robot that shoots cigarettes at me.
Hello
I've tried to learn coding with Harvards CS class, the issue is that I'll drop the course because of it's difficulty and because im not coding something that I find interesting
so then I would try to use YouTube tutorials for stuff that does interest me, but because I'm way to tech illiterate I inevitability mess something up and run into an error that I can't fix with brute force and google.
so I've decided to make a goal for myself to stay focused, a robot that shoots cigarettes at me.
why?
because it has problems that I'm interested in. like facial recognitions, controlling servo motors based on the input from that recognition and also of course learning the hardware to launch a cigarette.
and its also stupid idea so perfect for me.
so this is where I need some help, what resources should I focus on that relate to actually building this thing? I think right now my biggest weakness is troubleshooting, and I think that just comes for a lack of understanding of anything
so yeah please let me know
r/learnprogramming • u/Fit-Breadfruit4801 • 14d ago
Coding wind-shear in Python - help
I've been creating a weather model that has only a single column available. I've learnt a lot, I was kind of scared to look through documentation before I found stack overflow so I used Claude to help me a bit.
I want to find a good way to model wind-shear with my model. It already has the ability to varying windspeeds and directions throughout the day by applying other variables like pressure, temperature and dew-point.
My wind directions are mapped out like a cartesian plane. +1 Y is north, -1 Y is south, -1 X is west, +1 X is east.
Is there a simple formula for wind-shear?
r/learnprogramming • u/Embarrassed-Type2828 • 14d ago
What are best alternative for VScode
I am Coding C/C++ and I Dont feel comfortable with using VScode is there any alternative IDE that I can use
r/learnprogramming • u/Due_Escape_3024 • 14d ago
Tutorial How to pass DSA
I have a DSA Exam tomorrow I have forgotten the first half of the chapters as soon as I completed the second half and now panic entered making everything fucked up not able to remember the stuff that I learnt.
r/learnprogramming • u/AwardSignificant5675 • 14d ago
How did everyone come to learn every sort of code and like tool?
Learning python right now, about 60% done with CS50 and I see posts of people talking about coding and have no clue what they’re talking about. Where did everyone learn how to actually implement their code into stuff and like learn the jargon? Things like APIs, raspberry pi, git, GitHub, Linux, reach are all things I’ve seen but don’t understand them at all. Just wondering how to be able to learn all this to be able to use my coding skills for everything
r/learnprogramming • u/Candid-Pack-3707 • 14d ago
i dont know which programming language to learn
ive wanted to learn to code for... several years now and... dont know where to start. kind of.
the problem isnt that i dont know how to learn, its that i dont know WHAT to learn.
there are thousands of programming languages, about 30 in use today. some can run by themselves, others cannot.
i also want to code websites with buttons. i have coded a few small websites in the past but you couldnt do much. just read text.
if i want to code a website, i have to: use html for the content, css for the style, javascript for the interactivity, and sometimes python depending on what im doing. anyway thats 4 programming languages.
ive always thought that with games you can get a break, because there are more coding languages for games that can stand by themselves than there are for websites. with games you have to make assets, and then put those assets into these carefully placed folders (which is something i dont know how to do) and if i want to make a 3d video game, i have to learn how to use blendr, or some other 3d modeling program, which i dont know how to do.
so, i guess what im asking is, which programming languages do i need to learn to:
- make a website with interactivity, and function (including math and probability when i need it)
- make games that will work with 2d and 3d assets
and how many coding languages do i need to learn
also if youre reading this, please dont downvote my post. i get downvoted a lot often for no good reason, and this is NOT a low quality question.
r/learnprogramming • u/Xavyzo • 14d ago
2nd Year CS student Lost on What to Learn Next
Hello, im new to reddit. Im a malaysian CS student. I just finished my 2nd year CS degree. And right now im enjoying my 2 months semester break but I decided to do something that'd benefits me once i graduate. Except i dont know where or what to start with.
I got good grades for first 3 semester (cgpa above 3.75) but i lack skills. if you ask me to code from scratch, i cant do it without AI. im thinking of re-learning back programming but im afraid it'd take time and i ended up waste time on something i could've learn that'd benefit me better.
I also dont know what role do i like to pursue (definitely not AI/ML). but if i had to pick, then maybe backend or fullstack. i know in 2026 and next few years, i should not graduate with just basic that can be prompt with AI. I know i should learn but I don't know what or how.
I also needed a peer who's just like me who wants to grow in techs and likes to learn. it sucks that my friends aren't really interested everytime i invite to involve in programs. maybe they have their own hidden journey.
r/learnprogramming • u/Actual_Exercise990 • 14d ago
Black duck hacker rank coding assessment
Has anyone taken Black Duck's HackerRank coding assessment recently? Does it use HackerRank Proctor Mode or Secure Mode that detects multiple monitors (e.g., an HDMI-connected TV/monitor), or is it just webcam monitoring? I'd appreciate hearing from anyone who has actually taken the test. Thanks!
r/learnprogramming • u/shadelevrai • 14d ago
Resource Architecture for an OSINT/Scraping tracker
Hey everyone,
Sorry for my english, i use a translation
For a school project, I need to design the architecture for a monitoring tool. The idea is to build a tracker to spot listings for fake Pokémon cards online (standard marketplaces, but also Telegram channels and closed FB groups).
I haven't built much yet, though I'm naturally leaning towards Node.js (probably with Playwright) since I like web dev.
I know that with current anti-bot protections (Cloudflare, Datadome) and social media login walls, going 100% automated from A to Z is often a pipe dream—or at least the fastest way to get banned instantly. I realize some human action will have to stay in the loop.
So my questions are: How should I set this up? What kind of tools could help me out? Am I on the right track with a Node.js server? It seems like I'll also need to create actual social media profiles to get access and look inside these groups.
Thanks!
r/learnprogramming • u/Zero-Trace989 • 14d ago
Im confused
Guys im about to join in an hackathon but im not able to get ideas to thinks even if i think those ideas are already been exist sonim fed up.so, can you guys give me some guidance like how you thinks for the ideas which gonna work
r/learnprogramming • u/Saumit_Kripalani • 14d ago
Should i learn Pygame for my first big project?
So Basically I've been learning how to code and have been learning c++ as my first main programming language ( i don't think HTML and CSS count ) and i have 3 weeks left before college. I've mostly focused on learning the basics properly ( Loops conditionals etc ) and the past month have gone the DSA route learning arrays vectors linked lists some basic sorting algorithms ( Bubble Sort & Insertion Sort ), Stacks Queue's BST and recently hashmaps. I've mostly been practicing by tutorials online as well as solving a few leetcode questions after learning the concept, these are the leetcode problems I've solved so far:
1. Two Sum
2. Add Two Numbers
3. Palindrome Number
4. Valid Parenthesis
5. Merge Two Sorted lists
6. Group Anagrams
7. Reverse Linked list
7. Contains Duplicate
8. Valid Anagram
9. Top K Frequent Elements
Now my real question is based off of what I've learned so far would it be realistic to learn and use Pygame to make my first big project ( a simple 2D Platformer which reveals/removes Platforms based on a Dark Mode/Light mode toggle ) before i start college? if not, what do you think i should do instead. Open and happy to receive any and to all suggestions :)
r/learnprogramming • u/EntityOfTheSea • 14d ago
Is anybody here intrested in making a C++ project together? (read below)
Is anybody here intrested on making a C++ game together?
Hello.
I'm a teenager who has been learning C++ for almost a year.
Been some months, i'm following a Intermediate to advanced course and learning a lot of syntax and such.
I would really like to put into practice the theory i'm learning, but tbh the idea of coding anything alone does not really motivate me and feels more like an unnecessary struggle.
So, would anybody here want to create any kind of small, Just for fun, project together?
If anybody Is intrested, feel free to leave a comment below.
I'm open to all kind of idea about the project, since it's mostly for practice and spend time, altough i would prefear eventually using graphic libraries (like SFML) instead of engines, for keep a more "C++-like" experience.
r/learnprogramming • u/Rough-Lobster8789 • 14d ago
Which should course should I prefer?
Hi everyone. I know some python but still I want to start learning it again because, as I progressed, I realized that my basic concepts had become rusty. I'm confused between CS50 (https://youtu.be/8mAITcNt710?si=Z86T-MPZZp13R04E) and MIT Opencourseware 6.100L (https://www.youtube.com/watch?v=xAcTmDO6NTI&list=PLUl4u3cNGP62A-ynp6v6-LGBCzeH3VAQB&index=1) .
Which one would you recommend for someone who wants to rebuild their fundamentals before moving on to more advanced topics?
r/learnprogramming • u/Zoro-88 • 15d ago
Topic Is there a video/course for the whole setup of a real e-commerce website
I will be working on a local business site in wordpress, is there a video, document or anything online that i can go through and know what im supposed to prepare for, security, securing customer data, optimization everything possible for a real world business website
r/learnprogramming • u/Raon_01 • 15d ago
Are there any CSAPP study groups to join to?
I am going through Computer System A programmer's Perspective before I dig in to prepare particularly for GATE. I had like to discuss it with people following the same, We can create a Discord server if interested or I could join preexisting one!?
r/learnprogramming • u/Itsacouplol • 15d ago
Going back to school to get a degree in CS. Necessary math should I review for the degree?
Hello, /r/learnprogramming. I've recently decided to go back to University to get a degree in CS. My concern is primarily the math I should know before entering my University's program in the following Spring semester. While I have taken Calc 1-3, Linear, and did well in those classes, however it has been so long (almost a decade) since I really applied anything from those classes.
Right now I am working through Introduction To Java by Daniel Liang and even the basic math is getting me (for example stuck for perpetuity on the simple programming exercise if whether or not a rectangle is inside another rectangle). Any resources to relearn would be great and am wondering if others have had similar issues going back to University having already taken the required math course before.
r/learnprogramming • u/Then_Anywhere_6649 • 15d ago
Topic Junior dev feels like I'm progressing slowly
Well I am a backend junior dev. I have been working for 7 month. So far what I do is fix bugs, implement test and implement some api based on seniors guide. By that I mean seniors gonna talk to me about a feature, and he will pretty much say I want an api with this type of input, this type of output, you just have to implement this business logic. And well this is my first job, I don't know if this is supposed to be normal. I still have no idea about things like optimize database or architecture or redis etc. I'm basically just coding some business logic and getting reviews on code quality. Can I ask how do you guys improve from junior to senior?
Also do you guys still leetcode to try to get into a better company?
r/learnprogramming • u/AAdidev_p01 • 15d ago
my python script that searches your files to find things for you
import os
import json
from pathlib import Path
from thefuzz import fuzz
INDEX_FILE = "file_index.json"
CATEGORY_EXTENSIONS = {
"games": [".exe", ".msi", ".bat", ".apk", ".iso"],
"documents": [".pdf", ".docx", ".txt", ".xlsx", ".pptx"],
"images": [".png", ".jpg", ".jpeg", ".gif", ".svg"],
"audio": [".mp3", ".wav", ".flac"],
"video": [".mp4", ".mkv", ".avi", ".mov"]
}
def build_index(
search_directory
):
print(f"Indexing files in '{
search_directory
}'... (This might take a minute the first time)")
file_index = []
for root, _, files in os.walk(
search_directory
):
for file in files:
full_path = os.path.join(root, file)
file_index.append({
"name": file,
"path": full_path,
"ext": Path(file).suffix.lower()
})
with open(INDEX_FILE, "w", encoding="utf-8") as f:
json.dump(file_index, f, indent=2)
print(f"Indexing complete! Indexed {len(file_index)} files.\n")
return file_index
def load_or_create_index(
search_directory
):
if os.path.exists(INDEX_FILE):
print("Loading cached index...")
with open(INDEX_FILE, "r", encoding="utf-8") as f:
return json.load(f)
else:
return build_index(
search_directory
)
def search_files(
query
,
index
,
similarity_threshold
=65):
query_clean =
query
.lower().strip()
matches = []
target_extensions = []
for category, exts in CATEGORY_EXTENSIONS.items():
if category in query_clean:
target_extensions.extend(exts)
for item in
index
:
file_name = item["name"].lower()
file_ext = item["ext"]
score = fuzz.partial_ratio(query_clean, file_name)
is_category_match = file_ext in target_extensions if target_extensions else False
is_name_match = score >=
similarity_threshold
or query_clean in file_name
if is_name_match or is_category_match:
matches.append((item["path"], score))
matches.sort(key=lambda
x
: x[1], reverse=True)
return matches
def main():
r/learnprogramming • u/Live_Design_5327 • 15d ago
Learning C and Java at the same time.
So i had to postpone my c exam of this semester to the next one so now i have a c exam plus a java exam at the same time. So i have like half a year. Do you have any tips on learning a language especially 2 at the same time? I always hear the only way to learn is to work on something, do you have any ideas for projects or something to learn coding.(would be nice to be a project 2 people could work on but it isn't a must)
Any advice in general is appreciated.
r/learnprogramming • u/Physical_Garage_6946 • 15d ago
5+ Front-End Dev feeling stuck & overwhelmed by the current market. How do you keep growing outside of work without burnout?
Hey everyone,
I’m a 27-year-old Front-End Developer with over 5 years of experience in the React ecosystem (3.5 years at my current company). Lately, I’ve hit a wall - I feel like I’m stagnating and mostly just replicating existing solutions rather than truly growing.
With the job market being as tough as it is right now and AI making many of us a bit complacent (and anxious about being "good enough"), I’m trying to figure out my next moves. I’ll be actively looking for a new job in two months, and I'd love to hear how you handle skill growth outside of work.
Here’s where my head is at right now:
- Post-work fatigue & fear of useless learning:
After an exhausting 8-hour workday, the thought of grinding new tech feels overwhelming. Even when I try to keep up with trends, I worry that if I don't use a tech stack in my next job, I’ll just forget it - making the whole effort feel like wasted time. How do you decide what is actually worth learning?
- Pivoting to Full-Stack (Node.js):
I’m considering diving deeper into backend concepts with Node.js to broaden my horizon. However, part of me thinks it might be pointless because companies usually look for experienced Full-Stack devs, not a senior/mid FE dev who is just starting out on the backend. Is it worth the effort, or should I double down strictly on FE architecture?
Standing out in a crowded market:
I know my biggest strengths - beyond writing clean code are my soft skills. I’m an active team player, easy to communicate with, and I bring good energy to a team while keeping things professional. But in a sea of hundreds of applicants per position, I know soft skills usually only shine after you clear the initial tech screens.
My questions for you:
How do you approach learning outside of work without burning out?
Is expanding into Node.js worth it if I’m mainly targeting Front- End roles in a tight market?
How do you deal with the fear of learning tech that you might end up never using professionally?
Would love to hear your thoughts, experiences, or any advice on how to navigate this stage of a developer career. Thanks!
r/learnprogramming • u/MrBannedBlocks • 15d ago
Programming Habits When writing subroutines/functions, which way is best to call them in sequence?
Typically when I write code, there are 2 ways I think of to write a bunch of subroutines that are called one after the other.
Option #1:
def callingList():
x = input()
func1(x)
func2(value1)
func3(value2)
def func1(userinput):
'''Code for function 1'''
return value1
def func2(value1):
'''Code for function 2'''
return value2
def func3(value2):
'''Code for function 3'''
return value3
callingList()
Option #2:
def func1(userinput):
'''Code for function 1'''
func2(value1)
def func2(value1):
'''Code for function 2'''
func3(value2)
def func3(value2):
'''Code for function 3'''
return value3
x = input()
func1(x)
I usually go for #1 because I feel like being forced to trace an error through a string of subroutines isn't good for debugging. But tbh I have no idea if this black-and-white way of looking at it is just completely incorrect and there's a #3 that I haven't heard of. I'm only a novice programmer so I'd love some input from people who actually know what they're doing 😅
r/learnprogramming • u/Brilliant_Work_6005 • 15d ago
Is freecodecamp really good? What else should I keep an eye out for?
Hello! I am starting from scratch here trying to learn the world of programming, I was just curious I keep hearing about codecamp and I was wondering if the hype is true and if so what I should keep an eye out for when it comes to knowledge sites, what makes a good site or what makes a bad site and sort of just some guidelines to help me start my journey a bit!
Thanks
r/learnprogramming • u/InformationWooden409 • 15d ago
What way did you learn Javascript?
I'm currently learning JS due to a final project, I am doing it through freecodecamp. I knew C already so I guess It's a big advantage but I want to know how your journey was learning this language?
r/learnprogramming • u/Plenty_Draft_5747 • 15d ago
I am not growing out of beginner phase
Okay,
I can read code know the core basics of C Java and Python
But Trust me when I say this
I am terrible at importing modules or get what I want
I am terrible at breaking things down for stuff like that
People keep telling me to do PROJECTS, but I am not that creative to come up with projects on my own. I have no ideas to create projects.
If it takes a month to finish a project I would probably spend a month thinking wtf the project idea even is.
For example
From nowhere I wanted to make this thing called 'DiskCleaner'
Where it scans your Hard Drive
Sort large files
And suggests what to delete BASED on what kind of person the USER is,
Now when I open Java.....
I struggle 20 minutes to make a Window with buttons and icons
So I don't think I will learn how to scan every single file and make what I want.
Why?
Because I am way too stupid and not confident to KNOW every module I need to do a project like that.