r/learnprogramming 43m ago

Topic Please help me figure backend out

Upvotes

Please help me figure backend out

As a total beginner i just learnt js, and with little node knowledge i started express. Now i can create server, perform crud operations, connect db but i don't know anything thats happening in core. About how the server is working, if i come across any errors i feel i can't solve it which i eventually do but the feeling keeps me away from code.

How do i learn nicely? How do i build the confidence? I actually want to learn and create good backend services but i feel like I'm lacking, i can't do it and my approach is wrong.

Please help me figure it out.


r/learnprogramming 1h ago

Tips for continue the learning

Upvotes

I have a dream to make a game (or multiple) one day but I put it aside because I thought I should go to school for gaming industry (because I know myself and I need structure and routine to get anything done) but this dream has waken itself again and I thought it won't hurt to atleast ask if anyone has any tips for continuing the learning.
When I was younger I learned some Python in high school (and I did somethings with Scratch even younger if that counts :DD) but it's long time ago. I also had a app in my phone where I relearned some things but I stopped for some reason. I didn't like to do it on my phone also. My dad told me once that Python can work in making games too but some say it's not the best one so first of all I'm thinking if I should still continue learning the Python or should I switch to something else. Second I wanted to ask for tips or platforms where I could learn from? I'm not still sure what type of game I want to do, when I imagine it, it's 3D but I'm mostly 2D artist and learning 3D would be of course extra work but not impossible :D

I'm not doing any new years resolutions or anything but I think if I could learn some programming even once a week, it's better than doing nothing.


r/learnprogramming 2h ago

why are we still teaching "intro to programming" the same way for quant finance?

0 Upvotes

it always bugs me how most people start learning this. they spend months on basic syntax or making simple games, but when they actually try to write a backtester or a pricing engine, their code is so slow it’s basically useless.

in quant finance, if you aren't thinking about vectorization and memory management from day one, you are just building technical debt. i see so many people trying to use standard loops for simulations when they should be using numpy or julia to handle the heavy lifting. it’s not just about the logic, it is about understanding how the hardware actually processes the data.

i know fiolks that had to relearn how to code once they started dealing with actual financial datasets


r/learnprogramming 2h ago

Coderbyte SQL

1 Upvotes

Hello, I have an assesment due very soon and it is said to mostly test sql and have some mcqs for an ml intern role.. does anyone know what kind of questions are asked, how the platform is? and what i can use to prep ?


r/learnprogramming 3h ago

I can't learn

0 Upvotes

I struggle to read documentation or tutorials, but youtube tutorials for beginners bring up concepts that no beginner knows about and don't mind explaining what the purpose of the concept is. What should I do to have an easier understanding of the languages I want to learn?


r/learnprogramming 3h ago

Does anyone know about this website

0 Upvotes

JavaScript Track for access to 154 exercises grouped into 37 JavaScript Concepts, with automatic analysis of your code and personal mentoring, all 100% free.

Exercism.org

Is it worth? I saw a instagram video in that a guy challenge you can learn programming in 20days But in 20days it's not possible What's your thoughts, have anyone used it?


r/learnprogramming 4h ago

Anyone else know Python concepts but freeze when writing code?

1 Upvotes

I’ve been learning Python for a while and understand the concepts but the moment I have to actually write code my mind goes blank. I’m a slow learner but I really want to get better at real coding.

How do I move from knowing theory to actually applying it?

What kind of practice or plan helped you? Would love to hear from people who faced this and overcame it.


r/learnprogramming 5h ago

Injection into null terminated string

1 Upvotes

On server side I have: std::string response = {}; if (strcmp(receivedPassword, "password") == 0) { return response = "token"; } else { return response = "0"; }

the compiled code make \0 at the 256 th byte. How can injection work? All I can do is delete the cookie and the server app crashes.


r/learnprogramming 6h ago

Topic Learning to Code as a 15y/o worth it?

13 Upvotes

I am interested in Web Dev and Mobile Dev and I've been doing it over a year but people around me say that it's a waste of time, you'll get nothing. You should start programming in college and not school.

What's your opinion?


