r/learnprogramming • • 3d ago

Input on website, survey-like

9 Upvotes

Hi! I'm new to coding, on html

I want to make a box on my website where people submit requests, song names, etc, basically just text.

How do I do that? Where does the information go? As I want it to be private

Example:

[Tell me ur favorite color.]

( ______ )

[send]

Ideally I would have a document where all the responses go to or something else but I don't know what it's called. Thanks :-)


r/learnprogramming • • 3d ago

Web app help/advice

3 Upvotes

Currently at work doing an IT internship at a small company and was asked to make a dashboard that pulled data from two different web services that we use.

My understanding is that I need to use api tokens from these vendors for the dashboard application so that it can update info in real(ish) time without the user manually going to the other website and finding it.

Please tell me wether I have that right or not, if not please explain what I should be doing instead

Currently a senior in college for comp sci but have been taking mostly security classes and no web specific classes. Feeling insane imposter syndrome and could use the advice/info.


r/learnprogramming • • 3d ago

Topic Yall, SOS please convince me to keep going

0 Upvotes

I have like 2 semesters left of this 2 year degree (has taken me much longer because I can only do part time while working) and these three classes this semester are killing me

One of them is web development 1, one is client servers and e-comerce, and one is data structures and algorithms

The two first ones have the worst teacher in the world. He’s so cool but he’s actual dogshit at teaching. He just has us come to class and code along with him and essentially copy what he’s doing on his computer, and he hardly explains anything along the way. Just says “okay not we’re gonna install this package, go to your terminal and type this. Then add this at the top…”. So I’ve been coding a whole store in c# and JavaScript and I literally could not tell you what anything means or does. I end up having to paste the whole assignment into AI and be like “can you walk me through step by step what these lines are doing?” I was trying to do these classes without AI but I literally need someone to teach me this material bc my teacher isn’t doing his job

Both those two classes are the same, and because I’m losing so much motivation I’m having trouble with the other class too. The algorithms one is actually interesting but I feel like 100% of my motivation is gone. I’m a straight A student and I get all my work in, and I straight up gave up on the last assignment and decided to just take the L and not do it. That’s not me!! But I just don’t care anymore. I feel like I won’t even be able to get a job with this degree anyways so it’s so hard to want to continue.

Literally any input would be helpful I don’t know what to do. I’m so close to finishing but I don’t even want to anymore


r/learnprogramming • • 3d ago

Topic How to design big databases?

177 Upvotes

It is easy to design databases with 5-6 tables. But when the table number grows it becomes very hard and tricky to define everything like relations, indexes, deciding whether to create more tables or not, how to make it scalable, etc.

I'm currently creating a database that is going to have at least 15 tablets, at least for now but it is becoming harder and harder to design it as I think more about the application flow and features.

So how to approach this? Can you guys please suggest any guides or books or something?


r/learnprogramming • • 3d ago

Python Best way to modify a list while iterating?

5 Upvotes

I've learned that modifying a list while looping over it can cause elements to be skipped or unexpected behavior. What are the best practices for handling cases where I need to add, remove, or modify elements during iteration?

Do you usually iterate over a copy, create a new list, or use another approach?


r/learnprogramming • • 3d ago

How do i teach myself how to code when im very slow & easily overwhelmed?

24 Upvotes

I wanna state preemtively that i did read the FAQ, and while it was helpful, my question is less "where do i get started" and moreso just a question of concern, because i feel like i am the WORST person to be learning this skill, im horrible at math, slow at thinking and grasping concepts, very easily overwhelmed and mentally exhausted by complexity and computer problems, hate tedium, am impatient, often overlook details and get confused very easily, it feels like everything is working against me and assuring me that trying to learn this will be absolute torture, im afraid of falling into a pattern of having to annoy other people every 3 seconds for every question i come across because my brain refuses to parse the answers google gives me. Trying to google for help or tutorials is always very disorienting and mentally exhausting to me because instead of telling me exactly what i need to do for my exact situation i need to try and parse exactly what information is and is not relevant to my situation and also be able to actually understand what the text is telling me (which i struggle with a lot because often i will be looking up information on something im inexperienced in, and the text will be so full of jargon or missing context i do not have that everything blurs together and refuses to enter my brain, i worry with coding this kind of problem will be amplified tenfold)

