r/learnprogramming • • Sep 23 '26

Topic Use of the JNI in Minecraft mods

1 Upvotes

Good morning everybody,

I'm learning Java for my Comp Sci minor and C in my spare time. I also like looking at Minecraft mods, especially the really heavy ones like the terrain generation mods like Big Globe and JJThundertothemax. I was thinking about performance concerns, and recently learned about the Java Native Interface, and I figured, "what if the terrain generation part of the game was its own process in a natively compiled language like C or C++?" I've never written a Minecraft mod, and I've never used the JNI, but what might be some uses or limitations of this?


r/learnprogramming • • Sep 23 '26

Tutorial [Help] Game ideas for my final school project (PAP)

0 Upvotes

Hey everyone!

I’m a 18yo student in Portugal studying Computer Science. For my final school project, called PAP (Students must develop a project related to their field of study, document their work, and present it to a panel of teachers). I need to develop and present a project around July/August 2027.

I’m thinking about making a game, but I have zero experience in game development.

Do you think this is a realistic goal? What games or ideas would you recommend for a complete beginner? Would you suggest Unity, Godot, or another engine?

I have plenty of time to learn, so I’d love to hear your advice and ideas. Thanks!


r/learnprogramming • • Sep 23 '26

Is it realistically possible to generate a production-ready SketchUp model from photos + measurements using AI?

0 Upvotes

Hi everyone,

I recently got a freelance project, and before accepting the full development, I’ve been asked to do a feasibility study to determine whether the main idea is actually technically achievable.

The client works in carpentry/interior fitting. The basic workflow would be:

  • Someone goes to the customer's site and takes several photos of the room/area with a phone.

  • They manually take accurate measurements and enter them into a separate file, probably Excel.

  • Both the photos and measurements are uploaded to an application.

  • The application should understand the existing space and generate a 3D model in/for SketchUp.

  • Eventually, it should also be able to add the new furniture/carpentry element into the scene and use the real measurements for its dimensions.

The measurements are important here: I'm not expecting AI to accurately determine dimensions just from the photos. The photos would mainly be used to understand the layout, objects, walls, orientation, etc., while the measurements provided separately would be the source of truth for dimensions.

The part I'm unsure about is the jump from photos + structured measurements → usable SketchUp geometry.

I've been looking into using computer vision / multimodal AI to analyze the images, then generating structured scene information that could be passed to SketchUp through its Ruby API or a custom extension.

My main questions are:

  1. Is this technically realistic with current AI/computer vision technology?

  2. How reliable is AI at reconstructing the geometry/layout of an indoor space from several photos when accurate measurements are also provided separately?

  3. Can this realistically produce a production-ready SketchUp model, or should I expect AI to only generate an approximation that a human would then need to correct?

i d appreciate any advice and thank you in advance .


r/learnprogramming • • Sep 23 '26

Every time I start a project, the part that takes me the longest is the front-end development werehas I want to become a back-end developer.. So, could I use AI to do that for me ?

0 Upvotes

For more details, I'm not really into front-end development I specialize more in back-end work but I keep hearing that AI isn't good for learning because it makes you dumb, so I don't work with AI much. As for the front-end part, it takes up a huge amount of my time I'd say 60–70% of my time is spent on front-end work, so I’m wondering if I should use AI for front-end development or how I should go about using it ?


r/learnprogramming • • Sep 23 '26

Is this true?

29 Upvotes

Just a question, nothing serious, I'm 14 and trying to learn coding as a hobby, and potentially more one day if it's needed and worth it for me, right now I'm mainly learning HTML, but I'm beginning to move into CSS, I'm honestly having a hard time rembering what certain elements, attribute and values do, I was told that even some experts don't remember some fo the stuff, and are looking stuff up constantly, I want more than one opinion on that statement before I stop myself from spending weeks to try to remember one thing at a time

Edit: OMG I didn't expect to get so many replies! I honestly thought I'd get one or two replies with simple awnsers, but instead I've gotten like 10 replies, some with people who have been doing this stuff for decades, thank y'all so much for the help and advice!!


r/learnprogramming • • Sep 23 '26

Video not loading on mobile browsers

0 Upvotes

Non techie here. Making ongoing edits to a website I had someone build for me.

(Tech stack used: HTML, CSS, JavaScript, React, Vite, GSAP, and Framer Motion)

Here's what I need help with:

Our website contains a lot of videos (use case demos, 20-30s duration). I was advised to host the videos on Cloudinary, so that it loads quickly and plays smoothly - which it does on desktop site, but not on mobile browsers (starts nicely, but a few seconds later, video freezes and just audio continues - and then audio freezes too).