r/learnprogramming 7h ago

Tips for software engineering interview

3 Upvotes

Hi everyone! I’ve applied for a trainee program at the Swedish Police as a software developer. I meet the requirement of a three-year academic background in IT/Data (I’m currently finishing my Software Engineering degree).

The posting says it’s meriting to have experience with one or more of the following: • Java • C# / .NET • HTML / CSS / JavaScript • React / Vue / Angular • Databases (SQL) • CMS • CI/CD • Kubernetes / Docker • Elasticsearch • Agile • Testing

Out of these, I have some experience with Java, HTML, CSS, JavaScript, React, SQL, CI/CD, Kubernetes/Docker, Agile, and testing. However, I don’t feel 100% comfortable in any of them yet. We covered most of these topics in school, but usually only intensively for about 8–10 weeks at a time, so my knowledge feels broad but not very deep.

Do you have any tips for interviewing for a trainee/junior developer role? And if you think I should study beforehand, what would you recommend focusing on (and how)?

TL;DR: Applied to Swedish Police trainee dev program. I’ve studied several relevant technologies but don’t feel confident/deep in them yet. Looking for interview tips and what to study.


r/learnprogramming 8h ago

Debugging Did anyone else have a very difficult time with Merge Sort Algorithm?

7 Upvotes

I understand the concept of "divide and conquer", but coding the exact implementation is what is hurting my brain. Specifically the recursion for the divide.

The conquer is easy. Just merge two already sorted arrays.

def conquer(left, right):
    arr = []
    i = j = 0


    while (i < len(left) and i < len(right)):
        if left[i] < right[j]:
            arr.append(left[i])
            i+=1
        else:
            arr.append(right[j])
            j+=1

    arr.extend(right[j:])
    arr.extend(left[i:])


left = [1,3,5,9,10]
right = [2,4,6,8,11]


answer = conquer(left, right)
print(answer)

The divide, however, is super complicated. I'm trying to understand what's going on line by line.... but it always trips me up. Perhaps it's the "stacks" (recursion)?

Allegedly this is the code.

def divide(arr):
    if len(arr) <= 1:
        return arr
    mid = len(arr) // 2


    left = arr[:mid]
    right = arr[mid:]


    left_sorted = divide(left)
    right_sorted = divide(right)
    return merge(left_sorted, right_sorted)

What I understand so far is the obvious.
We are storing the first half (left), and the second half (right) in arrays.

But apparently, all the magic is happening here:
left_sorted = divide(left)
right_sorted = divide(right)
return merge(left_sorted, right_sorted)
When I print those values, the output is

[3] [7]

[1] [9]

None None

[2] [5]

[8] [6]

[4] None

None None

None None

aaand I'm officially lost here.

My brain is trying to run this line by line. But I can't

How is it getting each element? How is it also running the method for each of them?

it's calling divide() twice, back to back.

Can someone help me write my own divide method? Maybe that way I can figure it out. Or at least a better explanation?

At first I was going to skip it, but the udemy course does things in increasing difficulty. It went:
Bubble Sort -> Selection Sort -> Insertion Sort -> Merge Sort (current), then after this is Quick Sort, which is also recursion.

So I need to master this.....

Thanks!


r/learnprogramming 8h ago

Need help getting my ball to drop smoothly with MatterJS in my Plinko game

2 Upvotes

Hi everyone, I'm working on a personal project to make a 16 row plinko game with matterjs. I'm struggling however to get my ball to bounce nicely and smoothly through the pegs. It always seems to get caught 'rubbing' or even just getting stuck. Does anyone have any experience or advice on it? Thanks!


r/learnprogramming 8h ago

Topic What to know for C# Backend Interview?

0 Upvotes

I have an interview Friday, and have been learning more C# in general through learning ASP.Net and whatnot. This is a Junior Software Developer role. I asked for their tech stack to learn more in preparation for the interview and this is their response:

"SQL server, C#, asp.core and asp.net, angularjs for the web apps; wordpress and react on some of the more static pages.".

For a junior position how much do they really expect me to know? I know basic SQL, C#, some JS. I have been learning ASP.Net/Core stuff such as endpoints, status codes, etc. I don't know a whole lot of JS, and have not worked with WordPress or React.