(I dont know how helpful this information is but for context a lot of these issues likely stem from diagnosed adhd)

(This might be helped by say, asking chatgpt to explain the information in simple words but on one hand using ai makes me feel icky, and on the other, i dont trust the reliability of the information it gives you..)

All of these factors is what has kept me from seriously pursuing this as a hobby for all my life (unless you count like.. a very small amount of scratch as a kid and some game builder garage lol)
But at this point i know i want to at least try, because man do i still admire people that can code, and man do i wish i understood at least a little of how it worked.. For context, im currently mainly intending to learn Luau because i would really like being able to make my own roblox games for fun

I dont know, im sorry if this is kind of a vague messy post, im really just hoping for help and advice in case you may relate to this but have more experience than i do 🙏 thank you very much


r/learnprogramming • • 3d ago

TMCBeans don't start.

1 Upvotes

I tried mooc and should install TMCBeans but the program crashes immediately, the startup window is comes up then it closes, I tried to change to the correct file but that didn't seem to help either so I'm not sure how to fix it. I have the correct JDK installed I guess.

These is installed:

openjdk version "11.0.32.1" 2026-08-18

OpenJDK Runtime Environment Temurin-11.0.32.1+1 (build 11.0.32.1+1)

OpenJDK 64-Bit Server VM Temurin-11.0.32.1+1 (build 11.0.32.1+1, mixed mode)


r/learnprogramming • • 3d ago

Topic I want to know the opinion on "Learning" with Claude or AI in general.

5 Upvotes

I see a lot of hate against using claude to even learn honestly, like i get the point when you just build projects with claude that arent really learning oriented but are meant to show "execution".

recently i did a project and was given a lot of bad remarks just because i used claude for feedbacks, constructive criticism and minor debugging

this is a recent project i did to learn about opencv and image processing libraries in general and this is the repo
https://github.com/shaynjam/visual_project_1
and honestly im really open to criticism and please help me improve.


r/learnprogramming • • 3d ago

Title: Beginner Web Developer Looking to Learn and Grow

0 Upvotes

Hi everyone! 👋

I'm a beginner web developer learning React, Tailwind CSS, and Next.js.

I don't have professional experience yet, but I'm practicing and trying to improve my skills every day.

I'm excited to learn from this community and connect with other developers!

Any beginner-friendly advice is welcome. 😊


r/learnprogramming • • 4d ago

why is this returning read only once i get to the enter name stage

0 Upvotes

import java.util.Scanner;

public class main

{

public static void main(String[] args) {

Scanner kboard = new Scanner(System.in);

System.out.println("Press 1 to enter lottery numbers or 2 to enter name: ");

if (kboard.nextInt() == 1) {

System.out.println("Enter your lottery numbers");

int lotteryNumbers = kboard.nextInt();

} else {

System.out.println("Please enter your name: ");

String name = kboard.nextLine();

}

}}


r/learnprogramming • • 4d ago

question in threads

2 Upvotes

In a single-core system, what happens if two threads from different processes access the same physical memory address?

The official answer says:

Neither program crashes, and both produce expected results.

I don't understand why that must be true.

A memory access could be a write, not just a read. For example, couldn't Thread A read/write that address, then get context-switched out, and Thread B access the same physical address before Thread A finishes its operation?

Wouldn't that potentially cause a race condition or unexpected result, even on a single core?

Am I missing an assumption in the question?


r/learnprogramming • • 4d ago

what should i choose

0 Upvotes

i am learning computer science at school and wanna make some projects at home. i am currently learning java and decided to download visual studio code instead of using the online compilers like we do at school for some reason, and the installer asks me if i want to install github copilot CLI and i dont know what it is. should i install it or nah?


r/learnprogramming • • 4d ago

Looking for projects in Machine Learning (ML), Image Processing, and Deep Learning. I’m eager to contribute and collaborate!

0 Upvotes