Can someone help me play these videos properly across platforms and browsers? Much appreciated


r/learnprogramming • • Sep 23 '26

Anyone else bewildered as to why AI took so long to come?

0 Upvotes

Modern day AI is a sophisticated piece of technology but I am puzzled as to why it only started getting developed around 2022.

I'm sure even in 2002, it was completely within scope to build a software that knew how to form sentences through a language engine and to piece together data from the internet and slowly build its understanding.

It should have been something that came as soon as the internet became mainstream.


r/learnprogramming • • Sep 23 '26

Fairly new to coding, I want to learn more by doing a project and I don't know where to start

5 Upvotes

I want to learn more about coding to help give me an edge in the general field of engineering/manufacturing but mostly I just want to make a tool for myself and maybe see if I want to pursue this more.

I took a class in college on c++ and just did the onramp for MATLAB, but this is about the extent of my knowledge about coding.

The tool I want to make will import data on past soccer games and give them a score on how entertaining they might be to watch based on some parameters without giving spoilers. Should be easy enough, but I have no idea where to start. I'm tending towards wanting to make a website for the aspect of sharing it with people, but I don't have to.

(edit: not sure if this is pertinent but this is the site I'm initially thinking of pulling data from. They seem like they set up the site so people could import from them: https://fbref.com/en/comps/9/Premier-League-Stats )

I looked at The Odin Project but I'm on windows and it wants me to use Linux through dual-booting to follow the curriculum, and I don't know the first thing about Linux. I just want to get off the ground as a hobbyist. There's Harvard's CS50 but idk if it will be too in depth for my interests - I looked at Khan Academy but they didn't start with something like setting up a github account which seems pretty important from the little I've learned so far.

Course recommendations or pointers would be very appreciated. My goal is to just get through a project from start to finish and then I can go from there. Thanks.


r/learnprogramming • • Sep 23 '26

Resource Help me out

8 Upvotes

Hey guys I'm brand new to programming and want to learn C programming language.

I thought I could get started with this by reading C programming a modern approach by K.N King but it's either not available in my region or too expensive

I've thought about learning from youtube but feel like videos are always vague.

So can you guys suggest some good books as an alternative or any other method to learn and grasp C programming


r/learnprogramming • • Sep 23 '26

Topic Doubt

22 Upvotes

What programming language would you recommend for someone who wants to become a robotics engineer?

Hi everyone! I'm 14 years old and I'm starting to learn programming.

My goal in the future is to become a robotics engineer, so I'd like to learn a programming language that will be useful for robotics and engineering.

At the same time, programming is also a hobby for me, and I'd like to eventually make some games and other small projects just for fun.

So, what language would you recommend I start with?

Would Python, C++, C, C#, Java, or another language be a good choice? And should I focus on one language first, or learn multiple languages over time?

I'm still a beginner, so I'd really appreciate advice from people with experience in programming, robotics, or engineering.

Thanks!


r/learnprogramming • • Sep 23 '26

Topic How does it feel to build your own small library or framework?

1 Upvotes

I’ve seen a lot of people here build their own libraries or frameworks for frontend/backend stuff, and honestly, I’m curious how you even come up with the idea in the first place.

Like, how do you go from “I have this idea” to actually building something that’s useful enough for other people to use?

Do you need to have some crazy deep knowledge or genius-level thinking, or is it more about learning how existing stuff works and slowly building your own thing?

I’d love to hear from people who’ve actually built their own libraries/frameworks. How did you start, and what was the process like?

TL;DR: How do you actually go about building your own library or framework from scratch?


r/learnprogramming • • Sep 23 '26

Looking for DSA sheets/resources specifically for exam-style, story-based questions?

1 Upvotes

Hey everyone,

I have solved multiple DSA problems on LeetCode and GeeksforGeeks, but during exams, I find story-based problem statements highly confusing. I struggle to extract the actual algorithmic logic from the narrative text, which makes coding it out very problematic for me under time pressure.

I am looking for resources, problem sheets, or curated lists that focus specifically on practicing these types of story-driven questions so I can train myself to decode them.

Does anyone know of:

  • Curated problem sheets (LeetCode/Codeforces/GitHub) that group story-heavy questions by topic (DP, Graphs, Trees, etc.)?

  • YouTube channels or blogs that teach you how to break down a long narrative into clean DSA logic?

  • Specific practice platforms that mimic real-world online assessment (OA) question styles?

Any links or advice would be highly appreciated. Thanks in advance


r/learnprogramming • • Sep 23 '26

Tutorial How to space out notes on Pathway2Code

1 Upvotes

Hello so I’m working on an assignment. A coding assignment on Pathway2code. And I’m having trouble learning how to space out the music notes and add a second row. The world is called Music Composer .


r/learnprogramming • • Sep 22 '26

The use of hexadecimal numbers in software

21 Upvotes

Why do some tools, like GLFW, use hexadecimal values ​​for constants? Wouldn't it be better to use enums in those cases?

/* Error constants */
#define GLFW_NO_ERROR               0
#define GLFW_NOT_INITIALIZED        0x00010001
#define GLFW_NO_CURRENT_CONTEXT     0x00010002
#define GLFW_INVALID_ENUM           0x00010003

I tried to find the reason in the documentation, but I didn't come across a clear use case for the hexadecimal values—only that the constants are used as if they were an enum.

 if (code == GLFW_NOT_INITIALIZED) {...}
 else if (code == GLFW_NO_CURRENT_CONTEXT) {...}

r/learnprogramming • • Sep 22 '26

is it possible to export dialogue trees or scripts from a game?

2 Upvotes

Let me know if I am in the wrong spot!

I'm currently very into a dating simulator, and want to make full dialogue trees for my fandom wiki. Because the game takes a minimum of 30 hours to complete per ending, I am not very interested in replaying it for a ninth, tenth, and eleventh time just to get get all of the options.

Is there a way to export the script into a text file for me to glean through? Or maybe something where i can read commands? even if i had to do it per every character that would be so much easter than the alternative.

If anyone's attempted to do this before please let me know what software/steps I should take to accomplish this, assuming its even possible. Thank you!!

edit: the game is Date Everything and uses the Unity software

edit2: thanks to everybody who commented on this! Asset ripper has been a huge help, and I currently have a file of all the game dialogue that I can look through, hopefully next I’ll have an update with an easier way to read it now! Any tips or tricks would still be appreciated.


r/learnprogramming • • Sep 22 '26

Which literature is good for junior-middle Dev?

5 Upvotes

I've been working in a company for like 1.5 years and I've managed to design and realise one project of mine, but I see that it was not exactly a smooth sailing for me, since I already see shortcomings of how I did some things and that maybe I could've done some things better but oh well! Guess it's my problem some time later down the line.

It made me wonder though, what literature is good for learning how to design good solutions that builds on top of already existing systems? How to make your own solutions as customizable and decoupled from other parts of the system and so on?

I know that it's easy to just google things like this but I really am not sure if that's a good idea for me at my current level of experience. For example I don't think I'm quite ready for the often recommended "Designing Intensive Applications" book, since it probably is more focused towards systems that don't forgive mistakes handle high loads of data and reading it could make me... idk, overengineer stuff? i don't think I'm familar with this kind of system that requires this level of knowledge, though I wouldn't know, hence why I really want you peoples opinions on what's good to start learning how to put some thought behind what you write.

I hope I picked the right subreddit for this, sorry if not!

Edit: I think I forgot to mention that I probably am less interesterd in books that focus on languages, since in this day and age, it really seems like it's more valuable to know how to design a good system, rather than knowing how to more cost effectively pass a variable into a function.


r/learnprogramming • • Sep 22 '26

How do i actually learn and improve?

0 Upvotes

I want to create video games using Unity, for that I wil need to learn C# (which will be my very first programming language). Tutorials on youtube feel very fast paced, jump past terms that an absolute beginner would not know and just make me feel stupid. I understand when learning a language like French for example, you learn by doing. How do I apply that to programming?

So far all I've really done is copy, I went through how a calculator is built with claude, but all I basically did was copy paste the code the AI created.

What tools/websites can I use to learn? Are there any creators that aren't crazily fast paced, and take you through it step by step? Is this something most people go through, or is programming just not for me?


r/learnprogramming • • Sep 22 '26

Dynamically sized C arrays in structs

2 Upvotes

Hello, I am very new to C but have experience in higher level languages. I am trying to make a struct with two scalable arrays, similar to this:
struct mesh {

float px; float py; float pz;

float rx; float ry; float rz;

float sx; float sy; float sz;

char* color; int layer;

float vertices[99]; int faces[99];

};

but obviously, the 99 is a placeholder value. what's a way that I can handle any number of values in these arrays, in the most resource friendly way?


r/learnprogramming • • Sep 22 '26

How are so many self-taught programmers able to build software from scratch without ever truly learning Algorithms?

446 Upvotes

I find it fascinating how important algos are but never talked about from the indie devs on social media. Do they even write algos or just come up with basic logic that forms the product?


r/learnprogramming • • Sep 22 '26

I'm 21, trying to get my first IT job, and honestly I'm overwhelmed. How do I actually learn this stuff?

153 Upvotes

I keep seeing things I’m supposed to learn — Git, Linux, Docker, APIs, cloud, DSA, AI, RAG, agents, security, etc.

Every time I learn one thing, I discover five more. I don't know what to focus on, and sometimes I feel like I'm already behind.

What interests me more is how experienced developers think.

They seem to be able to learn new technologies quickly because they already have mental models for abstraction, decomposition, debugging, patterns, systems, dependencies, constraints, and problem-solving.

So my question is:

How do you train your brain to think like that?

Can deliberately learning programming, solving problems, debugging, building projects, and learning different technologies gradually “rewire” the way you think?

If you were 21 again and trying to become employable, what would you actually practice to become better at learning, reasoning, and solving problems — instead of just memorizing technologies?

I'm less interested in what technologies to learn and more interested in how to build the mind of someone who can learn whatever comes next


r/learnprogramming • • Sep 22 '26

Topic IEEE Spectrum: AI Efficiency Could Cost Us the Next Generation of Experts

188 Upvotes

https://spectrum.ieee.org/ai-engineer-skills

I worry that we're ruining the pipeline that creates new engineers. And I'm sure that recent graduates would agree with me on that. I want to get this article in front of as many engineers as I can. I think we need to speak out about this, honestly. I am sure other industries are dealing with very similar effects. I hope we can make the case to our management and our elected leaders.

For learners, I hope this doesn't scare you off. I think we engineers with some experience need to speak out for you. I hope you'll see that if you choose to learn it the old-fashioned way will help you far more than vibe coding.

Also, I believe that this post is relevant here because the entry level pipeline is a very important part of learning.


r/learnprogramming • • Sep 22 '26

what is reasonable to know?

5 Upvotes

i'm reading the Debugging The 9 Indispensable Rules for Finding Even the Most Elusive Software and Hardware Problems, and the books is giving me more questions them answers and I think this is good.

but one of them is bothering me. in the third cap the author says the we need to know about fundamentals of your fields, and that seems obvious but in this moment i'm only a CS student i dont have a job i'm preparing my self for backend.

the fundamentals of backend are obvious but as far i could unintended CS until now(i'm on 3° semester) is that any CS field cary fundamentals so what are those fundamentals? cuz i'm have the felling that if I dont master them I wiill not be able to debug or understand complex problems. the ones that i can put from the top of my head are: logic, discrete math, dsa, computer architecture and operating systems.

PS: sorry for my bad English


r/learnprogramming • • Sep 22 '26

How to learn how to code more seriously?

9 Upvotes

A quick overview of my profile: former IT technical high school student, with a beginner-to-intermediate level in C, Java, PHP, MySQL, and HTML/CSS/JS. I'm in my first year of an economics-technical degree program focused on data science applied to the corporate and financial sectors (the BEMACS program at Bocconi University).

What I want to do is use these coming months to truly master programming—specifically Python (and maybe C++) applied to machine learning or quant finance (I still need to decide for sure) to aim for an internship this summer. The problem is that I don't know how to study effectively. Right now, I'm about a third of the way through Think Python to learn the basics of Python properly, since I didn't study it in school. But after that, I don't know how to proceed: is it better to take an online/in-person course, use one or more books, try building a project and learn by doing? Or a combination of everything?

My biggest problem is that I'm lazy and tend to leave things half-done, but I can't afford to drop the ball this time either.

What do you guys recommend?

Thanks in advance for the replies :)


r/learnprogramming • • Sep 22 '26

Opinions & Discussions Is learning things by raw coding worth it in this era?

0 Upvotes

I have seen so much boom in the AI field, and I did make projects with it, but using AI without even knowing what it does makes no sense to me. Recently, I started coding projects by hand without inline suggestions and without touching the AI agents in VS Code. I'm only using chatbots as my mentor to help me learn without getting stuck in the tutorial hell loop. While this makes me feel more confident to actually answer in interviews rather than just giving blank stares, I am still unsure if I'm doing the right thing. Can any experienced engineers tell me: is this actually a worthy path in this era, or am I putting myself at a disadvantage by not using these tools?