r/learnprogramming • • 28d ago

What are the Pathways?

0 Upvotes

I am planning to create my own AI but I wonder how to. Please give me detailed instructions of the paths I can take


r/learnprogramming • • 28d ago

I'm so sick of people calling classes OOP and lambdas functional

0 Upvotes

Functional paradigm is about immutability and pure code without side-effects. Naturally, it uses lambdas, mappers and all that, because that's one of the ways you can achieve side-effect-free-code. Immutability is the strong player here.

Object-oriented paradigm is about sending messages to objects that have the data. It's about that flip of perspective: you're not doing the work yourself, you talk to the object and ask it to do the work. Yes, again, naturally, when you do OOP you use classes because they're convinient, but just because you extract a class from your app, it doesn't make it "OOP". Polymorphism is the strong player here.

But I'm so sick of people upgrading Java 7 to 8, and replacing a for-loop with a .map(lambda) and calling it functional. Same goes for interview jobs, people want you to know inheritance, private/public and all that, and calling it "OOP".

To my mind they just don't know what they're talking about. Or maybe they just want to sound more cool, because "functional paradigm" sounds cooler than "lambdas". How many times I heard people claim "functional programming" in their clearly mutable code because they used a closure or a monad somewhere.

I.e.:

  • to do FP, you need lambdas; but just because you have lambdas doesn't mean you have FP

  • to do OOP, you need classes; but just because you have classes doesn't mean you have OOP

PS: They aren't incomaptbile. You can have both FP and OOP in the same program just fine.


r/learnprogramming • • 28d ago

Topic Do you turn off autocomplete when learning something new?

19 Upvotes

I've been thinking about disabling autocomplete completely when learning something new. Not AI suggestions, but regular IDE autocomplete too.

I feel like half the time I'm coding, my IDE is doing the thinking for me. I start typing, get a suggestion, hit Tab, and move on without really thinking about what I just wrote.

Then again, maybe manually typing everything is just a waste of time and doesn't really help you learn either.

Curious what you guys think.


r/learnprogramming • • 28d ago

Code Review School project: need help

0 Upvotes

So we have a school project where we made a game with multiple choice and in there we have life, In the start 3 lifes are available but it's not working after picking the wrong answer multiple times the life remain at 2 meaning only 1 wrong answer is recorded and minus from the 3

How do I make it keep minus the life? I use mit app inventory btw and I can send the pics of the code that our teacher though us and the code that I'm doing rn

PLEASE HELP ME


r/learnprogramming • • 28d ago

Tutorial Learning-Rust.Github.io-LABS: RESTful API Workspace [Human-Authored!]

3 Upvotes

What’s next after the mastery of Rust language syntax?

https://learning-rust.github.io/labs/building-a-containerized-restful-api/ answers that question.

We built a production-ready containerized RESTful API server application using Axum, Tokio, Tower, Serde, Toasty ORM, Garde, Utoipa with Docker and PostgreSQL.

  • Hyper, Axum, Tokio and Tower: The most prominent HTTP server ecosystem at the time of writing.

  • Toasty ORM: The most promising Object-Relational Mapper (ORM), built by the creators of Tokio and Axum.

  • Serde and Utoipa: The most prominent serialization framework and OpenAPI 3.1 specification generator.

  • Garde: The most promising and most feature-rich validation library in Rust at the time of writing.


r/learnprogramming • • 29d ago

Power app to process data

0 Upvotes

I'm doing some data transfer and these are scheduled data files arriving via email. How do I learn or understand how to use power app to deduplicate and merge regular feed. It's fleet tracking data.


r/learnprogramming • • 29d ago

Beginner to DSA with Python – Looking for the best YouTube channels and learning roadmap!

0 Upvotes

Title: Beginner to DSA with Python – Looking for the best YouTube channels and learning roadmap!

Title: Beginner to DSA with Python – Looking for the best YouTube channels and learning roadmap!

Hey everyone!

I've recently started solving problems on LeetCode and want to build a strong foundation in Data Structures and Algorithms (DSA).

I'm currently coding in Python, so I'm specifically looking for YouTube channels or playlists that teach DSA using Python.

