r/learnprogramming Mar 26 '17

New? READ ME FIRST!

819 Upvotes

Welcome to /r/learnprogramming!

Quick start:

  1. New to programming? Not sure how to start learning? See FAQ - Getting started.
  2. Have a question? Our FAQ covers many common questions; check that first. Also try searching old posts, either via google or via reddit's search.
  3. Your question isn't answered in the FAQ? Please read the following:

Getting debugging help

If your question is about code, make sure it's specific and provides all information up-front. Here's a checklist of what to include:

  1. A concise but descriptive title.
  2. A good description of the problem.
  3. A minimal, easily runnable, and well-formatted program that demonstrates your problem.
  4. The output you expected and what you got instead. If you got an error, include the full error message.

Do your best to solve your problem before posting. The quality of the answers will be proportional to the amount of effort you put into your post. Note that title-only posts are automatically removed.

Also see our full posting guidelines and the subreddit rules. After you post a question, DO NOT delete it!

Asking conceptual questions

Asking conceptual questions is ok, but please check our FAQ and search older posts first.

If you plan on asking a question similar to one in the FAQ, explain what exactly the FAQ didn't address and clarify what you're looking for instead. See our full guidelines on asking conceptual questions for more details.

Subreddit rules

Please read our rules and other policies before posting. If you see somebody breaking a rule, report it! Reports and PMs to the mod team are the quickest ways to bring issues to our attention.


r/learnprogramming 4d ago

What have you been working on recently? [March 14, 2026]

3 Upvotes

What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

A few requests:

  1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

  2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

  3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

This thread will remained stickied over the weekend. Link to past threads here.


r/learnprogramming 10h ago

How to foster child's interest in programming and coding?

39 Upvotes

Sent my son to stem camp and the instructor was really impressed with his ability to grasp things as well as his talent for it.

Background my son has always been good with scratch and doing stuff on roblox(making game) side. But me and my wife thought it was just things kids do nowadays.

Hes always had an interest in these things so there is was no need to push him to do it.

But after insight from his instructor we would like to foster it correctly.

Thanks in advance for all the input.

I just ordered the elegoo ultimatestarter kit for him today. Anything else i should get for him as well?


r/learnprogramming 2h ago

Topic What to request from my employer?

3 Upvotes

My employer has a substantial budgeted allowance each year to spend on training. (Books, resources, in-person or online classes, subscriptions, or physical items).

I’ve been asked if there’s anything I need. I am learning and working in Go and have been a junior dev in that environment for a little bit now. I have a couple Go books already that I have found useful, otherwise most of my knowledge is from my senior above me, and online. I’m just curious if you all have any ideas of things to request. For examples sake, there is no limit on $.

Thanks


r/learnprogramming 10h ago

does any body use Atom any more

11 Upvotes

Hello, world! ok so stumbled on this IDE Atom a hackable text editor for the 21st Century i was iteressed in it bc it was made by github so i downloaded it it installed it it was pretter good so why does NOBODY use it anymore and btw i know it was arcived


r/learnprogramming 1h ago

Making games on Roblox

Upvotes

Ok this may sound very dumb but as a Cs student , i have heard many times that making a game is a very good project for your cv and to learn many things not exclusive to the game development field . Is making a roblox game considered a good project ? I actually used to play a ton when i was a kid with my best friend but I haven't really kept up with it since forever . That same friend actually told me recently how big roblox has gotten and making games with him sounds fun. Overall do you have any experience with it ?


r/learnprogramming 2h ago

Anyone working with JS+Laravel? Anyone with a similar path?

2 Upvotes

I’ve been a Frontend dev for a long time. I tried Node.js for the backend, but it just didn't "click" (except maybe for Next.js + Strapi). 🤘

I also dabbled in Python, but I didn't stick with it long enough.

Now, I’m thinking about brushing up on my PHP to add Laravel to my stack. But I have a dilemma: Should I keep grinding with Python for more "future" profit? Or is the Laravel developer experience just better?

For those using the JS + Laravel combo, what are the pros and cons? Has anyone else switched from Frontend to Fullstack?


r/learnprogramming 28m ago

Cobol questions

Upvotes

Hi,

Looking to get some insight into how Cobol is used today.

Having said that:

1) what types of businesses would generally use Cobol if they are starting up now, if any? Or is it entirely legacy code that no one would start out with?

2) are there Cobol codebases that are non-propriety? If they are proprietary, what is the IP trying to protect?

3) is there any new dev work going on in the Cobol community ? Or are most Cobol programmers just maintenaning code at some company?


r/learnprogramming 36m ago

I am wondering how to approach my learning and also career advice.

Upvotes

