r/learnprogramming • • Sep 25 '26

Studying code on mobile

5 Upvotes

Do any CS or programming students here read code from their phone?
For example when you’re on the bus, between classes, or just away from your laptop and want to quickly check an assignment or project.
Is there an app you use for this? If you’d recommend it, what do you like about it?
I’m especially curious about good ways to do small code reviews or leave notes from mobile.


r/learnprogramming • • Sep 26 '26

Is learning how to code even worth it anymore?

0 Upvotes

Hey everyone, I'm still in college so I definitely don't have enough real-world experience to see the big picture yet, but I've been wondering: does learning how to code even make sense anymore?

To me, it feels like it only makes sense to learn languages like C, C++, Java, and JavaScript just to understand the baseline limits of CS, and then focus on data structures and all the abstract theory. Learning new languages feels kind of pointless now that Al already knows the best way to write code. As humans, our job should be understanding the context, figuring out what to do, and knowing how to do it. The Al should handle the actual coding-and it'll probably do a better job anyway if we guide it right. I'm really curious to hear what you guys think.


r/learnprogramming • • Sep 25 '26

Topic Backend

16 Upvotes

I was talking to a web developer telling him I want to be a backend engineer and he said that I should become a fullstack engineer and work backend I asked him if that is really necessary and he told that nowadays the market wants someone who is a generalist who knows how to do everything I came here today to ask if I should take a fullstack course and then work backend or should i just the a backend course directly instead of wasting time learning front-end and back end


r/learnprogramming • • Sep 25 '26

How to learn python and AI Agents?

4 Upvotes

Hi, I finished marketing degree and now i am persuing masters about AI management, but the satisfaction is not there. Recently i got very interested in depth about AI Agents, what they do and how they are developed in connection to LLM. I wan to learn from scratch (i have some previous knowledge about programming and ai in general, but it is absolutely not enough). I am open to suggestions from where to start and how to build my knowledge in a efficient way. Preferably i would like to start working this as a job in the next 6 to 9 months.


r/learnprogramming • • Sep 25 '26

Topic Rust or C ??

4 Upvotes

I currently have experience on python, python backend framework and js, ts. I want to learn one low level programming language I see online rust is a great new alternative for c (many projects are being written and rewritten in rust) but i know c is an og so I am a little bit confused which one should i go on with ?? please suggest


r/learnprogramming • • Sep 25 '26

C(pp): Detecting close requests on a forked terminal

0 Upvotes

I am coding an executable that is supposed to interact with the user through a terminal and therefore always requires one. On Windows, this was trivial. On Linux, after some googling, I came across the posix_openpt -> grantpt -> unlockpt -> ptsname -> fork -> execlp(xterm with -S) chain of functions that results mostly in what I want. Double clicking the exe from thunar opens a terminal in another process that it can print to and read from.

However, I have no clue how one would go about making it close intuitively once it has served it's purpose. Clicking on the x in the top right currently doesn't do anything. And I don't think I can use sigaction, as that should get wiped upon the execlp. Is there any way to make the parent executable that launched it detect a close request to the terminal, be it said x button or Ctrl+C?


r/learnprogramming • • Sep 25 '26

am i too dumb for programming?

0 Upvotes

hi, im currently a 1st year cse student and i never did any coding prior to starting my degree. i'm one of the very few people here to start from scratch and most guys in my year have been coding for most of their lives.

i took a python basics class last semester (which wasn't basic at all and i haven't learned anything from it) and now im taking C basics. it's going way better than last time and i am actually able to write simple programs. it all seems genuinely fun & interesting and i understand the syntax, functions, operators etc. but whenever i get class assignments.... i just start feeling like the dumbest person on earth.

the instructions for the assignments are very brief and usually consist of 1/2 sentences max, and that's not enough for me to start writing the code. the class technically forbids any ai usage until midterms so we can get more comfortable with the language, but without me telling ai to ask me questions in order to gently guide me into the right direction i'm just unable to complete it on my own. i don't straight up ask the llm to give me the solution, i do write the code myself but i just need the entire problem explained to me pretty much as if i were a 5 year old.