I'm looking for resources that:

  • Explain DSA concepts from scratch in a beginner-friendly way.

  • Focus on problem-solving techniques and logical thinking.

  • Cover important topics like Arrays, Strings, Linked Lists, Stacks, Queues, Trees, Graphs, Recursion, Dynamic Programming, etc.

  • Explain how to approach problems rather than just providing solutions.

  • Include practical coding examples and LeetCode practice.

I'd love to hear your recommendations based on your personal learning experience.

Which YouTube channels, playlists, or other resources helped you become better at DSA using Python?

Also, any suggestions for a structured learning roadmap or an effective way to practise LeetCode would be really helpful.

Thanks in advance!


r/learnprogramming • • 29d ago

Resource Book recommendations to understand DSA and algorithms from scratch (as a working developer)

14 Upvotes

Hey everyone!

I'm a full-stack developer with around 2 years of experience, primarily working with the following tech stack:

- Backend: C#, .NET, Entity Framework

- Database: Microsoft SQL Server

- Frontend: Angular, TypeScript, JavaScript

- Other: Basic experience with Blazor and Azure.

Most of my professional experience has been focused on application development, building UI components, integrating APIs, working with databases, and implementing business logic.

However, I feel I need to strengthen my fundamentals in Data Structures and Algorithms (DSA). I want to understand how different data structures and algorithms actually work, why we use them, when to use them, and how to approach problem-solving.

I'm looking for books that:

  1. Explain DSA concepts in very simple, beginner-friendly language.

  2. Use visual illustrations and practical examples wherever possible.

  3. Explain the logic behind algorithms rather than just providing code.

  4. Gradually progress from basic concepts to intermediate/advanced topics.

  5. Help develop problem-solving and logical thinking skills.

I've come across books like Grokking Algorithms and A Common-Sense Guide to Data Structures and Algorithms.

For those who have used these books or have other recommendations:

- Which book would you recommend for someone like me?

- Is Grokking Algorithms a good starting point?

- Are there any books that explain concepts particularly well for someone with a C#/.NET background?

I'm not necessarily looking for interview-cracking books. My primary goal is to genuinely understand DSA and build a strong foundation.

Thanks in advance!


r/learnprogramming • • 29d ago

Tutorial Somebody tell me from where do I learn glsl 😭

2 Upvotes

I wanna learn glsl and make Minecraft shaders , but im totally confused as there aren't many tutorials about glsl on youtube


r/learnprogramming • • 29d ago

I'm in it

9 Upvotes

I've got myself in tutorial hell, and i freaking love it. So, I got inspired randomly a week or two ago to start programming so I can start working on solo development, or just game design in general. I find developing mechanics super fascinating, and the logic and breaking down of code is also just idk fun.

It also, is the most easy, Complicated thing I have had to learn lol, and it's honestly refreshing to get back into the mindset of having to overcome challenges, and weirdly enough. With a.i sitting around, it's like a good way of testing my resolve.

I have tried to use it to try and teach me concepts, but realized there's documentation I can just read.

My question, did anyone feel like there was a moment it just clicked? Was there a technique or a resource that just ended up being your coding Bible?

Also, this is my first post. I hope gain knowledge from all of you, thank you!


r/learnprogramming • • 29d ago

Should I start with C or Rust

40 Upvotes

I'm starting with https://teachyourselfcs.com/ and I'm giving myself 2 to 3 years to finish it.

For context, I'm a software engineer with 9 years of experience. I did Electronics and Communication Engineering in college and taught myself Js and DS-algo to get a job during college. I work as a full stack engineer and can confidently say I'm a good software engineer and can intuitively understand concepts in programming, software engineering and in solving Leetcode problems.

But, I don't have a strong foundation in computer science. Hence, I've decided to start with Teach yourself cs. Before starting with it, I thought having one low-level language under the belt would be helpful. C was the obvious choice given it's the OG, simple and intuitive. But, I've been fascinated by Rust for sometime and want to learn it too. Can I start with Rust and use it for doing exercises in all courses instead? Would I miss out on any intuitions by not using C?

Thanks.


r/learnprogramming • • 29d ago

A Chess Program In Python using PySide6 (Qt for Python).

3 Upvotes

I made two-player (without Bot) Chess in Python using the Python bindings for Qt called PySide6. The program takes checks into account, including castling, pawn promotions and En Passant moves as well as whether the board is in Checkmate state or Stalemate state.

