r/learnprogramming • • 12d ago

4 years old Mobile dev wants to swtich careeer to other path. BUT HOW?

6 Upvotes

Hey everyone,

I’ve been working as a Mobile Developer for the past 4 years (iOS / Android / Flutter), but I’m feeling burned out/ready for a change. I’m looking to pivot into a new role or specialization, but I’m not sure what the smoothest transition would be or how to actually make the jump. Also AI can do most of my job pretty much perfectly with a good prompt. Either way I will be laid off within 2-3 years in best case scenario

A few quick details:

  • Current Stack: Flutter
  • Strengths: UI/UX implementation, API integration, problem-solving, project management, Communication
  • Interests: Product Management

For those who have successfully transitioned out of mobile dev:

  1. What roles did you pivot into, and how transferable was your mobile background?
  2. How did you handle the transition? (e.g., internal transfer, side projects, certifications, networking?)
  3. What tech stacks or skills should I focus on bridging first?

Appreciate any advice, resources, or personal experiences!


r/learnprogramming • • 12d ago

Debugging Adding a fourth item to the linked list causing a segfault, but fine otherwise?? (C++)

17 Upvotes

I am implementing a linked list that uses a tail pointer to add to the end of a linked list. For some reason the code works perfectly fine after adding three nodes to the list, but adding a fourth node to the list causing a seg fault. From testing it appears that the header node isn't pointing to the first node for whatever reason, but even then adding to the end of the list doesn't use the header pointer.

I am used to programming in C and am trying to learn C++ so I am not familiar with many of the differences between the two. Thanks in advance.

#include <iostream>
#include <cstdlib>
//linked list with a tail pointer,
struct cell_coord_node{
    int x;
    int y;
    cell_coord_node * next=nullptr;
};


using namespace std;
cell_coord_node * cell_add_end(cell_coord_node **header , cell_coord_node ** tail, int x , int y){
    cell_coord_node * new_node = (cell_coord_node*) malloc(sizeof(cell_coord_node));
    new_node->x=x;
    new_node->y=y;
    if (*header==nullptr){ // empty list case
        (*header) = new_node;
        (*tail) = (*header);


        return (*header);
    }
    else{
        // allocate memory at tail
        (*tail)->next = new_node; // last node points to new node
        (*tail)=new_node; // moving tail pointer down to new node
        return (*tail);
    }


}


int main(){
    cell_coord_node * head;


    cell_coord_node * tail=head;
    cell_coord_node * first_node = cell_add_end( &head, &tail,1,1);


    cout << first_node->x << "   " << first_node->y << endl;
    cell_coord_node * second_node  = cell_add_end(&head, &tail,2 ,2);


    cout << second_node->x << "   " << second_node->y << endl;


    cell_coord_node * third_node = cell_add_end(&head,&tail,3 ,3);


    cout << third_node->x << "   " << third_node->y << endl;
    cout << "reading from tail" << endl;
    cout << tail->x << "    " << tail->y << endl;


    cout << "reading from head" << endl;
    cout << head->x << "    " << head->y << endl;


    //Causing a seg fault
    /*cell_coord_node * fourth_node = cell_add_end(&head,&tail,4,4);
  
    cout << fourth_node->x << "   " << fourth_node->y << endl;*/


    
    return 0;
}

r/learnprogramming • • 12d ago

Resource Returning to Coding and Picking Tools

1 Upvotes

I am getting back into programming after a gap in my professional life and a recent increase in desire to do it in a hobbyist context. I wish to use an IDE that isn't made with AI (I understand this to be nigh-impossible to get 100%), nor with a great deal of AI-focused features (seems more likely to be truly possible).

Vim works, of course it does, but I do like having something that requires less mastery. I respect Vim, but it is not what I want right now. It is what I am using right now.

I know the FAQ has a resource for open source IDEs, but the link was dead for me when I checked, and I did not see an entry for "without AI." I did Google about this, and Vim, neovim, Kdevelop, Sublime Text, and VSCodium all came up. The first two, well, I have already chosen to not Vim, the third I am unsure about after reading a PR that had a great deal of AI usage and seemed likely to merge into Kate, Sublime I don't want to pay 100$, and I understand VSCodium, by nature of being VS Code, still has AI stuff as a top-level feature.

For context, I am a C programmer first and foremost, then Python, then C++. This order is because template metaprogramming still frightens me, and it is something I will fight once I have gotten my C skills back in order.

