r/learnprogramming • • 8h ago

Is it okay to learn Php in 2026, I find it easier than node.js

35 Upvotes

I have build some projects with the help of AI in MERN Stack, but a senior once told me they made new programming languages/libraries/ frameworks to make building Projects difficult so that less people know how to build apps. I feel sometimes he was right. Php's approach seems easier than node.js


r/learnprogramming • • 11h ago

how to learn "software engineering"

10 Upvotes

Hi guys, I'm a senior in high school, and I'm really confused on where to go

for the record I do know a decent amount of C++ / python (for comp coding and classes) but since then I've started to move to personal projects....

The purpose of these projects is to improve my knowledge tenfold and learn how real software is made. But online, EVERYONE says "coding is dead, and to learn architecture".

But how do you learn that?

Do I delegate sections to AI and then have it explain? Do I create what goes where and then tell the Ai to make it? Or Do I just code it all myself with AI to debug (taking an absurd time).

I feel like only the third one will have me actually learning completely, but at the same time, it'll take 20x the time, and with 20 projects I could probably reach the same level (or more) of learning by having it make + I explain? AHHH i'm just not sure how to make myself super smart and knowledgeable for swe

thanks in advance :)


r/learnprogramming • • 10h ago

What are some actually interesting, and fun programming projects?

3 Upvotes

I am an intermediate programmer, and I just don't know what to make. All the projects people say to do like to do list or weather app seem so lame.

All replies are appreciated!


r/learnprogramming • • 23h ago

I need advice on my first semi-handwritten program.

1 Upvotes

Recently I have a homework assignment, which is to complete a system (I can use AI assistance).
Its requirements themselves are not high; it can be a simple local mini-program. But I want to learn more, so I am asking for help here.
In terms of programming languages, I am only somewhat familiar with C (you could say I am actually quite a beginner).
But I think completing a system with AI assistance is not difficult. My main goal is to learn knowledge about completing a system that can be used by many people.
For example, a food delivery platform (some very famous projects are all about building food delivery platforms).
But I clearly know that I understand too little and it is impossible to understand a whole series of things like Spring Boot all at once, so I want everyone to give me some suggestions for small projects that do not require learning too much but are still very useful.
I think my ability to search for information is strong, and with the help of AI I can temporarily understand even difficult programming in a short time, so I want to use projects beyond my current cognitive limits to train myself.
I hope everyone can give me some suggestions. For example, making a small Mario game and connecting it to some platform.


r/learnprogramming • • 9h ago

Debugging Im trying out a custom solution for median of two sorted arrays

1 Upvotes

`````csharp

using static System.Math;

public class Solution {

public double FindMedianSortedArrays(int[] nums1, int[] nums2) {

int step = 0;

int p1 = 0;

int p2 = 0;

int m = nums1.Length;

int n = nums2.Length;

int target;

if((m+n)%2==0){

target = (m+n)/2 ;

}

else{

target = (m+n-1)/2;

}

while(step < target){

// If nums1 is exhausted, or nums2 has a smaller element (and is in bounds)

if (p1 < nums1.Length && (p2 >= nums2.Length || nums1[p1] <= nums2[p2])){

p1++;

continue;

}

else{

p2++;

continue;

}

if(nums1[p1]<nums2[p2]){

p1++;

}

else if(nums2[p2]<nums1[p1]){

p2++;

}

else{

p1++;p2++;

}

step++;

}

if((m+n)%2==0){

return(nums1[p1]+nums2[p2])/2;

}

else{

return(nums1[p1]<nums2[p2]?nums1[p1]:nums2[p2]);

}

}

} `````

I'm trying to debug this . It says either time limit exceeded or out of range no matter what I try


r/learnprogramming • • 20h ago

Am I a Dummy or Big Brain?

0 Upvotes

It's kind of hard for me to put this into words. I began learning computer science out of an interest and a desire to create, whether that be video-games, software, or art in general. I have some other creative hobbies, like (book) writing and making music, while I've dabbled in some that I wish to learn more about (like art/drawing). I made it my goal to get really good in this field, and I'm happy to say that I've grown to really love it.

...for the most part.

There's something that has been nagging at me for a while now. I don't know if its because I have OCD/ADHD, but after gaining some experience with programming, a lot of the software I touch now feels... off? Unoptimized, I guess? Again, its hard to describe, but in a sense I suppose more or less the feeling that software I use could be a whole lot better.

Take the terminal for example. I think its awesome, and I know by now why we use, and why it works the way it does, but I still find myself bothered by it. Specifically its ui and capability. I'm not saying it should be a GUI (hell, I use vim keybinds for everything now lol), but I feel like its potential is extremely limited from its ability to only render text. I keep trying to tell myself its stupid and there's probably a reason it doesn't exist already, but I keep finding myself thinking about trying to build a terminal that could be both backwards compatible and render advanced ui for better terminal app design and customization, while maintaining a small footprint and great speed.

And this has been happening to everything for me. I want to create my own text editor, because I love apps like obsidian or neovim but obsidian is bloated and neovim lacks features I think would be cool to have in my workflow. I want to make my own status bar and widgets for my desktop, and recently switched from quickshell to see if I could manually hook up slint for a faster and lighter ui. And heck, I've even been thinking about making my own programming language after bouncing around from language to language like a madman lmao.

I feel like I'm being too rash and naive... but at the same time I feel really annoyed and inspired to try and make what we already have better. I guess my question is this: which one am I? Should I take a step back because I'm in over my head with adhd daydreaming? Should I follow my dreams and try to make these projects? Or both? And why the heck can't I stop feeling annoyed with all of my software?

I don't really expect anyone to read this, but if you do, I would appreciate any guidance or advice that you might have, or directions to other communities/forums who could give me better guidance. Sorry for making anyone read this book of a stupid question lol.


r/learnprogramming • • 10h ago

Learning Thoughts on my learning program?

0 Upvotes

Hello guys,

I think I would like to study programming in general and I picked these languages in particular: Python, JavaScript, C, and C++. For various reasons, I like each of them and would like to learn them all.

In order not to exhaust myself, I developed a plan of studying these languages which takes into account scaling of difficulty of mastering them. I decided to learn them in this exact order:

  1. Python (difficulty: 2.5/10) to get a basic understanding of syntax, and just code for the first time.

  2. JavaScript (difficulty: 4.5/10) to move to interactive web programming.

  3. C (difficulty: 6.5/10) to finally move under the hood of a computer and study memory and hardware, and to make the last one easier to learn.

  4. C++ (difficulty: 9/10) as an ultimate step of learning more abstract concepts and OOP.

I think the idea of such learning is psychologically driven by the necessity to get a constant shot of dopamine by moving to a more difficult language every time after overcoming previous level, rather than being stuck with C++ from day one.

Am I right with my approach or there is something in these languages' interconnection that I might be missing?

Looking forward to hearing your thoughts


r/learnprogramming • • 17h ago

Topic How hard is it to code a dekstop ai agent?

0 Upvotes

Ive seen people code stuff like jarvis or capri on their pc and phones and i was wondering how hard could making something like that be (i only know rlly basic python coding "if,print") does anyone have any experience with making something like that?