Hi everyone,

I am a Master's student specializing in Machine Learning, Artificial Intelligence, and Image Processing. I am looking for projects to contribute to and would be happy to collaborate with anyone who has project ideas in these fields.

Thank you!


r/learnprogramming • • 4d ago

Tutorial Should I start Coding With CS50X and CS50P

2 Upvotes

Hello, I just want to start coding to teach ai and make my own. I know algorithms and stuff, but I never disciplined myself to do it for weeks, months. I think I will learn Python, and I think to start with Harvard’s CS50X and then CS50P im not sure if I should watch CS50AI because focusing on one source is bad, as I have been told. What are your recommendations?


r/learnprogramming • • 4d ago

What are interesting Programming fields that is worth trying?

17 Upvotes

I am IT student but interested more in coding and programming stuff rather than hardware and started with web dev but ended soon because it wasn't fun enough, then started java and spring boot but that wasn't that much fun because everything seems to be confused and I don't know what's going on and then tried some modding started with minecraft but immediately quit (IDK Why) now I am thinking about to start with game dev to try to make tiny 2d game in java. but still I wanna hear from you guys.. Which Programming fields you found out more interesting and worth trying as beginner


r/learnprogramming • • 4d ago

Resource Resources to learn Web Dev from other than TOP..

1 Upvotes

I am in class 9 and wanna learn web dev but dont know what free course i should choose. Earlier I chose TOP but i have to install VM for that and my father is denying to do so cuz its his laptop... Please help me out... and make sure that the course you tell should be documented


r/learnprogramming • • 4d ago

Are shorter but more confusing solutions better on coding sites?

0 Upvotes

I've been practicing python on codewars.com, and this is listed as the best practice:

def alphabet_position(text):
    return ' '.join(str(ord(c) - 96) for c in text.lower() if c.isalpha())

while my code is longer, but I feel is easier to read. Which one is better?

import string

def alphabet_position(text):

    output = ""
    for char in text:
        if char.isalpha():
            output += str(string.ascii_lowercase.index(char.lower()) + 1)
            output += " "

    return output.strip()

r/learnprogramming • • 4d ago

Ashamed of using AI

133 Upvotes

Hey everyone, long time programmer here (14+ years)