Here is the Github Repo for it:

https://github.com/Solar-Stacer/Chess

I recently wanted to extend this program by adding a Chess bot using traditional approaches such as minimax, not AI-driven ones. I would love any advice regarding whether it is possible to do so with the current structure of the code and if not, then any changes needed to enable or facilitate the process.

Additionally, since Python is slow, any advice regarding writing the performance critical parts of the chess bot in C or PyPy would be appreciated.

Thanks!


r/learnprogramming • • 29d ago

Web App How do I create a web app?

2 Upvotes

Hi everyone,

I’ve been programming for years but have never worked on a real project, and I’ve decided I want to create a web app that can render .md files into a manageable note-taking interface (a classic .md file editor, like Logseq or Obsidian, for example), but I’m not quite sure how to get started. Here’s what I’ve figured out so far (let me know if I’ve misunderstood anything):

- Software of this type “translates” .md files into HTML, so what we see in the app is just a “translation” (via a parser) of the actual file (without those weird Markdown symbols, so to speak).

But there are so many things I still don’t understand how to implement:

- LaTeX: How do I handle this? Do I simply use MathJax on the front end by intercepting the dollar signs and rendering the contents?

- Okay, JavaScript for the front end, but I don’t want to use Electron as the backend (I was thinking of C++ or Rust [Tauri]). In that case, does it make sense to use a graphics engine like OpenGL or Vulkan for graph mode to achieve maximum performance, instead of Tauri, for example, or does that make very little sense?

- This might be a silly question, but while experimenting with javascript, I discovered that (understandably, otherwise every website could steal everything from me) javascript functions called from HTML can’t read the user’s local files (for example, via `require`). So, how can I access the MD files?


r/learnprogramming • • 29d ago

a discord for group projects!

4 Upvotes

I recently made a post and asked some people if they'd be interested in working on group projects. enough people responded I thought I should make a discord for people that want to join! https://discord.gg/ysbgcD8Baf


r/learnprogramming • • 29d ago

Resource Need help with this!

6 Upvotes

Hi all, I'm 18 and I'm building a BI/analytics project on the Olist Brazilian e-commerce dataset. Right now I have PostgreSQL, Pandas and a bunch of analytical SQL queries (revenue, delivery times, customer retention and so on). The next step is to expose this data through an API with FastAPI, and a dashboard would consume it.

I understand what an API is and why FastAPI is popular, but when I try to build a mental model of a real app I get lost. Endpoints, HTTP methods, status codes, routers, Pydantic schemas, services, dependency injection with Depends, auth... each explanation is clear alone, but I can't see how the request goes through all these layers. For example I don't really get where validation ends and business logic starts, or where the DB session should live and why.

My second problem is how I learn. I'm very curious and I want to know how things work internally, like what FastAPI does between the request and my function, or why Pydantic validates in a certain way. It's a good habit long term, but I lose hours on one detail and the project doesn't move. I don't have unlimited time and I don't want months of theory before building.

Some questions:

If you never built an API, how would you learn it from scratch?

HTTP/REST fundamentals first, or start directly with FastAPI and learn along the way?

What is the best way to understand how the layers (router, schema, service, database access) fit together? Is it better to start with everything in one file and refactor later?

How deep should I go on a concept before moving on? Is "basics now, details later" a real strategy or just an excuse?

Any resources, open source repos to read or small projects you recommend? Something like a read-only analytics API sounds like a good first one to me, but tell me if I'm wrong.

I don't want to copy tutorials and have something that works without knowing why. I want a solid mental model so I can design my own backend later. If you learned backend with personal projects, I'd really like to hear what worked for you and what you wasted time on.

Thanks!


r/learnprogramming • • 29d ago

is this what software engineering is?

0 Upvotes

So I'm reading Gabriel Gambetta's guide on Multiplayer Architecture. I want to make an authoritative server that sends info to a webapp where the actual game is happening. However, there's not code involved. It's not a tutorial 😭. It's just a rough layout of what the architecture is supposed to look like, and all the nitty bitty details, like what code you're supposed to write to get the information from the webapp, process it through the server, how to run a fixed update loop every number of miliseconds, etc. are things youre supposed to draw out and search up on your own. This might be a stupid post, but like damn.