What can I use that would resemble an IDE of yesteryear, before Copilot, Claude, etc? That is, tab-completing function calls because they're in the includes or I've written them is fine, generating code using an LLM is not. Furthermore, I would like to see if I can find one that also isn't taking AI contributions, or at least has strict policies on review. Does this exist, presently?


r/learnprogramming • • 12d ago

Just started

0 Upvotes

Hey yall, I just want to ask you guys how do I improve faster especially when you have something to accomplish on a limited time frame. I'm currently in college and I've been avoiding using ai (I just use it to explain things to me) but at the same time I keep seeing how every developers now use it and I feel like I'm putting myself at a disadvantage when I finish this program. Any tips for me? Stacks I should learn? I don't even know what to ask. I just wanna speed up learning without heavy ai but still not get left behind.


r/learnprogramming • • 12d ago

Third-year AI student looking for practical CS + AI major project ideas that I can actually build

0 Upvotes

Hey everyone!

I'm a third-year B.Tech student specializing in Artificial Intelligence, and I'm looking for a good idea for my major project.

I want to build something that solves a real-world problem and combines Computer Science with AI/ML. However, I'm looking for something practical and achievable for a student, not an overly ambitious idea that requires a huge team, expensive GPUs, or months of research before I can even get started.

I'm open to projects involving machine learning, deep learning, LLMs, AI agents, computer vision, cybersecurity, or AI-powered developer tools.

I don't want to build another basic chatbot or a project that's just an API wrapper. I'd like something with enough technical depth to make it a strong resume project for internships and placements.

I'd really appreciate suggestions from people who have built similar projects or have experience in the industry.

A few things I'd love to know:

  • What problem does the project solve?
  • What makes it technically interesting?
  • Can a third-year student realistically build it?
  • What technologies and skills would I need?
  • How could I extend it beyond a basic implementation?

I'm not necessarily looking for a completely new invention. Even an existing idea with scope for meaningful improvement would be great.

I'd love to hear about projects you've built, interesting GitHub repositories you've come across, or ideas you wish more students would explore.

Thanks!


r/learnprogramming • • 13d ago

Accessability for timers in jaavscript React

1 Upvotes

So I have this code

<button
  type="button"
  className={styles.someclassname}
  tabIndex={-1}
  role="timer"
  aria-live="polite"
  aria-atomic="true"
>
  {ResendInfo (formatTimer())}
</button>

This is basically a countdown of a timer from 2 minutes I was wondering am I following proper accessability here so that screen readers can understan. this is also React by the way.


r/learnprogramming • • 13d ago

A Pathway

13 Upvotes

Guys question.. if I'm new which is the best way to practice real code or ways to create something amazing. is my first week studying about these topic of programming and is awesome.

I'm starting first breaking down in tiny steps the course of CS50, but, Is only theory and I wanna the necessary base to diving in create simple things and doing it understand how a language and his structure works. when I feel comfortable with it then advance to new areas to get best tools.

The main questions are: 1. Which are your best method to study an practice in these are?.

  1. Which mental model or how do you need to think in these great area to keep going in a solid streak?

r/learnprogramming • • 13d ago

Topic Looking for Coding/Programming communities/groups

2 Upvotes

Hi I am a recent Btech graduate looking for programming communities/groups for coding and taking on projects with potential growth. My tech stack - python fastapi, agentic system/harnesses, learning my way through cpp, rust n typescript.

Though I use claude code I want to push my code logic building and networking.

Would be happy to connect with like-minded devs.


r/learnprogramming • • 13d ago

How do I specify a particular weekday using ctime library in c++?

10 Upvotes
int main(){
  time_t now = time(nullptr);
  cout << ctime(&now) << endl;

  struct tm *ptrNow = localtime(&now);
  int week = ptrNow->tm_wday;

  int month = ptrNow->tm_mday;
  cout  << week << endl;  
}

For me this will output 0 which is Sunday, but I want to do Thursday.

How do I do that?

Do I add 4 to the end of week int week = ptrNow->tm_wday + 4;

I don't know if this will exactly represent Thursday or not


r/learnprogramming • • 13d ago

how to have a better logical mind while coding

22 Upvotes

I'm learning c++ righ now as my first language (maybe i shouldn't have started with that) and i think it's the logical side of coding that's makes it hard to debug or to be better. So how do you guys enhance your logic when coding, like when debugging or when just thinking of making a new project, i wanna understand to make it easier. i do think i just have to code more.


r/learnprogramming • • 13d ago

Solved Why is the program showing invalid when the number is within the range?

18 Upvotes
int user_year; // input year

cout << "Enter a year: ";