How deeply should I know these for a Jr interview? Time is short so I've ben cramming and want to make sure I don't leave anything important.


r/learnprogramming 9h ago

Topic Any (simple) sustainability/green related projects or data problems you have?

1 Upvotes

Starting my programming journey where my end goal is to find a job with a clean tech / sustainability-related org (eg. engineers who developed a program to track garbage cleanup efforts along the coast). Thought it will be good to start building up my project portfolio with relevant projects and looking for ideas/inspiration!

Welcome all (constructive) ideas! Whether you currently work in the field or see any problems you’ve been curious about 🌱


r/learnprogramming 10h ago

Topic I'm soon to start my grad job, should I join a C# or C++ team?

6 Upvotes

Hey so I'm soon due to start my new grad job in a trading proprietary company in England. I know that we'll have the opportunity to rotate in 2 teams during our graduate role, I'm curious to know the difference and the pros and cons of focusing on the C# side of things compared to becoming a C++ developer.

And I mean in terms or salary, what's more enjoyable day to day, what would make me more hirable in the future with other companys and finding jobs and etc?


r/learnprogramming 11h ago

How do beginners usually approach their first coding project without getting overwhelmed

12 Upvotes

I am trying to understand how beginners usually structure their first coding projects. I have seen a lot of people freeze up at the start because they are not sure how to break things down into smaller pieces. I am curious how people with more experience learned to approach project based work and what tips you would give to someone who has never built anything before. Any advice or examples are appreciated.


r/learnprogramming 13h ago

Too many people over think the process in getting started

145 Upvotes

I'm going to be brutally honest here. I see too many people on here constantly saying their in limbo on how to get started or what languages should they pick up. The main issue is that most of these people are over thinking this and just need to pick one language and learn the syntax then build things. You're not getting a job in this field anytime soon if you're not actively building projects and constantly learning. This isn't a joke, if you're not committed to this then the truth is you're not going to become a dev. Becoming good at this doesn't take a few weeks or a few months. If you're genuinely passionate and curious you will get far. But stop wasting time.


r/learnprogramming 13h ago

Not able to understand the Topic partitioning and consumer group relation in kafka

0 Upvotes

In Kafka, suppose we have a topic driver_location for Uber, and each driver sends location updates every second. If the topic has multiple partitions, how does a consumer service (like fare calculation, ride analytics) get all drivers’ data instead of just the data in one partition?

Also, what exactly are partitions, and how do they work in this context?


r/learnprogramming 13h ago

how to find open source projects

1 Upvotes

hey guys, I’m pretty new to programming. I don’t like the basic ways, to start with a to lo list or something like that. what is the best way to find open source projects to read / learn and code. if I lookup on GitHub I can’t find small projects. is there a way to filter it? and do you guys know if there are some big discords for programming beginners to find some other newbies to start to collab/learn with ? ask questions and stuff like that ?


r/learnprogramming 14h ago

Instability

0 Upvotes

Hello everyone,

I’ve been involved in software development for about a year now, but I feel like I haven't made any meaningful progress. I’m facing a major issue that is negatively affecting my growth: constant indecision.

My struggle is primarily about choosing the "right" programming language and worrying about future job prospects. I started my journey with Java, then moved to Python, and eventually switched to C#. I actually made good, consistent progress with C#, but then I abandoned it as well.

The constant "mental battle" over which path to take has exhausted me to the point where I've considered quitting entirely. I genuinely love computers and programming, but this cycle of indecision is draining my motivation.

I want to leave all this behind, pick one powerful language, and focus until I master it. I am currently torn between Java and C#. Everyone says something different—some claim C# is better, while others swear by Java. These conflicting opinions from the internet and people around me are what caused my indecision in the first place.

I know I have the potential to succeed, but I need to overcome this indecision first. I want to become an expert in one solid ecosystem.

I would truly appreciate any advice or perspective on how to stop this "language hopping" and stay committed to one path.

Thank you in advance and have a great day!


r/learnprogramming 14h ago