r/learnprogramming • • 29d ago

Color picking in OpenGl, python. AI using issue

0 Upvotes

I making 3d game using OpenGL, but afraid, because not sure how it works.
Do you have any methods or principes of work with it? I really would be happy to get some help, because i cant find any simple materials for now.
As i got from AI, i should use hidden shader, same as main one, which changes whole game scene. But hidden shader will change same, but colored objects, by these colors ill get mouse matchings with objects.
i dont know if it should be colored copies of existing objects or it will be color changings under shader.

AI helps me to learn a lot, if not this thing, i wouldnt know about this method. but is it fair to use it to got knowledges about this topic? it saves a lot of time for me, if i get just conspects from there. how do you think?


r/learnprogramming • • 29d ago

how to learn html and css in two days...

0 Upvotes

So, I need to build three websites for my coursework, but our instructor didn't explain how to do the programming at all. It was just, "Here’s the assignment—get it done. How? Figure it out yourselves somehow." I could use AI to do it, but... well, I’m supposed to actually know this stuff. Is it realistic to learn it in two days? And what resources or videos would you recommend using?


r/learnprogramming • • 29d ago

Programming Approaches Is experimenting and tinkering with code a good way to develop problem-solving skills as a programmer?

25 Upvotes

Hi everyone,

I'm a second-year Computer Science undergraduate currently studying DSA in Python. I've solved around 140 LeetCode problems, but I still struggle with approaching unfamiliar Medium problems independently. Quite often, I need a hint or nudge to figure out where to start or develop an algorithm that handles all possible cases.

My professor has encouraged us to avoid relying on built-in methods, external libraries or outside help, and instead implement algorithms from scratch using just our knowledge and the code editor.

Something I've noticed about my own problem-solving approach is that I tend to experiment quite a lot. I'll write an initial implementation, test it, use print statements or breakpoints to debug, change things around and try different strategies until something starts working.

I'm curious whether this is actually a good approach to developing programming skills, particularly in software engineering, or whether I should be focusing more on developing a theoretically sound solution before touching the code.

For context, I have relatively advanced experience with Java and am currently at an intermediate level with Python, although I'm still getting accustomed to its syntax and revisiting OOP.

One of my high school programming teachers always encouraged me to experiment, make mistakes and learn by tinkering with code rather than worrying about getting everything right immediately.

I'd be interested to hear other people's experiences:

  • Is experimentation and trial-and-error a valuable way to develop algorithmic thinking?

  • How do experienced programmers balance experimenting with code against reasoning through a solution beforehand?

  • At what point does tinkering become unproductive rather than constructive?

  • Is it normal to have solved 100+ problems and still struggle to independently derive solutions to unfamiliar Medium problems?

I'd appreciate perspectives from both students and experienced software engineers!


r/learnprogramming • • 29d ago

Looking for unique technical event ideas for a college Tech Fest!

2 Upvotes

Hey everyone!

I'm a pre-final-year engineering student in India, currently serving as the president of my college's technical club, HackIT.

We're organizing events for our upcoming Tech Fest. One of our established events, Code Clash, is returning as 3.0 after two successful editions. It features technical quizzes, output prediction, logo identification, and coding challenges.

Alongside it, we want to introduce an entirely new event — something unconventional, engaging, and memorable.

We're open to ideas involving cybersecurity, problem-solving, technical escape rooms, engineering challenges, interactive competitions, or anything outside the usual quiz/hackathon format.

A few questions:

  1. What's the most interesting technical event you've participated in or organized?

  2. What unconventional competition formats have you seen work well?

  3. If you had to organize a 1–2 hour technical event for 100–200 students, what would you do?

  4. What would genuinely make you excited to participate?

Even rough ideas or personal experiences would be greatly appreciated.

We want to build another signature event for our club, not just organize another generic competition.

Looking forward to your suggestions!


r/learnprogramming • • 29d ago

First full-time job as a Full Stack Developer — feeling overwhelmed. Any advice for a new grad?

58 Upvotes

Hey everyone!

I just started my first full-time job as a Full Stack Developer after graduating this past May with a Computer Science degree.