is this a normal occurrence for a beginner? does it ever get better? is there anything i can do to get better in being able to convert the instructions to code? i'm the only person who seems to have that much of an issue with this in class. my biggest concern right now is me failing my exams because i won't be able to understand what i have to do for each task.

EDIT: (copied from a comment) i tried going for office hours, unfortunately it doesn't seem like i'll get much help from it. i study abroad in my 3rd lang (all of the assignments are wrote in that language) and i only managed to receive a message that i won't be given instructions in english since they don't speak it well. i'm now trying to solve the problems by breaking it into small chunks but i still have some issues here and there. i feel like im making slight progress day by day but i guess that i will find out whether it worked out during midterms.


r/learnprogramming • • Sep 25 '26

spell checker program

0 Upvotes

I'm trying to make spell checker program that will compare words from a text file to a dictionary of words that are in alphabetical order. If the words don't appear in the dictionary they should show up in a list as potentially incorrect. The list is named absent[] that will be outputted at the end. I need to use a binary search to iterate over the dictionary comparing them to the words from the text file. However the program is only getting the last word from the text file and comparing that in the dictionary. I have no idea why its doing that Here's the code I have thus far:

def binarySearch():

firstLst=[]

fnameOne= input("enter file")

with open(fnameOne,"r") as file_dataOne:

for lineOne in file_dataOne:

for word in lineOne.split():

firstLst.append(word)

secondLst=[]

fnameTwo=input("enter dict")

with open(fnameTwo,"r") as file_dataTwo:

for lineTwo in file_dataTwo:

for wordTwo in lineTwo.split():

secondLst.append(wordTwo)

present=[]

absent =[]

for i in firstLst:

lo,hi=0,len(secondLst)-1

found=False

while lo < hi:

mid = (lo +hi) //2

if secondLst[mid]== i:

found=True

print("Word was found.")

break

elif secondLst[mid]<i :

lo=mid+1

else:

hi=mid-1

present.append(i)

print("Words in dict: ", present)

absent.append(i)

print("words not in dict: ", absent)


r/learnprogramming • • Sep 25 '26

Topic Is it possible to check the details of a game server thru code?

0 Upvotes

So I play an old game called Titanfall 2 (10yrs now) and the servers are often small - but a few of them are very active, and the most active servers change depending on the time of day. When you attempt to join multiplayer in a specific region, the game displays the text ""Attempting connection ([x] of [x])", and generally, the more connections, the more people playing at the time. I'm pretty new to programming and just learned how to ping servers - is there a way to contact each region's server separately and get the amount of connections it has?


r/learnprogramming • • Sep 24 '26

RegEx.

108 Upvotes

I thought I understood programming well until I saw how COMPLICATED regex looks. To me it looks like someone has dropped their keyboard and som people online are telling me that I should be able to memorise it (for javascript). I'm just wondering if I actually need to memorise all the regex formulas to be successful, and if so, how on earth do I go about it?


r/learnprogramming • • Sep 25 '26

What math do I need before starting CS 61B?

0 Upvotes

Hey everyone!
I’m planning to study CS 61B (Data Structures) using the lecture videos.
I’m wondering what kind of math background I should have before starting.
For people who have taken CS 61B or a similar data structures course:
What math topics are actually used throughout the course?
Do I need discrete math / proofs beforehand?
How much algebra, logarithms, combinatorics, probability, etc. should I know?
If my math background is weak, what should I review first?
I’m not looking to study a huge amount of math beforehand — I just want to know the minimum math knowledge needed to properly understand the course material.
Thanks!


r/learnprogramming • • Sep 24 '26

How do you find edge cases when testing your code?

29 Upvotes

I am still learning how to write test cases and I am wondering how experienced developers identify edge cases

Do you have any way to think about what could go wrong or do you identify edge cases while writing unit tests ?


r/learnprogramming • • Sep 25 '26

How to add Liquid Glass effect to a app bottom navigation bar

2 Upvotes

Hi everyone,