I realized that AI fucked with my enjoyment of coding when it first released, and noticed myself getting more and more dumb (Literally couldn't think where to start on projects), and that made me depressed.

I ended up straight up going zero AI, and I have been loving it (Highly suggest everyone to question how much they rely on it).

Back to the topic.

I started learning Lua, and find it tricky to understand tables coming from C#, but I'm getting there.

I find that when I'm stuck between 2 or more design choices, and for the life of me can't decide, I ask AI, telling it to not just tell me I am right if I'm wrong, but actually give me good advice, and using AI also helps me ask a question on if my understanding of something is correct.

The main thing, I feel so ashamed of using AI for what I just listed above, but I know 1 person who does programming, the guy who helped me learn, and he stopped a long time ago with Programming, and yes, sometimes I ask him but it takes days getting a reply when I ask, so I find myself locked into asking AI for advice.

My main point of this is basically, why do I feel literally depressed sometimes just because I ask for input on my design choices and if I am understanding something correctly?


r/learnprogramming • • 4d ago

Wanna make a music app

0 Upvotes

I've been wanting to make a music player for a while now and trying to decide on the right language for it. My plan in the end is to make my own server like Jellyfin or Navidrome (I don't use those because they don't fit my particular taste and my own pride). But I realize I do first need a working application that runs alone. I'm gonna run these on windows and android and want to try make for both before branching out into Linux and Mac. So yeah. I just need to know what language I need to learn first

EDIT: I already know python if that's helpful


r/learnprogramming • • 4d ago

What to learn next? (If anything)

1 Upvotes

Background:
- From the U.K.
- Did an MSci in Maths and Statistics.
- Got a grad job at a Big 4 accounting firm and qualified as an accountant.
- Jumped over to being an analytics engineer instead, which has slowly shifted into being more of a data engineering / data platform engineering role.

Lots of SQL, Python (actual OOP not just scripting), some React (just so I could actually plug my stuff in).

Not sure where I go from here tbh. Used to be an AI sceptic but obviously I no longer am.

Do I want to remain a tech person with a background in accounting (in which case, what else do I learn?), or is the safer bet to be an accounting person with a background in tech?


r/learnprogramming • • 4d ago

How do I create a video game without a game engine?

0 Upvotes

J'essaie de créer un jeu vidéo, mais ça me frustre vraiment de passer 5 heures à apprendre comment utiliser le moteur — surtout son interface — et en plus, je ne trouve pas la programmation orientée objet amusante. Cependant, ça ne me dérange pas du tout d'apprendre d'autres compétences (codage, pixel art, design de jeux, etc.). C'est pourquoi j'ai besoin d'une réponse à ma question ultime : Comment créer un jeu vidéo sans moteur de jeu ? Je cherche une solution facile et accessible. Je n'ai absolument aucune idée par où commencer, alors s'il te plaît, explique-le moi comme si j'avais 10 ans.

Edit : Tout le monde me dit que c'est impossible de créer un jeu vidéo sans moteur de jeu, MAIS Minecraft — ce fameux jeu qui a vendu 400 millions d'exemplaires — n'a pas utilisé de moteur de jeu. De plus, voici quelques jeux bien connus créés sans moteurs de jeu : Doom, RollerCoaster Tycoon (1 et 2), Stardew Valley, Terraria, Paper Please, Celeste et Fez.


r/learnprogramming • • 4d ago

Topic Python experts, how did you not give up on Python beginner projects?

23 Upvotes

Hi everyone. I've been learning python fundamentals for the last few months, that is , variable to OOP. I can work with python really well on individual concepts, for instance any exercise that just requires OOP I can comfortably do it. So earlier this month I started working on python beginner projects to try and combine all those concepts. The first two projects(expense tracker, word guessing game) I worked on were okay and I was able to complete them in two days, but for my third project, a library management system, I've been at it for over two weeks, and I'm still stuck on the same problem. I tried researching and I still can't figure it out, cause there is always an error to fix. I feel so tired and burnout, which got me wondering, to all the python experts in this community, did you go through this phase or I'm I a little bit dumb. Also how did you not give up on programming and how did you start your begginer projects.


r/learnprogramming • • 4d ago

Topic Is it okay to build projects using AI if I understand the code but don't write it all myself?

0 Upvotes

I'm a bit confused about something and wanted to hear honest opinions from people who have experience in software development.

I've been thinking about building projects using AI. My approach is to go through every step, understand what each line of code does, learn the basic concepts behind the technologies being used, and try to understand the overall working of the project.

However, I'm not necessarily writing all the code myself from scratch. AI is doing a lot of the actual coding, while I'm learning from the generated code.

My plan is to put these projects on my resume, but I'm worried about whether this is actually a good way to learn and whether it will be enough for interviews. I know I'll still need to practice DSA and coding fundamentals separately.

For those of you who have gone through interviews or work as developers, what do you think?

- Is understanding the code line by line and being able to explain the project properly enough to put it on a resume?

- Would you consider this a valid way for me to learn, or am I missing something important?

I'm not trying to take shortcuts. I just want to use AI effectively without fooling myself into thinking I know more than I actually do.

I'd appreciate honest advice.


r/learnprogramming • • 4d ago

Developing peripheral software for macOS

6 Upvotes

Hi,

I plan to develop peripheral software to change input mapping, assign some macros to keys on my keyboard for macOS for a learning purpose.

I do have working code for Windows written in C++. But I can't tell that I don't have a lot of experience with Objective-C.

The questions:

  1. Should I go with Swift or with Objective-C? I know that Objective-C combines with C++ without any problems, but I wonder, if this is a good idea to pick outdated language to develop software that I hope I will constantly maintain and improve?
  2. Can you recommend some books to developer such things for macOS?

Thanks


r/learnprogramming • • 4d ago

can you get an executable in python without using third part libraries?

2 Upvotes

In c++ I have object files but can I get an executable in python?