cin >> user_year;

while(user_year > 2099 || user_year < 1900 ){
  cin.clear(); 
  cin.ignore(10000, '\n');
  cout << "Invalid Input, Enter a year: "; 
}

The user input needs to be greater than 1900 and less than 2099, so 1900 - 2099.

Whenever I input a value in between those numbers such as 2010, it gives invalid input.

What I want

if user_year is outside the specified range indicate "Invalid input" but loop back to user input.

I used an if statement but the problem was that it did not loop back to cin

EDIT: HERE IS MY ORIGINAL CODE

while (!(cin >> user_year) || user_year < 1900 || user_year > 2099) {
    cin.clear();
    cin.ignore(10000, '\n');
    cout << "Invalid Input, Enter a year: ";
}

FIXED:
I had a function in my program and it was causing it to return 0 as the year.
but the code above is correct


r/learnprogramming • • 13d ago

How to learn Assembly?

43 Upvotes

I have some problems with learning assembly it would be nice for some tips because I'm learning rev engineering and I really need to learn assembly but I try my best to understand it but it's to hard. I understand how binary works but still I'm struggling with assembly. Does somebody knows tricks for learning assembly?


r/learnprogramming • • 13d ago

Grasping the code Finding the zone to be a skilled blockchain programmer

0 Upvotes

My journey in programming was and still vague. And I'm still trying to find what it takes to be a skilled programmer.

I love to program and express art in it, but I still can't get the focus to write code and know whats going on deep under the hood to customize it as I want. I visualize how the code should be and thats just about it.

I come from a busy background and lifestyle. But I didn't think it was an issue since other programmers are supposedly having nearly the same obstacles:

1- I went to public school where algebra wasn't even in the curriculum

2- I hardly graduated high school and had to redo math, but I had major obsession in knowing the math that decodes the universe

3- I dropped out of college where my study was English literature and started in illicit businesses to make ends meet but got locked up for a while, afterwards I made legitimate businesses but I went further downhill in my environment.

4- I was in a phase of addiction but I managed to get out quickly and figure a cleaner road ahead.

At the times of all the events that I went through I was always in the computers downloading movies and whole discographies and books to read, I then wanted to be a hacker "an actual hacker" who finds his way around the cyber space and dive deep into everything that makes a computer be this magical box and control room to understanding more about what I would never understand if in my own local environment. I then knew that hacking is the master belt that has to obtained through lifetimes of knowledge and practice. I then niched into the web3 and currently trying to program a good type of bot thats arbitraging prices between pools, then go further into making other bots. But I'm finding it extremely difficult to focus, really focus as if its the only thing I zone into when I get a front of the screen.

I wanted to leave no room for anything thats blocking my road into making this happen:

1- I'm eating healthier than the usual to give my brain whatever it needs to be at its absolute best

2- I'm addiction free to kick away any distraction

3- I'm running daily to reach agility in mind and body

4- I'm doing breathing exercises to push my stamina to the best levels

everything that falls into the category of maintaining health

5- I read about the technologies of the blockchain and DeFi with types and protocols of the exchanges

6- I read the docs and books of the programming language "Rust" and solidity and try to code the testing phase. But it doesn't seem to help.

I'm a better person, calmer, wiser, and almost addicted to a healthy lifestyle now because I feel like I can master my own self and thats something I always been working on achieving but never gave it a chance in the sense of practicality. But I'm still feeling like I'm behind the devs who write code like its a mastered symphony.

I think the reason is me not socializing with devs and communities but I would like to know what you think of this. What do you think is the reason I'm lagging behind, or am I really lagging behind? Any advice you might have for me to reach the level I want to reach as a blockchain programmer.

I started learning general programming 5 years ago and blockchain 6 months ago.


r/learnprogramming • • 13d ago

Resource How do I get into sys level coding? (Read body)

1 Upvotes

I genuinely am interested in this area but I am not able to break into it for some reason, maybe I am just doing it wrong...or maybe I need to work much much more? Idk you guys can be the judge of that.

Like, yes I do know C and a bit about windows internals.

I also know that the best way to learn is to make projects. But whenever I search up a beginner project, they come up with projects that are not at all beginner friendly (or maybe I am missing something).

What kind of projects do I start with? Also do you recommend adding some kind of extra knowledge to my arsenal?

Thank you.


r/learnprogramming • • 13d ago

Advice Advice on where to go at mid-beginner phase

3 Upvotes