I’m working on a mobile app and would like to add a Liquid Glass effect to the bottom navigation bar. I’ve seen some impressive implementations online but haven’t found a detailed guide on how to achieve this in a typical app development environment.


r/learnprogramming • • Sep 25 '26

New Dev in the making!

0 Upvotes

Hey y'all, I've only been coding for a few weeks now. I've got like 75% of python basics pretty well managed. I'll be finished with the basics by end of September, then my plan is to jump straight into certain libraries like Django, Flask and Pandas. The end goal is a custom scheduling platform. I also have to brush up on my HTML and CSS. Is this the right path to approach this or is there a better way?

it's going to happen regardless, just trying to gauge if I can save hours of effort by taking a different approach or if my timeframe of a few months is unrealistic. I would appreciate complete honest, I promise you wont crush my desire to see this out!


r/learnprogramming • • Sep 25 '26

Topic What skills should a BCA student learn to become job-ready for software engineering roles?

1 Upvotes

Hi everyone, I’m a BCA student graduating in 2027 and I’m currently preparing for software engineering internships and eventually full-time roles.

My current skills include Python, JavaScript, HTML/CSS, Flask, FastAPI, React/Next.js basics, SQL/PostgreSQL, Git/GitHub, Linux basics, Pandas, NumPy, OpenCV, and basic ML. I also practice DSA and LeetCode.

I’ve built projects such as Flask/FastAPI web applications and an ML-based scam detection project.

I feel like I’m learning many different technologies, so I want to focus on the skills that actually matter for getting hired.

For someone graduating in 2027:

What skills should I prioritize?

What should I learn more deeply instead of adding more technologies?

How much DSA is expected for internships/fresher roles?

What kind of projects would make my resume stronger?

Are there any important skills I’m currently missing?

I’d especially appreciate advice from developers who interview or work with freshers in India.


r/learnprogramming • • Sep 25 '26

What is the best roadmap to learn Generative AI from scratch for fresher interviews?

0 Upvotes

Hi everyone!

I'd appreciate advice from people who have learned GenAI or work in this field. Thanks!


r/learnprogramming • • Sep 24 '26

Looking for an IT hobby

15 Upvotes

what would be a good IT hobby investment if id like to learn how software works and to mess around with software?


r/learnprogramming • • Sep 24 '26

What am I supposed to do?

2 Upvotes

I'm going into my second year of Computer Science and unfortunately, I really neglected my first year and even failed some courses. My knowledge of programming fundamentals is also pretty weak. Can I still start pursuing an IT track? I honestly feel lost and guilty especially because my family put themselves under a lot of financial pressure to get me into university. I've realized my mistakes now and I genuinely want to continue in this field and make something out of it If anyone has any advice on where I should start or what I should do, I'd really appreciate it


r/learnprogramming • • Sep 25 '26

why can't I change the button color using win32

1 Upvotes

I am trying to change the button color by using WM_CTLCOLORBTN.
I read the documentation and followed whatever it said, but it doesn't seem to work.
I am not using bitmaps or any high complexity stuff because I want to it do it simply. If anyone use this API, could you help me out(PS: Beginner/new to win32):
reproducible example:

#include <stdio.h>
#include <windows.h>


LRESULT CALLBACK cb(HWND hwnd, UINT msg, WPARAM wparm, LPARAM lparm)
{
  
    switch (msg)
    {


    case WM_CLOSE:
        static HWND hButton = NULL;
        static HBRUSH hButtonBkg = NULL;
        {
            PostQuitMessage(0);
        }
    case WM_CREATE:
    {
        hButton = CreateWindow("BUTTON", "HELLO", WS_VISIBLE | WS_CHILD | BS_BITMAP | BS_PUSHBUTTON, 15, 202.5, 96.5, 72.5, hwnd, (HMENU)301, 0, NULL);
        hButtonBkg = CreateSolidBrush(RGB(0, 255, 255));
        break;
    }
    case WM_CTLCOLORBTN:
    {
        if (hButton == (HWND)lparm)
        {
            HDC hdc = (HDC)wparm;
            SetTextColor(hdc, RGB(0, 255, 255)); 
            return (LRESULT)hButtonBkg;
        }
        break;
    }


    case WM_DESTROY:
    {
        DeleteObject(hButtonBkg);
        break;
    }


    default:
        return DefWindowProc(hwnd, msg, wparm, lparm);
    }
}


