r/learnprogramming • • Mar 26 '17

New? READ ME FIRST!

825 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? [November 28, 2026]

7 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 • • 4h ago

I'm the only IT person at a small company and almost all our code is written by AI

26 Upvotes

I look after the tech side of a small online business. There's the owner, who runs the business side, and there's me. Nobody else touches the code.

The system is a custom web app. Customer records, online ticket sales through a payment provider, forms, email sending. It already has real users, and the plan is to grow to hundreds and eventually thousands. Some of the data is personal enough that a leak would really hurt people. Almost every line is written by an AI tool. I describe what I want and check that it works. So far that has been fine. What bothers me is that I can't tell when it's wrong in a way that doesn't show. I studied programming at uni, but that was years ago, and I haven't touched React in ages. If you asked me to write a basic function from scratch right now I'd struggle. I feel more like a prompt operator than a developer.

I really want to get better at this. I want to understand the code I'm shipping instead of trusting that it works. The trouble is the pressure around me. The focus is on making money and moving fast, and risk isn't on anyone's list except mine, even though parts of the code are spaghetti and I know the quality isn't great. I told my boss this directly. They said it really is important, just not the priority right now. I get it, a small business needs revenue. But I'm the one who'd be standing there if something went wrong.

So I'm doing what I can. I had a separate AI session review the code like an attacker would, and it found a few real problems, which we fixed. I'm working through PortSwigger's Web Security Academy and an interactive JavaScript course, around five hours a week. I'd also like a real person to look over the code now and then, and at some point pay for a proper test, but I have no idea what's a sane amount to spend or when it starts to make sense.

Is it realistic for a junior to carry something like this alone, and if it is, what safety nets would you put around it? If you were in my spot, what would you learn first so you can actually judge what the AI hands you? And has anyone here heard "important, but not now" from a boss about this kind of thing? What did you do?

Thanks for your helpful comment.