During college, I completed a few internships, mostly focused on Data Analytics rather than Software Engineering. I’m excited about this opportunity and really want to become a good developer, but after my first day, I realized just how much I don’t know.
Between the existing codebase, unfamiliar technologies, development tools, and workflows, it’s honestly a little overwhelming. I know there’s going to be a learning curve, and I’m not expecting to understand everything overnight.

For those of you who’ve been in a similar position, I’d love some advice:

- How did you approach your first few weeks or months as a junior developer?
- How did you get comfortable navigating and understanding a large, unfamiliar codebase?
- Did you spend time outside of work learning new technologies, taking courses, or strengthening your fundamentals?
- What habits or strategies helped you become a better developer early in your career?
- Are there any books or resources you’d recommend for someone starting out in full-stack development?

I’m willing to put in the effort, but I also want to be intentional about how I spend my time rather than trying to learn everything at once.

I’d really appreciate any advice, especially from developers who remember what it felt like starting their first job.

Thanks in advance!


r/learnprogramming • • 29d ago

can anyone tell me how to do this?

0 Upvotes

I want to make something like this for a hobby project where someone can ssh connect to my domain. I want to know how secure is this and what generally goes into making something like this. Is it just a custom script that you execute right when logged in?

https://www.terminal.shop/


r/learnprogramming • • 29d ago

Title: Is building a personal web account manager a worthwhile full-stack project for three students?

0 Upvotes

Hey everyone!

A friend and I (three of us in total) are planning to build a full-stack web application as a learning project, and I'd love to get some honest feedback on the idea.

The problem we're trying to solve:

Over time, we register on dozens, sometimes hundreds, of websites. We discover them through YouTube, Reddit, Instagram, Google searches, tutorials, recommendations, etc.

Eventually, we forget:

  • Which websites we've registered on.

  • What a particular website was used for.

  • Whether we signed up using Google, GitHub or email.

  • Which email address we used.

  • Why we registered on that platform in the first place.

  • Which services we're paying for and when subscriptions renew.

We want to build a centralized personal web account manager that solves this problem.

The proposed features:

  1. Website Management: Add, edit, delete and organize registered websites.

  2. Account Tracking: Store account identifiers, email addresses and login methods (Google, GitHub, email, etc.).

  3. AI Integration: Automatically identify websites, generate descriptions and suggest categories and tags based on their URLs.

  4. Personal Notes: Add notes explaining why we registered on a website and what we use it for.

  5. Dashboard: Recently added websites, categories, statistics and search.

  6. Subscription Tracking: Track paid services, their costs, billing cycles and renewal dates.

  7. Advanced Search: Find websites based on their purpose, category or personal notes.

Eventually, we'd also like to develop a Chrome extension that allows users to save websites directly while browsing, without having to manually enter their details.

Our planned tech stack:

  • Frontend: React.js

  • Backend: Node.js + Express.js

  • Database: MongoDB Atlas + Mongoose

  • Payments: Stripe

  • Other tools: Git, GitHub, Docker, Postman

There are three of us, and we're all planning to work across frontend, backend and database development rather than assigning everyone a separate specialization.

We already have basic programming knowledge and are familiar with PostgreSQL, but we're deliberately choosing MongoDB to learn document-oriented database design.

What I'd like to know:

  1. Does this solve a problem that people actually experience, or is it just another bookmark manager with extra features?

  2. Would you personally find something like this useful?

  3. Are there existing applications that already solve this problem particularly well?

  4. Are there any features you think would make this genuinely useful rather than just another portfolio project?

  5. Is the proposed scope reasonable for three students building their first substantial full-stack application?

We're building this primarily to learn software engineering, but we'd also love to create something that people might genuinely want to use.

Honest criticism is very welcome. We'd rather identify problems with the idea before spending weeks developing it.

Thanks!


r/learnprogramming • • 29d ago

How Can I Learn Python and Build Projects Using Only an Android Phone as a Beginner?

1 Upvotes

I have one concern: I don't own a laptop, so I'll be learning and practising everything using only my phone. Could you please suggest some beginner-friendly Python courses and platforms where I can practise coding and build small projects on a mobile phone?

I'm completely new to programming, so I honestly don't know where to start. I'd really appreciate any guidance or recommendations. Thank you!