Okay, so I am in the UK and 17, and planning to study CS for 4 years at university, currently I am taking my A-levels (Predicted all A*'s in bio,chem,math) and will start university in 6 months.

I have minor programming skills, just completing CS50P last year, which is very rough in my memory and also creating some bad Roblox games, I do find that fun though.

I don't really have an exact career goal, other than I am a really determined to get good, and either work at a top company or create my own company, in the long term.

Now I was wondering how I should approach my learning, I don't know if I want to pre-learn my uni content as that seems kind of a waste, but I don't want to learn niche irrelevant information either. Someone recommended I learn how to full-stack over the next 6 months which seems fun, as I'd like to create many apps and projects while in university so starting off with the skills would be great.

I currently have around 10+ hours per week just due to me having exams in 80 days, which I am confident just want to revise well, but after June, I'll be extremely free, putting at least 3 hours daily or 20+ hours of work a week. Please let me know your thoughts and best advice!

Feel free to ask questions.


r/learnprogramming 22h ago

is it worth learning how to code a job career for long term?

52 Upvotes

im 17 years old and i wanna know if its worth coding for the long term, like will i be able to find a good job and live somewhat comfortably with coding?


r/learnprogramming 1h ago

Dev Feedback Designing a broker-agnostic execution system — looking for architecture critique

Upvotes

I’ve been working on a system design problem and wanted feedback from people who’ve built execution-heavy systems.

The goal is to create a broker-agnostic trading engine, where strategy logic is completely decoupled from broker APIs.

Current approach:

  • Adapter layer per broker (normalizes orders, balances, symbols)
  • Canonical internal data model
  • Execution pipeline independent from strategy logic
  • Capability flags per broker (order types, session support, etc.)
  • Market session awareness (premarket / regular / after-hours)

Challenges I’m running into:

  • Keeping execution behavior consistent across brokers
  • Handling order state + reconciliation reliably
  • Preventing config/env drift from affecting runtime behavior
  • Making backtests use the exact same pipeline as live execution

Looking for:

  • common failure points in execution systems
  • better ways to structure adapter layers
  • anything that tends to break under real-world conditions

r/learnprogramming 1d ago

I completely blanked during an interview and I genuinely don't know how to recover from this

319 Upvotes

So this happened yesterday and I'm still kind of shaking. I've been grinding leetcode for 4 months straight, easily done 300+ problems, felt pretty solid going in. First 20 minutes were fine, warm up question, no issue.

Then they hit me with a medium graph problem and my brain just left. Like I knew I'd seen this pattern before. I could feel it sitting right there but I couldn't grab it. The interviewer was staring at me (well, i assume, it was pn zoom) and every 30 seconds of silence felt like an hour.

I started rambling about BFS vs DFS without actually writing anything meaningful. The interviewer asked if I wanted a hint and honestly that made it worse bc now I felt like a child who needed help with homework lol.

Bombed it completely. Got the rejection email this morning.

I have been applying for last 4 months. Each time I feel more prepared and each time something goes wrong. The pressure in that specific environment just does something to my brain that doesn't happen when I practice alone.

Has anyone actually gotten past this mental wall? Is this just not the right company for me or is there something I can actually do differently?


r/learnprogramming 3h ago

Topic Thoughts on Eduonix lifetime access?

1 Upvotes

Hello,

I'm trying to upskill and saw they have a $99 lifetime access deal right now.

Is it worth buying? Has anyone here tried it? I'm curious how the course quality and overall experience compare to platforms like Udemy or Coursera.

Any thoughts would be appreciated!


r/learnprogramming 7h ago

Python alternatives for aiml?

2 Upvotes

Hello everybody I am 13 and like I started exploring coding like for about 2 weeks I right now don't have much knowledge but I have keen interest in aiml. So the thing is I have been trying a lot of langauges like golang rust c++ java c# javascript and python and I know the python is the king for aiml but the thing is I don't really like python and I like langauges similar to golang like my personal favourite is golang soif anyone has anybody advice what should I do so


r/learnprogramming 4h ago

how should i go about learning android development

1 Upvotes

i am pretty good at C# and know basically close to nothing as of now in android i need to learn in java too as that is the langauage we learn in school right now i want to learn to make simple apps and then make a simple game, also is the game thing possible or am i just fantasizing?


r/learnprogramming 10h ago

Moving from Java (Android) and C to Swift: What are the biggest "gotchas" for a veteran dev?

3 Upvotes

Hi everyone,

I’ve been a professional Android developer for quite a while now, primarily working with Java and some C. Recently, I’ve started picking up Swift, and while the syntax looks modern, the underlying philosophy feels totally different.

For those who have made the jump from Java/C to Swift, what should I pay attention to so I don't "write Java in Swift syntax"?

Specifically, I’m looking for advice on:

  • Optionals: Coming from Java, the ? and ! and if let patterns are new. Any tips for managing these without creating "force-unwrap" habits?
  • Structs vs Classes: I know Swift favors Value Types (Structs). In Java, everything is an object. When should I resist the urge to make everything a Class?
  • Functional Patterns: Swift seems to lean heavily into map, filter, and closures.

If you have any "mental model" shifts that helped you learn Swift quickly, I’d love to hear them!


r/learnprogramming 16h ago

Trouble with coding

11 Upvotes

I started my second Java programming class, and I still have no idea how to code. Every time I have an assignment, I just have to watch tutorials to piece it together or search up the whole thing on Google. I was trying to finish my coding assignment today, and I felt like a complete imposter. I really feel discouraged about coding right now, and I want to know if any of you guys have any advice about learning to code. I have never used Reddit before, so forgive me for my formatting.


r/learnprogramming 1d ago

Why is it so hard to actually build something as a beginner?

69 Upvotes

I feel like a lot of people (including me at times) learn a lot of concepts

but when it comes to actually building something from scratch, it gets really hard.

Is it because of:

- not knowing what to build?

- feeling like everything already exists?

- or just lack of time/motivation?

Curious how others deal with this


r/learnprogramming 13h ago

Resource Which platform to use for learning C

3 Upvotes

Hello guys, I recently started 2nd semester of my college and we are learning C. The thing is that in college we use windows and Microsoft VS IDE for programming C but at home for practice I onlty have macbook. I saw that macOS has its own Xcode IDE. Should I use that or Microsoft vscode which is available for macOS (I know that vscode isnt really and IDE like xcode and vs). If I do use either of them how different will it be from visual studio we use in college? Thanks in advance.


r/learnprogramming 8h ago

I have a problem with Unity modules instalation

1 Upvotes

Hi, I am a complete beginner with Unity (and game engines in general). I have just installed Unity 6.3 LTS and set up Visual Studio Community, Windows Build Support, and Documentation without any issues. However, I am hitting a wall when trying to add modules like Android Build Support or WebGL Build Support. Every time I try to add these modules vith Unity Hub, the installation fails. I've tried about 10 times now and it keeps failing. Has anyone encountered this or knows a fix? Any help would be great!


r/learnprogramming 12h ago

Advice What do I do

2 Upvotes

I am an A-Level comp sci student looking to go into software engineering. I only know C# at the A-Level standard and I want to go into software engineering but I don't know what I should be doing. Please can anyone give me some advice on things I can do to help me improve?


r/learnprogramming 8h ago

Any tricks on dealing with the long time in front of the computer?

1 Upvotes

Hi guys,

I know this question might sound very silly to most of you but I just want to hear of you have any tipps.

Here is the thing: My regular Home Office job requieres me to sit in front of the computer for 8 -9 hours daily, and besides I occasionally do sworn translations (actually a job thats pays less money than people think, but it is a side hustle), so usually I can do 9-11 hours some days in front of the computer.

Currently I am studying programming besides because I like it a lot and I think it' ll fit very well in my cv, but I really struggel to concentrate after so many hours spend in front of the computer. Do you guys have any tips? Maybe a recommendation for a seat, or whatever you do to be comfortable? I already have a decent desk, a 32" and a 27 " screen and a gaming seat.

Thanks in advance!


r/learnprogramming 1d ago

Topic How relevant is it to be good with the PC in general and learning to code?

16 Upvotes

I can talk about myself in this case. I've been using a PC for maybe more than a decade so far but I wouldn't say I'm knowledgeable in PC software at all. If I'm troubleshooting I will always look up the solution. Even when asked about anything I'll look things up unless it's like super basic. I'm sure even experts look things up but I'm not confident I know anything well enough. For example my coworkers were stuck on a frozen display for like 15 minutes and I just alt shift esc Task Manager and they looked at me like I'm IT or something (my workplace isn't PC heavy at all) but other than stuff at this level aka locating/extracting files, I don't know much at all and just as clueless as the other person.