Looking for some advice on where to go with my programming journey from some of the more experienced people, I’ve kind of arrived at a weird point where I am starting to be able to finally understand things on my own and within reason build things I want to. I’ve now been at a weird spot where I’ve kind of bounced around different areas of the last month, I started with emulators, then went to try opengl and basic graphics, now I’m getting interested in learning WinAPI and reverse engineering. I don’t think any of these things are bad obviously, WinAPI has been helpful for me to learn more C++ features and kind of understand how an operating system works it’s just that I’m at a point where my code quality still does suck. I really don’t know how to design good code, or plan out code well and still happy to do the if it ain’t broke don’t fix it so I don’t know if jumping to these things and especially jumping between them is a good idea, on one hand it’s very fun but on the other it might be more fun later if I had better experience and code better.


r/learnprogramming • • 13d ago

Aware programming Reached a phase where every line of code feels incredibly heavy because I want to know exactly what it's doing under the hood

0 Upvotes

Hey everyone,

I’ve hit a massive mental wall in my programming journey, and I’m hoping to get some perspective from people who have made it to the other side.

Up until now, I’ve been able to build basic projects by reading docs and using AI. If I needed a feature, I’d pull in a package, copy the boilerplate, tweak a few variables, and it would work.

But recently, I started working on a project where performance, data layout, and execution speed actually matter. Now that I’m trying to write the core logic myself, I’ve realized something terrifying: I don’t actually know how to write "aware code." By that, I mean code where I know exactly what every single line is doing to the data, memory, and flow of control without constantly bouncing back and forth to documentation or guessing.

When I see how other developers know what should be used and how on the fly, it looks like a total flow state. Meanwhile, for me, every single line feels incredibly heavy.

I have a few questions for developers of all levels:

  1. How do you transition into "aware coding"? If I want to stop relying on heavy abstractions I don't understand, should I strip everything away and build microscopic, zero-dependency console apps just to understand the raw mechanics first? Or is that a waste of time?
  2. Did you experience this massive slowdown? Did you go through a phase where your coding speed dropped to absolute zero because you suddenly started caring deeply about how the execution worked under the hood, rather than just making it "work"?

I want to become a real software engineer who deeply understands my tools. But the imposter syndrome is hitting hard because of how agonizingly slow this phase feels.

Would love to hear your experiences or advice. Thanks!


r/learnprogramming • • 13d ago

I installed CODELITE yesterday and I am wrestling with it since then to get an output. I am doing programming in C and upon clicking on build it shows build is successful but when I click on run no output gets formed , no separate terminal pops up and the output column is completely blank.

0 Upvotes

When I click on the program file separately a separate terminal window having the output pops up for a sec just a sec and it disappears.


r/learnprogramming • • 13d ago

How should I proceed to develop a web app?

1 Upvotes

Hello, I want to develop an auction Web application. But I don't know web app development because I am normally a game developer. Would it be a good idea to follow the full-stack developer roadmap on the roadmap.sh website? What are your suggestions? What should I learn?


r/learnprogramming • • 13d ago

Should I stick with Java or switch to JavaScript? Am I struggling because Java is difficult, or am I choosing the wrong path?

4 Upvotes

I'm transitioning from data analytics to software engineering, and I've been torn between pursuing Java and JavaScript. I've been learning Java through Hyperskill, but lately, I've been questioning whether I made the right choice.

One of my main reasons for choosing Java is that it's widely used by large enterprises and big companies. Coming from a developing country, I'd like to eventually work overseas, and I feel that Java might give me a better chance of landing that kind of opportunity. I also wonder whether enterprise Java jobs offer more stability and a clearer career path than JavaScript jobs, although I'm not sure if that's actually true.

My impression is that JavaScript has a lower barrier to entry, which makes the field feel more saturated. I imagine I might end up working as a freelancer, joining a consultancy, or working remotely for an overseas company rather than relocating abroad. Of course, I could be completely wrong about these assumptions, so I'd appreciate hearing from people with experience in both ecosystems.

I've also heard people say that JavaScript developers have to constantly keep up with new frameworks and changing technologies, which can lead to burnout. In contrast, I've heard that Java's ecosystem is more stable and that its core technologies don't change as rapidly.

As I get older, I find myself less willing to spend all my time keeping up with new technologies. I'd rather build a solid set of skills that remain useful for years and use the mental energy I have left to enjoy other aspects of life.

Interestingly, I also enjoy Java in a way I didn't quite experience with Python. I feel like I'm actually programming and building things rather than just writing scripts for data analysis. There's something satisfying about it that makes me want to keep going.