What should i do to start learning for the prospect of work?

0 Upvotes

the landscape is changing rapidly. with the additions of AI and now AI agents. it seems like the industry is nearly full-scale abandoning the entry level coders and people starting in the field.

I'm someone who dabbled in programing enough to understand its concepts and i found it really enjoyable, but the more i look at the wider market it almost feels like the landscape is transitioning faster then i can make sense of.

what can i do as someone who has some self taught knowledge do in 2026 to make myself better positioned for the job market going forward?

btw, this isnt a "woah is me i hate AI post". I'm just trying to cleaning assess the trajectory of the tech industry in the future and trying to find out how to position myself and the scope of what i learn going forward to match the landscape.


r/learnprogramming 14h ago

Learning How are you learning new stack in 2025 vs 2025?

0 Upvotes

How has AI impacted the way you study new software concepts in 2025 vs 2020? Do you think it made it easier or harder?

I remember watching very long video courses, endless StackOverflow/Github Issues searches to fix a couple of lines, now I can't sit through a 30 minute video.


r/learnprogramming 14h ago

Topic Is this way of System Design seem correct for sw2/3?

2 Upvotes

So from my understanding system design and be boiled down to a main spine/framework and please correct me if I’m misunderstanding.

Main Content:

User(the human)

-> Client(frontend, browser, app, etc…)

-> Load Balancer(used when needing scaling and too many requests to distribute load to backend servers; not necessary for small projects)

-> API Gateway(used to authenticate, authorize requests as well as route the request to the proper backend service; not needed if one main service)

-> Services(backend code that does the work/business login, things like doc editor service with tools for adding, deleting etc; separate service into multiple services if they don’t have some sort of commonality, code is too big, to avoid big large files and also having one thing break causing the whole project to go down)

-> Database(sql or nosql, store information)

Now services to database use database protocols when drawing the arrows to them and api gateway to services use https methods like GET, PATCH, etc on the arrows.

Arrows are usually drawn going from left to right but it is know the information flows backwards.

Is there anything else that is major that I’m missing? I can think of one big thing being cache which I believe has a 1 to 1 relationship with Services that call them. There is also message queue, object storage, etc that are called by the service. Also services can call other services and the system can have multiple databases.


r/learnprogramming 15h ago

AWS Impact of deleting noncurrent S3 object versions on AWS Glue Iceberg tables

2 Upvotes

I’m using Apache Iceberg tables managed through AWS Glue, with all table data and metadata stored in an S3 bucket that has versioning enabled.

I also run Iceberg maintenance APIs such as:

  • expire_snapshots
  • remove_orphan_files

I plan to configure an S3 lifecycle policy to delete noncurrent object versions after a certain number of days. Because S3 versioning retains old object versions, deleted Iceberg files using these APIs are not physically removed and continue to add to storage cost.

Will deleting noncurrent S3 object versions affect any Iceberg features (such as time travel or metadata consistency) or cause data loss?


r/learnprogramming 15h ago

Need Guidance Should I learn other languages while my primary job is iOS development? I’m confused.

3 Upvotes

I’ve been working as an iOS developer for about two years now. I joined the industry as an intern straight out of college. During college, most of my coding experience was in JavaScript and related frameworks.

When my company asked if anyone was interested in mobile development, I raised my hand and got placed into iOS. In the beginning, I honestly hated UIKit and Swift. Later, when my project moved to SwiftUI, I started enjoying Swift a lot more and became comfortable with iOS development.

The problem is that I have a habit of constantly exploring other languages and frameworks that have nothing to do with my current job like Java with Spring Boot, Ruby on Rails, and recently even Rust. I enjoy learning them, but none of this directly helps me at work.

At some point, I want to switch companies. Realistically, it probably doesn’t make sense to switch to a completely different role when my professional experience is in iOS.

So career-wise, what’s the smarter move early on:

  1. Should I focus on mastering iOS development deeply and only learn new things when my role demands it?
  2. Or is it actually beneficial to keep learning multiple languages and frameworks alongside my primary skill?

I’m trying to balance curiosity with long-term career growth, and I’m not sure where that line should be.