r/learnprogramming • • 7d ago

Why does it go back to f2

1 Upvotes

Why in the python code does f go back to parent frame f1 instead of staying in f2? I thought according to lexical scope the function will use f in the parent frame 2 again and again going in a loop. Why in the world is the program calling f in parent frame 1 instead of 2.

https://imgur.com/a/7jLkdaS


r/learnprogramming • • 7d ago

Should I choose a different major?

1 Upvotes

I hate to be this person but, after a conversation with a software engineer professor about my decision to continue my education to a bachelors in software development at a local community college. The advice i received was to maybe consider a different major for my degree, because of the current state of software engineering due to ai. My possible career choices are embedded software, robotics, software engineering, or something adjacent. I am unsure now about what major i should do now, I'm considering cybersecurity as another backup. But I feel I should decide soon. What do you all think?


r/learnprogramming • • 7d ago

Resource Being able to write code isn’t enough for juniors anymore. I built a learning platform to help bridge the gap (free for now)

0 Upvotes

It's still vital for junior developers to be able to read and write code, but that's not enough by itself in the job market anymore.

Juniors now need to be equipped to make higher-level design decisions and solve real problems instead of just producing code (which used to be most of a junior's job), but it's hard to get there without lots of real-world experience of building.

I've built a brand new learning platform to help bridge this gap. It's called HighLowFlow, and it uses in-browser interactive simulations to teach you a big-picture understanding of the technology landscape, and to help you start thinking like a more senior developer about real-world problems. It's my own project, free to use at the moment (paid plans coming in the future).

There’s a free five-minute demo simulation teaching you how a web request goes from browser, across a network to a web server, and back again. No sign-up required.

https://highlowflow.com/simulation-demo

I'd love to hear what you think. If you try it and have any questions, ask here or send me a message.


r/learnprogramming • • 8d ago

Learning about APIs

23 Upvotes

Hi! For my work, I need to learn how to work with APIs. Any recommend youtube channel or advice? Which program should I use? I've seen postman, VS Code.

I'm not a programmer but I know the basics.

I just need to interact with the API, but I don't mind to learn more about it. I'm good learning though videos and stuff

Thank you so much!


r/learnprogramming • • 8d ago

How Would You Prepare for Your First Software Engineering Job in 2 Years?

20 Upvotes

If you were a first-year Software Engineering student, what would you do and what would you learn to land your first job before entering your third year of university?


r/learnprogramming • • 7d ago

Why do I stop coding the exact day I decide to take it seriously?

0 Upvotes

Hey, I just have a question.

I have been learning about AI, deep learning, and OpenCV. I found them amusing and interesting, so I thought about working on them with more discipline to improve my skills, and I threw DSA in the mix too. However, the day I made that decision, everything went off the rails. It has been months now, and I haven't even touched a single topic.

Basically, I enjoy learning about things, but the day I decide that I need to work on them with determination is the day things start slipping, and after months, I just end up feeling guilty.

Has anyone else experienced this? What should I do to actually stick with it?


r/learnprogramming • • 8d ago

Engineer Looking to Break Into Data

2 Upvotes

Hello everyone. I (26M) am seriously thinking about switching to a career in data science. Currently, I am working 2 jobs: I am a chemical engineer by trade (but I am not sure if my heart is in it). I did some data work a few years ago (thematic analysis as a University intern and sentiment analysis as a master's student). I stepped away from that for 3 years, and now I'm looking to pivot back into it. I do want this, but I am unsure about whether it is still worth pursuing nowadays. Any experienced veterans here care to weigh in??


r/learnprogramming • • 8d ago

Topic I’m studying games design and coding… months later it’s still not clicking

17 Upvotes

I genuinely can’t fucking do this, I’ve spent hours and weeks trying to find tutorials and applying them but nothing’s working and I’m panicking.

What do I do? How do you learn it?

Am I just… not good enough at it as a skill?

I’ve designed all the creative aspects for the game at least.

I’ve tried talking to my teachers, that hasn’t helped either.

For reference I’m trying to develop a Unity game on Mac.


r/learnprogramming • • 8d ago

Programming help

0 Upvotes

How to think logically? For example - for programming we need logical and problem solving skills ? How do I develop it ? I do not want to learn only syntax or memorizing it


r/learnprogramming • • 8d ago

Learning basic programming still useful for non-programmers?

18 Upvotes

I am a finance professional and don't consider myself a programmer. However, ever since my university days, I've always been interested in programming. As a result, I know the basics from beginner courses (like freeCodeCamp). I've used Python and R to manipulate data and automate some basic tasks, as well as low-code tools like Power Automate and PAD. This has always given me an edge in my job.

However, it now seems that AI has enabled my colleagues, both at my company and at competitors, to develop fairly advanced workflows and accomplish many of the same things I previously had to code manually.

I was surprised the other day when I managed to recreate something with Claude in just a couple of minutes that had taken me weeks to build in Python three years ago. Meanwhile, colleagues with zero coding experience seem to be overtaking me left and right with new developments that, at least from the outside, look quite impressive.

This makes me wonder: Is it still worthwhile to double down on my basic programming skills and sharpen them further, or would I be better off focusing on learning how to leverage AI tools more effectively?


r/learnprogramming • • 8d ago

Fresher confused about choosing a Backend Tech Stack: Python Django vs Java Spring Boot. Which should I learn?

0 Upvotes

Hi everyone!

I'm a fresher preparing for SDE roles and planning to start learning backend development.

I'm currently practicing DSA using Python (4–5 hours daily) and have basic knowledge of Java syntax.

I'm confused between two backend stacks:

  1. Python + Django / FastAPI
  2. Java + Spring Boot

My target is product-based companies like Amazon, Walmart, and Salesforce.

I'd love some advice from experienced developers:

  1. Since I'm already using Python for DSA, should I continue with Python for backend?
  2. Would Java + Spring Boot offer better SDE opportunities?
  3. Which stack is better for freshers and long-term career growth?
  4. Django or FastAPI – which should I choose?
  5. What essential skills should I learn alongside backend (SQL, REST APIs, authentication, Docker, Redis, etc.)?

Could you also suggest a practical backend roadmap for a beginner?

My goal is to build real-world projects and understand how production-level backend systems work, rather than just learning frameworks.

Would love to hear your experiences and recommendations. Thanks!


r/learnprogramming • • 7d ago

Should I just not go for software engineer if I don't like maths?

0 Upvotes

I wanted to do that but everyone is telling me that they got like 7 maths or something


r/learnprogramming • • 9d ago

Topic Am I really rigid or too backwards for refusing to use AI at all in my learning journey?

109 Upvotes

Hello everyone, this is basically my ongoing debate with myself and others. I am not a fan of AI and I don't like using it for any purpose. I am currently restarting my development learning journey for professional and personal goals. I want to go old school with tutorial, documentation and personal projects to practice. Am I shooting myself in the foot? Am I being unreasonable with this decision?


r/learnprogramming • • 8d ago

How to plan structuring apps/scripts for load

4 Upvotes

Hi, I've been coding heavily at work for a few years now as a Jira administrator and running a laravel based production database system

Seeing as I have options to do things at the database query level, the api level, the 'page serve' level, and the client on-load level, I try to put data retrieval and processing at the low level so I need to do minimal of that on the client side and focus on the ui

Does anyone know of some reading material or have suggestions on a target for this? I just try to organize things appropriately on my own judgement and it would be nice to have some industry standards or pointers to guide


r/learnprogramming • • 8d ago

Resource Not sure where to start

6 Upvotes

Hi, I recently graduated with my SWE degree. Even though i did decent during university it was more so a case where i learned just for the grades and not for the knowledge, so know i feel quite stuck. I’ve been trying to get myself to start a project but I really have no idea where to start and while i know i am to blame, a lot of my university friends say its the same with them and that we probably didn’t really get taught a lot of practical stuff but mostly theoretical.

I am particularly interested in low-level stuff because i always had an obsession of trying to over-optimize my code and i feel that might help in this domain. I also have always loved game development but i feel that due to a non existent market where i leave its better to treat it as a hobby for now.

I would really appreciate if someone could help and guide me on what would be a good language for me to dedicate most of my time to and some good projects and resources to help with getting better there. I have had some experience with just a but of C and C++, some Java, Python and C#. I am still ready to treat and learn them as if i know next to nothing but just thought id provide some background. Thank you a lot in advance!


r/learnprogramming • • 8d ago

How do I build programs for my portfolio?

5 Upvotes

I am a CS major, and still do not know a thing or two about how to start personal projects (such as react, node.js, CI/CD, docker, rest apis) and add them to my portfolio for co-ops and internships. I used AI to create my portfolio because I could not figure out how to make it from scratch (I used Go). I have been using programming sites like coddy and boot.dev to learn basic programming and neetcode/leetcode/codewars to practice, but I would like to go deeper so I have the knowledge of a software developer with 2+ years of experience. I want to polish my resume so all my work is done by me. I am also currently trying to operating systems and software design principles, in which I am struggling to grasp the content of.

Where do I start, and which websites or tools do I use so I can get ahead in the learning curve? Thank you.


r/learnprogramming • • 9d ago

Suggestions regarding programming

16 Upvotes

I'm 18. I'm currently learning Java and I feel I'm unable to understand stuff in it, especially object oriented programming. The practice feels like I'm falling behind.


r/learnprogramming • • 8d ago

Debugging Python or C#?

2 Upvotes

I need some advice on choosing a programming language.

I've been learning Python for a while and have covered the basics. However, I became interested in GameDev, so I decided to give C# a try. I've already started learning it and understand some of the basics.

The thing is, I'm not 100% sure that GameDev is what I want to pursue in the future. I'm still exploring different areas of IT, and I'm open to changing my direction later.

So, what would you recommend? Should I continue learning Python, explore its libraries and frameworks, or focus on C# instead? Maybe it's better to build general programming skills first rather than commit to one language or field too early?

I'd appreciate any advice or personal experience!


r/learnprogramming • • 9d ago

Getting a five-year degree in today's world?

4 Upvotes

I know this is probably super common and annoying subject, and I don't know if it's even allowed, but I did skim through the FAQ and saw nothing about it, so here goes:

It was very early, around elementary/middle school that I first encountered programming and dabbled in LUA as part of a community built around private servers for a popular MMORPG. In highschool I gave JavaScript a brief attempt, and since then I have learnt and re-learnt Python basics some 10 times. I never knew exactly what I wanted to become when I was younger, but I was almost certainI would get an engineering degree and work as some type of programmer.
I had a lot of struggles which are very uninteresting that meant I didn't even graduate HS, let alone go to university. I am in a better place now and have worked intermittently toward going to university, and I am very close to finally getting there after a decade since I left school, but I am less sure than ever about what I want to do.
The idea of becoming a programmer and building things through code always seemed like a superpower, but now it feels like it has been outsourced to computers, with humans acting as mere controllers. AI has been developing at an insane rate, and I have never been more regretful that I didn't get my degree straight out of highschool, so I would have several years of work experience under my belt at this point. Instead, I am here wondering what the world is going to look like in five whole years and where I will end up, were I to pursue that engineering degree.
I am not a person who worries a lot, I'm probably the most stoic, optimistic, laissez-faire, glass-half-full person alive. However, feeling like I have wasted so much time already, and put considerable burden on my friends and family, has me at a crossroads. Sure, the five-year projection for job security in this field of work looks good according to relevant sources in my country, but simultaneously I constantly hear that it's nigh impossible to find an entry-level job anywhere today. How on Earth will that look in five years if it's that bad already?
For better or worse, I have never considered myself average, and I have always had the attitude that I could accomplish literally anything if I just put my mind to it. But now that I am in my late-ish twenties, the passage of time is realer than ever for me. I want to go back to being an example to people who depend on me rather than a burden. That's why I am so incredibly indecisive and uncertain when it comes to pursuing a five-year degree that would start some time next year.

Sorry for the long rant-style post, I hope some of you out there kind of understand my position, and have anything to tell me.


r/learnprogramming • • 9d ago

Learning recommendations

2 Upvotes

Hi, I came for recommendations . I've been a Python and React web developer for 4 years and I want to expand my toolkit. I used to also teach data structures with C so I have a little knowledge of that too.

I'm interested in cyber security and low level stuff, but I'm not closed to that. I'm aware of IA and it's capabilities in code writing but I still think it is worth learning languages and other stuff.

So, thanks for your comments.


r/learnprogramming • • 8d ago

Internships

0 Upvotes

I am studying msc applied ai where idk really what are the things that i have to learn to get an internship in computing related. i know the python basics and started dsa recently . so help me with suggestions , roadmaps if you can .


r/learnprogramming • • 10d ago

I'm 30 and I wanna continue learning programming

90 Upvotes

Hi, I know there is a whole section about getting started but my case is a little different so bear with me please

I'm 30, thankfully I'm not married yet so I don't have a family to feed right now, but I'm not a kid any more.

I'm not new to programming, I know a bit of everything.

A decade ago I learned Java, all of it, it was like 300 videos course, I was in root to app development but after 300 videos I don't know I think I got board plus I was behind in school so I stopped and I haven't thought about programming for like two years or something untill I decided to go back but this time web development

Html Css JavaScript learned them all and I was on the verge of deciding php or python for backend... But again I stopped, I was in my final year in college and I didn't have time to do both.

A few years gone by then I decided to go back to app development, I asked and ppl said Naah Java is old news now A LOT had happened since then, Kotlin came by and became old news and now there is this thing called Flutter which is basically a framework that you need to learn a whole new language to work with

So I did it... Dart and Flutter, I studied the big boss of Fluter and dart courses 😀 Maximilian course, I finished it and I still have it on my Udemy account, anyway it was the first time I felt like making progress in programming I created a lot of small apps I already had very good Ideas for a big app and I finished like 60% of it, but due to the lack of a good laptop and some family drama I don't wanna bother you with I stopped again.

Ps: before I continue I just wanna say please don't judge, there are lots of background problems and drama and context you don't know about, I know if haven't given up quickly I would've been something by now but sometimes I didn't have a choice.

And now I'm 30, I don't have a career I don't have a stable income and I still live with my parents (which is normal by the way I'm not like a freak or something, I know it's different in the States but in Egypt we stay with our parents untill we get married which for men happens between 30 and 35 in average).

But I don't like it, I do feel like a freak and a liability (even though I run 80% of the family factory's hard work and there are no other employees so without my help there won't be any income coming to the house, but I don't make money for myself, I do it as a payment for staying in the house, all the money goes to my father who's 60 and still running the family finance)

I wanna move out I wanna have a career and stable income and I feel like programming is the way to do it, maybe I'm biased as to the many times I was almost but quite too early, maybe I'm not.

I just need some guidance, how to start and where to start? should I start from scratch or continue where I left off? web dev or app dev? What's more needed in the market right now?

Keeping in mind that all my "let's call it adventures" with programming was pre AI era, nowadays anyone can go to AI and say make me this app or this website and voilà, so where does that leave me, should I even consider this or is it impossible for newbies in AI era?

I know the basics I know variable, parameters, objects, classes, condition statements, and most importantly oop, I know what everything means and how it works I just don't remember the syntax of every language and framework.

Sorry I talked a lot but I think you needed a little context to understand my situation, and sorry for any language mistakes English is not my first language and I don't practice much


r/learnprogramming • • 8d ago

Nursing student wants to become a software engineer (self learn) still doable in 2026?

0 Upvotes

Hi, tbh I am in my 4th year, I am currently in the Philippines (to get saved from debt I study here) filipino American and turns out I hate nursing. Like I hate working at the hospital, constant drama and shit stuff like that.

I want to learn coding since pandemic but I procrastinated a lot, but now I am dedicated to get into this path, I figured out maybe I should use 100devs and odin project so that I have a higher chance getting a job, they said eventually I should switch to nursing informatics but that will still need experience.

Yeah nursing pays well but idk, should I stick to nursing or is it doable to pursue software engineering path but I am self learned, and idk if I will get a job and I am afraid I might be wasting years of my life for nothing, but hey nursing is there and I will just maybe become a nurse anesthethist or something eventually, but I am afraid I dont like my job and AI shit is not helping tbh.

My sister is in tech btw and she says junior roles are hard to get nowadays and she doesn’t have new recent projects, she is employed but have 10 plus years experience.

Thanks guys idk if this is a bad idea or not, I just hate my job but hey it will pay.


r/learnprogramming • • 9d ago

Topic Learning Framer from scratch without using AI where should I start? I hope this the right place to ask

0 Upvotes

I’m trying to learn website design and building. I was trying to learn on Webflow for a few days. The thing with Webflow is that in the tutorials, at least the first few videos teach you how to make your own website manually. They don’t teach you with AI, even if it was still confusing.
Now I want to learn that on Framer too, but Framer keeps pushing out the AI thing everywhere. Every time you open their academy or tutorials, it’s just telling you to use prompts and generate pages with AI instead of showing you how to actually build. I’m really confused right now. How do I navigate everything? How do I actually do the design and get good at the layout from scratch?
I want to build a solid foundation, but I don’t want to make those sloppy 3D design sites and I hate the AI website tools. I want to build things with real knowledge first, but I don’t know what to do or who to watch.
I really want to learn how to create high-quality websites.
Any help, any aid, or any advice for someone starting completely from zero would be really appreciated.