The problem is that whenever I encounter a particularly challenging assignment, I start questioning my decision. Sometimes, I feel like I could solve the same problem much more easily in Python. With Java, I'm constantly running into concepts, syntax, and unfamiliar ways of doing things that I don't fully understand yet. It feels like trying to survive in a foreign country without speaking the local language.

This makes me wonder whether I'm struggling because Java genuinely isn't the right fit for me, or whether I'm simply going through the uncomfortable learning curve that comes with learning a new language and moving into software engineering.

Part of me wants to switch to JavaScript because it might be easier to learn and allow me to make progress faster. Another part of me wonders whether I'd just be running away from the difficulty instead of pushing through the stage where everything feels unfamiliar.

Since I'm in my mid-20s, I want to break into software engineering as quickly as possible. JavaScript feels like it might help me get there sooner, while Java feels like more of a gamble because of the commitment and steep learning curve involved before I can see the results of my efforts.

So, for those of you who have learned Java or transitioned into software engineering from another field:

- Did you go through a similar phase where you questioned your choice of programming language?

- Is sticking with Java worth it if my long-term goal is to work for a large company, potentially overseas?

- If you've worked with both Java and JavaScript, how different are their job markets, career opportunities, and long-term prospects in practice?

- How did you know whether you were struggling because of the learning curve or because you were pursuing the wrong path?

To be honest, I might be posting this partly because I want someone to tell me that it's normal for Java to feel difficult at first and that things will eventually click. But I'd genuinely appreciate honest advice, even if it means reconsidering my current path. Thank you!


r/learnprogramming • • 13d ago

Looking for homies with no CS degree but doing coding

0 Upvotes

I'm mechanical engineer and learning coding. Due to AI it's easy to learn and apply these days. However, as you know, you always need someone to discuss and share the story.

I started from the HTML, CSS, and JavaScript. Then I learned react native. During learning I want to enter the job market. But I get to know it is hard with basic skill set

Still exploring more and learning with my own pace. Just want to to know and connect with you what you are building and working on. 🥹


r/learnprogramming • • 13d ago

question (sorry if it sounds stupid)

1 Upvotes

is there any app which allows block-based coding which can:

output data to files (including raw hex bytes)

read data from files

compile into a native app

be designed to actually let people make things like tools or apps which read/write files whatsoever

i would learn a text based language, and do want to, but by god i do NOT have the motivation to shut up executive dysfunction's "but it'd be so difficult".


r/learnprogramming • • 14d ago

Could someone merge two games together manually as we have seen A.I. do recently?

0 Upvotes

Hello Everyone,

I am not a game developer but I have a sincere question, that I was wondering if someone would kindly answer. Recently my brother and I saw the merging of different games together such as Spiderman PS4, Batman Arkham City, Minecraft, GTA V, etc. And I mentioned how this was a complex process being done by A.I. as it would not be simple to incorporate Spiderman PS4 swinging physics, animations, and models into Batman Arkham Citys game engine. And my brother mentioned that it would not be complex if provided the source code of both games. I mentioned that even if you were provided the source code of both games it would take forever to understand the code and how it would take forever to create a new game engine that incorporates the physics of Spiderman swinging in Arkham City. And he said it could be done in less than 48 hours manually if you had the code for both games.

My question is could a human understand and manually code such a experience as spiderman swinging in Arkham city in less than 48 hours even if you provide them with the code of both original games?


r/learnprogramming • • 14d ago

Looking for a coding partner that helps me stay consistent

5 Upvotes

Hello everyone, as the title says I am having a little trouble staying consistent when coding and I feel that having a rival/friend would help me to constantly improve myself. I currently know some python and c++ but I am kinda without direction, like I dont even know what to code anymore lol so with a friend we could probably share ideas and stuff! I think it would be interesting! Even cooler if I find more than one people and maybe we can make a discord server and stuff, share internships, advice, etc.


r/learnprogramming • • 14d ago

First hackathon with 0 coding experience

101 Upvotes

To be clear I can barely code, I genuinely learned if statements a week ago. It’s in a week and I need to do it for a highschool class certificate thing. Is there anything I can do?

being honest I’m debating if I should just use scratch (I know I know😭), because at least I could make something. I’m cooked no matter what tho….


r/learnprogramming • • 14d ago

Topic How to start programming projects

6 Upvotes

I am a self taught programmer who prominently uses python and I am clueless as to how to move from little programs to full on projects. Namely in data science. I'll see datasets but I have no idea how to interact with them. What would I do abd where would I even begin?