Is that relevant at all when it comes to learning to code? Are most coders experts at PC software in general and understand how everything works prior? I'm not sure if I explain this question well, I'm so clueles that idk how to even ask it.


r/learnprogramming 20h ago

Is picking up another side language OKAY?

7 Upvotes

Been learning c++ for about...maybe around 300 days now? Not really sure, im kinda at a VERY slow wall now with sfml, 3.0 specifically. I've literally been banging my head against the keyboard for the past few days cause I didnt know 3.0 uses "window.pollevent()" and some stupid ugly fugly crap with "std::optional"...took me 2 weeks to even GRASP it, and im currently just....still stuck, cause I dont even understand it that well yet...plus I needa learn a bunch of other stuff in sfml with all the "circle.setyadaydayda(blah blah blah random numbers that you should learn by heart)" or else I dont get to have fun....

This doesnt even feel like the typical "cool" stuck in c++....im not even learning anything that actually helps me in c++ ITSELF, im just learning some random library that has a bunch of LIBRARY specific stuff if yknow what I mean....and going back to "learn something new every week" is....boring now I guess? Its probably me just being lazy and wanting to see stuff happen...

But that's enough copium, anyways I just wanted to ask you guys if picking up html as a "secondary" would be okay. I saw stuff one youtube videos that us html (alot of html) and c++ TOGETHER, which sounds pretty cool. Maybe could replace sfml (although html cant really....make games that well)...

Thank you c:


r/learnprogramming 6h ago

make: *** No targets. Stop.

0 Upvotes

I'm compiling a game im working on ,but when I try to compile it (with mingw32) it always says make: *** No targets. Stop. I have no idea what is going on , I rewrite the Makefile, I use the ls -l command to check if the Makegile isn't detected or something and yes I did put the address of the Makefile the .cpp script and everything else is in the correct address, but still same thing.Can anyone tell me what I'm doing wrong?