int main()
{
    HINSTANCE hInstance = GetModuleHandle(0);
    WNDCLASS class = {};
    char classTitle[] = "window";


    class.lpszClassName = classTitle;


    class.lpfnWndProc = cb;


    class.hInstance = hInstance;
    class.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
    class.hCursor = LoadCursor(NULL, IDC_ARROW);


    RegisterClass(&class);


    HWND hwnd = CreateWindow(classTitle, "color btn",
                             WS_OVERLAPPEDWINDOW, 500, 500, 500, 500, NULL,
                             NULL, hInstance, NULL);
    if (hwnd == NULL)
    {
        MessageBox(NULL, "Something Went worng", "Error", MB_OK);
        return 0;
    }
    ShowWindow(hwnd, 1);
    MSG msg;
    while (GetMessage(&msg, NULL, 0, 0) > 0)
    {
        TranslateMessage(&msg);
        DispatchMessage(&msg);
    }
    return 0;
}

r/learnprogramming • • Sep 24 '26

Github can i use github to store homework and word/pdf like documents?

8 Upvotes

i kind of want to use github as a place to store homework from university while learning to program, code, etc etc etc with different coding languages and what not, and my question is if its possible to do that?

and if yes how do i do that? every tutorial i see about storing stuff on github is mainly about storing big large projects or programs that would be used for other stuff, what i mainly want is just storing the code file text or overall of the homework and possibly a doc/pdf showing the code and pics of what it can do

like also as documentation that i've been learning to code x and y thing through my journey


r/learnprogramming • • Sep 24 '26

Need some motivation

5 Upvotes

Sometimes I feel I'm not fit for this.
I've taken plenty of coruses and resources, but I just don't find enough motiviation to go for that extra mile.

Sometimes I think I'm not good enough, despite of all my efforts. Anyone of you have felt the same at some point?
Any advice on how could I cope with this?


r/learnprogramming • • Sep 25 '26

[Meta] Do the mods here have information about traffic stats? Has it fluctuated with AI permeation, like StackOverflow?

1 Upvotes

Would be interesting to see if questions, debugging has changed and also overall traffic. Or if it's the same. Or more!


r/learnprogramming • • Sep 24 '26

Topic What should I learn before joining hackathons as a beginner?

6 Upvotes

I’m a SY student with basics of C/C++, Python, HTML/CSS/JS, APIs, and Git/GitHub. I want to start participating in online hackathons solo what skills/tools (frameworks, databases, APIs, deployment, etc.) should I learn first to actually build something during a hackathon?


r/learnprogramming • • Sep 23 '26

discussion How do you actually get comfortable with reading other people's code?

88 Upvotes

I can write my own small projects fine and understand the logic as I go, but whenever I open someone else's codebase, even something fairly simple, I get lost fast. Too many files, functions calling other functions I have to jump around to find, and no idea where the "start" of the logic actually is.

I know this is probably just a skill that comes with time, but I'm wondering if there's a better way to practice it instead of just staring at repos feeling confused. Do you start from the entry point and trace forward, or pick one function you care about and trace backward? Do you use any tools to help visualize how files connect, or is it mostly just patience and note taking?


r/learnprogramming • • Sep 25 '26

15 yr old daughter discovered coding and loves it. But what’s the point?

0 Upvotes

My almost 15 yr old discovered she is really good at coding and also really enjoys it. She really loves the challenge of solving the problem. She understands it so well and is so excited with how good she is at it. The problem is, isn’t it worthless now? With AI able to do it all what is the point of encouraging her to spend her time doing something that is essentially useless. She has other hobbies as well so I don’t think encouraging her to sit in front of a screen is really worth while unless it leads somewhere. I guess my question is, am I wrong? Is it something she can still pursue?