(English isn't my first language, sorry if parts of this read oddly.)


r/learnprogramming • • 6h ago

2nd-year CS student worried about AI, the job market, and if manual coding still matters

26 Upvotes

Hey everyone,

Watching how fast AI models are developing and being in awe of what they can pull off every day has left me wondering what the near future actually looks like for us.

I’m currently a 2nd-year CS undergrad and I’m starting to question if pursuing this as a career is even worth it anymore. On one hand people say you are wasting time manually coding when AI can generate it in seconds. On the other hand,everyone says you still need to build projects completely on your own to actually learn and stand out. It’s really confusing to navigate especially with the current job market and constant layoffs.

I genuinely enjoy learning about computer science and writing code but lately it feels less like a career path and more like something that’s just going to become a hobby, which i don't want it to be

Beyond jobs, the broader shift scares me as well not just because of what these tools can do, but because of how they’re reshaping the internet and society. When so much of our thinking and problem solving gets offloaded to AI which me feel like human cognitive ability as a whole is going to decline in the near future and that genuinely worries me.

For those already in the industry or further along in your degrees, how are you navigating this? Is focusing on deep fundamentals still worth it?


r/learnprogramming • • 13h ago

Topic Is learning programming still worth it in this generation?

88 Upvotes

I've been wondering how people feel about learning programming in 2026.

With AI tools becoming so powerful, we can now generate code, build small applications, and solve problems just by giving prompts.

But does that mean beginners should still spend time learning programming languages like Python, Java, C++, or JavaScript?

Some people say understanding programming fundamentals is more important than ever, while others believe AI will handle most of the coding in the future.

For someone starting from zero today:

  • Which programming language would you recommend learning first?
  • Is it still important to learn DSA and problem-solving?
  • Should beginners focus on coding or learning AI tools?
  • What skills will actually matter for software developers in the next few years?

Would love to hear opinions from experienced developers and beginners who are learning right now.


r/learnprogramming • • 2h ago

Backend programming

5 Upvotes

Well I am currently in 200lvl and i am studying computer science so this semester we are about to learn backend and i am asking what are the things I should look forward to and some sites I should visit


r/learnprogramming • • 2h ago

17 yrs old tech student from italy here, what do i have to learn to become a programmer?

4 Upvotes

im in fourth year of highschool and i already know some c# (OOP, arrays, loops, functions ecc...) but i really like coding in general and i would like to continue studying in university after highschool, but i dont want to wait 2 years.

the goal would be landing a job as a programmer, even better if in another country as salaries in italy are heavily disproportionate with the cost of living; even better if it was in smart working but i would need some experience first.

i am willing to learn kind of anything for a higher chance at landing a job like this, but i dont really know where to start so i was asking for some tips on what to learn and do, like algorithms, woking on small projects, some courses idk.

i have A LOT of time and motivation to learn, i have 2 years of highschool and 3 of university before even starting to look for a job


r/learnprogramming • • 1h ago

learning backend (Django): go slow and understand every line, or build 10 quick practice projects with AI?

2 Upvotes

Hi everyone,

im kind of in despair right now

I'm building a learning project: a marketplace where customers order offers from business users. (fiverr clone)

My problem is that it takes me a very long time to really understand code. Take this one line as an example:

Order.objects.filter(business_user__user__id=6)

I have to draw it out first: the order points to a profile, the profile points to a user, __ means "follow the relation", and behind that there's a SQL JOIN. And that's only one line. In the project, lots of pieces like this depend on each other (models, serializers, views, permissions, queries), and sometimes I feel overwhelmed.

I try to write the code myself on purpose and only use AI to explain things. But it takes forever for my brain to grasp it and I keep wondering:

  1. Should I stay slow, understand every line, and build a solid foundation?
  2. Or should I use AI to quickly build around 10 smaller practice projects, to see more patterns and build routine, even if I don't understand every line right away?
  3. Or is there a middle path you'd recommend?

i learned frontend (html, css, JS, angular) before that and it was so much easier to understand.

How did you handle this, especially if you also used AI while learning? What actually moved you forward, and what was a waste of time?

Thanks for any advice!


r/learnprogramming • • 10h ago

T - genuinely falling so behind in my classes. How do u all catch up without losing your mind?

7 Upvotes

bro i missed like 3 lecturess and now i am so so behind with 5 assignments due for the next monday and some coding lab work is due on friday. Now every time I sit down to start i just freeze and end up leaving it and doing nothing.


r/learnprogramming • • 4h ago

what should learn for more growth java or javascript

2 Upvotes

i am a first year student whose 1 month winter vacation started i just want something to learn which will benefit me later


r/learnprogramming • • 1d ago

Is it a good option to start studying programming at 30? And if the answer is yes, what are the first steps?

100 Upvotes

I just moved to the United States and work in construction, which is truly exhausting. I studied industrial engineering in my home country, but I’ve noticed that many of the people I work with are programmers (we remodel their houses). I once asked them how I could become a programmer, but they told me that AI has become so advanced that there’s no work left for programmers. I used to program in MATLAB for some of my courses, but I really want to build a better future for my wife and myself.
Thanks for reading (:


r/learnprogramming • • 7h ago

Logic Building or Programming fundamentals which one to prioritize

3 Upvotes

Should i learn logic building or programming syntax first. And how? Any roadmap?


r/learnprogramming • • 8h ago

Complete beginner- where do I with cyber security and coding

3 Upvotes

Hi everyone ,

I'm a complete biginneer and I want to learn cyber security and coding

Where should I start?

What should I learn first? Python?

What are the best free courses or YouTube channel for beginners?

Thank you !


r/learnprogramming • • 15h ago

Resource Java

11 Upvotes

Does anyone have any good learning path in java along with spring boot and it's continuation with resources


r/learnprogramming • • 17h ago

Data Analysts with experience, what should I learn next? Feeling stuck and unsure about my growth.

7 Upvotes

Hey everyone,

I've been working as a Data Analyst, and lately, I feel like I'm stuck in the same place. I know and have worked with SQL, Python, Power BI, Tabular Models, and Azure Database, but despite knowing these technologies, I still feel like I don't know enough.

I want to learn something new that will actually help me grow as a Data Analyst and become better at what I do.

For those who have been working in data analytics for a while:

- What skills or technologies do you think are worth learning next?

- What are some skills that are becoming increasingly important in the industry?

- Should I focus on advanced SQL, Python, data engineering, cloud technologies, machine learning, or something completely different?

- What do you wish you had learned earlier in your career?

I'm not necessarily looking to collect more technologies on my resume. I genuinely want to improve my knowledge and become a better analyst.

Would appreciate recommendations from people who have been through this stage in their careers.


r/learnprogramming • • 1d ago

Does Maths matter?

7 Upvotes

A big issue that I'm starting to see as I'm going through my studies in IT(software engineering) is the painful math module my college has us do.

It is a cause for concern as my math is below par, however I'm deeply in love with programming.

Personally I dont see a need for it, however some people do say its there to assist with the 'problem solving' part of the subject.


r/learnprogramming • • 1d ago

Tutorial How can I become good at problem solving?

7 Upvotes

After getting a task some programmers just starting writing the code, while writing the code they understands all the logic behind that...how can i achieve that level of skill?


r/learnprogramming • • 1d ago

If I need to make a local or public app what back-end knowledge should I have

11 Upvotes

I still can't understand back-end, like how do I make the server or database, do I need to learn php, what are the other options, where so i start start ?? It always felt overwhelming to learn and still is.


r/learnprogramming • • 1d ago

Topic TIL code comments have their own line-length conventions instead of relying on editor soft-wrap

17 Upvotes

I recently learned that comments aren't supposed to rely on editor soft-wrap. Hard-wrapping at 80 columns with // or # on every line keeps git diff and PR reviews readable—and Neovim already handles it natively with textwidth + formatoptions+=cq + gwip

What other such conventions are out there that I should know about?


r/learnprogramming • • 1d ago

How do you know when you’re actually improving at programming?

31 Upvotes

I’ve been learning programming for a while, and sometimes it’s difficult to tell whether I’m actually improving.
I can follow tutorials and understand examples, but when I try to solve a problem completely on my own, I get stuck.
For those who are more experienced, what helped you move from following tutorials to confidently writing your own code?
I’d love to hear about your learning experiences.


r/learnprogramming • • 1d ago

Looking for people interested in Data Engineering!

2 Upvotes

Looking for people interested in Data Engineering!

Hey everyone!

I'm looking to connect with people who are interested in Data Engineering, whether you're just starting out, currently studying, or already working in the field.

I'm currently learning and working with technologies like Python, SQL, dbt, Databricks, PySpark, and Microsoft Fabric. I'd love to meet people who are exploring similar technologies or are simply passionate about data in general.

The idea is to build a small network of like-minded people where we can:

  • Discuss Data Engineering concepts and technologies.
  • Share projects, resources, and useful materials.
  • Exchange ideas and help each other learn.
  • Talk about our experiences and challenges.
  • Maybe even work on some projects together!

Looking forward to meeting some of you!


r/learnprogramming • • 1d ago

YouTube channels worth following

12 Upvotes

Hello there,

I am new into the community and I am currently looking forward to improve my programming skills since it is a topic that I really like since I was in college.

so I would like to ask you guys which YouTube channel do you actually recommend because it has legit information about the SWE world that is worth looking into. some times you learn more from a video if the topic that you are looking for gets to complicated in the book you are reading, so I would really appreciate you guys recommendations.

Thank you in advance. I am really excited to be part of this community


r/learnprogramming • • 1d ago

Need help on DB2 design

2 Upvotes

Problem Statement

We have a transaction history table (CARDTXNHIST) used by a banking application to display customer transactions.

​The daily batch process consists of two stages:

​Unstatemented Transactions (Code = 2) batch file → TEMP table → View → CARDTXNHIST

​Existing Code=2 records are deleted and refreshed

​Statemented Transactions (Code = 3)

​Separate batch file → TEMP table → View → CARDTXNHIST

​Statemented records are loaded after unstatemented processing

​The batch window runs approximately between 4 AM and 9 AM.

​Observed Issue

On statement cycle dates, the incoming unstatemented dataset may be empty because all eligible transactions have been statemented.

​As a result:

​Code=2 transactions are removed/refreshed

​Code=3 transactions are still being processed

​During this period, customers may see no transaction history in the application, even though the transactions still exist within the batch pipeline.

​Objective

We are looking for database/application architecture approaches that can eliminate or minimize this visibility gap while the batch is in progress.

​Solutions Under Consideration

​Retaining Code=2 records until Code=3 processing completes

​Shadow table / table-swap approach

​Composite views

​Deferred commit strategy

​Reading from staging/view sources during batch processing

​Data archival and performance optimization

​Other database design recommendations

​Questions

​What would be the recommended design pattern to ensure customers always see a consistent transaction history?

​How have similar large-scale batch processing systems solved this "delete-before-republish" visibility gap?

​Are there DB2-specific approaches (isolation levels, shadow tables, transition tables, view-switching, etc.) that would be suitable for this scenario?

​If you'd like to adjust the length or add any extra context (like table volume or specific DB2 version) before posting, let me know!


r/learnprogramming • • 1d ago

Resource Suggestion: Advent of Code starts tonight!

46 Upvotes

For those seeking out a more advanced programming challenge, the yearly Advent Of Code will commence on December 1st.

It's an advent calendar of programming prompts/challenges. Each evening at midnight for the first 12 days of December, a new puzzle will unlock at midnight EST. Each puzzle provides you with an input and asks you to use programming to calculate some result.

There are no limits to what languages, tools, etc. can be used. There are no prizes. The challenge is free for everyone.

The problems are often quite challenging. Even professional programmers often get stuck on some of them. This is probably not an event for folks who are just starting out with coding. But for more advanced learners, fighting with the problems and then going to the discussion threads to see the many different ways that programmers solve them can be very educational.

There's a very active subreddit for the event: r/adventofcode.

Happy coding!

Disclaimer: I am not in any way affiliated. I'm just a fan.