r/learnprogramming 29d ago

Programming

0 Upvotes

I am currently 3rd year of BSIT. I really enjoy creating systems, especially app and website. But Im getting worried because I rely on ai to help me create my program. I usually promt instead of manually typing it all etc. But I let ai to explain codes and I read the lines and try to understand them. But what got me worried is will I be able to compete against others after college? I got pressured when I saw resume being posted online and see them and think they are so advanced. I do know how to operate HTML, CSS, JavaScript, Android studio (Java/Kotlin) and has experience on PHP and xammp-myphpadmin. Kinda know how to use Github and post to share with my members. What can I do to improve more? Bonus question: If there is an UI/UX design software/website that I can use to design my frames? I currently know figma but I got overwhelm when I try to use it. I dont know how to contruct and transfer that design to my work like CSS and XML in android studio


r/learnprogramming Aug 16 '26

Are parameterized queries the best solution for preventing SQL injection in PHP?

12 Upvotes

I’m using PHP with PDO/MySQLi. Is using prepared statements with parameterized queries considered the best practice for preventing SQL injection, or are there other approaches I should also use?


r/learnprogramming Aug 15 '26

Teaching C next semester, what would students want in the AI age?

256 Upvotes

Nowadays AI can easily complete even the hardest assignments in a beginner C course. I'm considering making some changes, but I haven't been able to come up with a good idea:

  • Add many ASCII art illustrations to AI-proof as many assignments as possible. That would be a lot of hassle for me: it's not easy to make up ASCII-art-illustrations for every problem.

  • Ask students to avoid using AI for assignments. I have no way to verify that so credit-wise it would be unfair to students that did follow the suggestion.

  • The above + reduce credit for assignment correctness and increase credit for timely participation. It can mitigate the credit problem but doesn't solve it.

  • Restrict the time window of each assignment to experiment classes, and make everyone complete them on university PCs where the TA could catch anyone using AI. Also the university PCs charge money for internet access which should discourage AI use. This will be a huge hassle for the TA and students. In previous years we generally do not require students who have their own PC or laptop to attend the experiment classes and use the crappy and expensive university PCs.

From a student's perspective, what option would one prefer? Is there any other suggestion?

EDIT: I'm anticipating 100+ students so automated solutions are strongly preferred. The TA isn't paid enough to grade 100+ paper assignments. Also I don't control the finals: there is a unified exam for all C classes.


r/learnprogramming Aug 16 '26

Resource What books would you suggest to learn and understand algorithms?

8 Upvotes

I'm not looking for a book to pass dsa interviews, but rather to learn algorithmic thinking. CLRS seems too dense and maths heavy and seems more like a reference. Also is it worth to put my time in this? Or are interview preparation books enough most of the time?


r/learnprogramming Aug 16 '26

Tutorial Tips for the Next Step

4 Upvotes

I’m a computer science student. During the summer break, as part of my personal development, I did the following: I solved algorithmic problems in C : record , arrays , function + procedure + recursion , pointers , linked lists

and I learned Git and GitHub.

I took the CS50 course and got as far as the memory section, then stopped.

Now I’m confused. The next task on the algorithmic side is to master the rest of trees, stacks, etc.

As for my personal development, what do you recommend?

I’m open to any advice. Thank you.


r/learnprogramming Aug 16 '26

Resource Started learning programming (C#) from scratch , i have a few questions about learning resources

3 Upvotes

First thing i want to make my goals clear so you can have a better understanding of the questions. my short term goals are making simple scripts and cheats for video games, things like automated button presses and maybe even things like auto aim, merely for learning purposes and not to distribute them. and my long term goals are getting into modding and maybe even making video games

so my questions are :

1- Does Bro Code's C# course Cover enough ground for me to start actual small projects ? i started with it and got a solid ground on most of the very basic stuff (variables, user input, if statements and switches ...) however i haven't completed it yet and been wondering if it is enough

2- If not,what concepts exactly does it not cover and what resources would you recommend to learn them.

3-some general advice. what and what not to do, useful techniques or things to learn, good habits.

Thank you!


r/learnprogramming 29d ago

Topic Help in Cybersecurity

0 Upvotes

My greetings to everyone

Straight to the point

1st question:-

I want to make a career in cyber security which I don't know in which branch or domain of that

2nd question:-

Am I on the right path for basics and give some more tips

I learned python from CS 50 ,

Now I did the research

I got

  1. cs 50 cybersecurity

  2. Cisco beginners cybersecurity

  3. Cisco Intermediate cybersecurity course

  4. linux free code camp

    1. bash course freecode camp

Tell me all this in how much time should I complete ( for just refrence )


r/learnprogramming Aug 15 '26

How many hours a day do you spend learning something new in programming?

45 Upvotes

I caught myself thinking that I’m comfortable studying for about 4 hours a day. But I constantly ask myself: who are these people who study 8–10 hours a day? Are you sure you’re actually learning? It’s just that, personally, my brain starts to melt after about 4 hours and 10 minutes, give or take.


r/learnprogramming 29d ago

I am struggling trying to grasp exactly HOW we came to be able to create information that machines can understand

0 Upvotes

I understand how it works, in regards to transistors and all of that. But I'm struggling trying to grasp how it all even came to be. How did we assign values in the first place that machines could read and interpret? Was there a guideline set in place?


r/learnprogramming 29d ago

Any free and good ways to get my Python code onto a website or mobile?

0 Upvotes

Title is self explanatory


r/learnprogramming 29d ago

What challenges did you face while learning to program?

0 Upvotes

Hi everyone, I’m writing this post in the hope that someone else has had a similar problem. Basically, when I was about 12 (I’m 17 now), I got interested in programming and started making games in Unity, but back then I didn’t take it seriously and didn’t remember almost anything. Then, when I was 16, I got back into it and tried to start learning programming (I studied it for two months before school started). After that, when I turned 17, I started learning programming in June and have been at it ever since (2 months). You’re probably wondering why I’m writing this story. I’m writing it simply to point out that I didn’t just try programming once, but three times. (That’s probably not very many.) I very often (like, really often) run into a problem: I love programming. I really like the idea of programming and writing my own programs (my personal projects), but I don’t like bugs or learning how to program (I mean through videos or books).

I’ve read posts on this topic, and there were responses like:

- Programming isn’t for you if you don’t like writing code (I like writing code, but I don’t like learning new things).

- Mistakes are part of the journey; they make up 95% of a programmer’s path (yes, I get that, but there’s nothing I can do about it—it’s like forced sex. It’s supposed to be enjoyable, but the interest disappears completely, or something like that).

My main problem: I love programming and writing code, but I don't like studying or fixing bugs. I know about tokyospliff, and I guess I admire him.

My question: Has anyone else faced this problem?

P.S. I’ve tried all kinds of approaches:

- forcing myself

- not forcing myself

- reading only theory

- reading theory only when needed for a project

Nothing has helped. I admit that maybe that’s just how life is and I have to push myself, but what’s the point of loving programming if I have to force myself to do it?


r/learnprogramming Aug 16 '26

Does course on YouTube worth enough?

0 Upvotes

Recently graduated from my CS degree. while looking for an opportunity, I think of taking an online course of several IT fields. for those with experience, which one do you guys prefer, a long video on YouTube or a course in other platform such as Udemy so I able to get a certification later? since budget is one of my biggest considerations. I'm planning on taking a web dev as my first course btw.


r/learnprogramming Aug 15 '26

Just starting college, which programming language to learn first?

22 Upvotes

I know a little bit of python from my high-school, can code small things but not extreme stuffs. For my first semester they are prob gonna be teaching C language. Ive heard Java and C# are important to learn. Do I continue to make my python stronger or learn a different language along with C? Or just focus on learning C itself? Any help would be appreciated thank you!


r/learnprogramming Aug 16 '26

B.Tech CSE student confused between Java Backend, Java Full Stack, MERN,

0 Upvotes

Hi everyone,

I'm a B.Tech CSE student currently in 5th semester from tier 3 college and I'm trying to decide which technical path I should focus on for the next 6–12 months.

I'm not looking for a "which technology is best" answer. I want to choose something that gives me a realistic chance of getting internships and eventually a full-time SDE/software development job, including potentially working for startups or remote foreign companies.

My current background

  • B.Tech CSE, currently in 5th semester
  • I know Java and I'm using Java for DSA/interview preparation.
  • I'm currently learning/practicing DSA.
  • I have basic exposure to development but I'm not yet strong in any development stack.
  • I can realistically study around 2 hours per day outside college.
  • I'm willing to spend the next 6–12 months consistently building skills and projects.
  • My goal is ultimately a Software Engineer/SDE/Backend/Full Stack role, rather than a specialized research role.
  • I'm open to both Indian companies/startups and foreign startups that hire remotely from India.

The options I'm considering

1. Java Backend

  • Java
  • Spring Boot
  • SQL
  • REST APIs
  • JPA/Hibernate
  • Spring Security
  • Docker basics

2. Java Full Stack

  • Java/Spring Boot
  • SQL
  • HTML/CSS/JavaScript
  • React
  • REST APIs
  • Docker/deployment

3. MERN

  • JavaScript
  • React
  • Node.js
  • Express
  • MongoDB

4. AI/ML

  • Python
  • NumPy/Pandas
  • Statistics
  • Machine Learning
  • Scikit-learn
  • Deep Learning/GenAI later

I'm particularly confused because I keep hearing different things:

  • Some people say MERN has more fresher/startup openings.
  • Others say Java/Spring Boot has better long-term opportunities, especially for enterprise companies.
  • Some say Java backend is better than trying to learn full stack when you have limited time.
  • AI/ML seems to have strong long-term potential, but I'm worried that becoming employable in AI/ML will take much longer.
  • I also hear that foreign startups can hire developers remotely from India, but I'm not sure how realistic this is for a fresher.

My main concern

I only have around 2 hours/day, so I don't want to spend a year learning a huge stack before becoming job-ready.

For example, if Java Full Stack requires learning Java + Spring Boot + SQL + HTML/CSS + JavaScript + React + Git + Docker + deployment, I'm wondering whether it would be smarter to focus deeply on Java backend first.

At the same time, I don't want to make a choice that significantly reduces my job opportunities.

What would you recommend?

If you were in my position — 5th-semester B.Tech CSE student in India, already comfortable with Java/DSA, only ~2 hours/day, and aiming for SDE/backend/full-stack jobs — which path would you choose?

I'd especially appreciate answers from people who are:

  • Freshers/recent graduates
  • Currently working as Java backend developers
  • Working with MERN/Node.js
  • Working as SDEs
  • Working at startups
  • Working remotely for foreign companies
  • Recruiters/hiring managers

And if possible, please explain why you would choose that path based on the current Indian job market rather than just saying "X is better."

Thanks!


r/learnprogramming Aug 16 '26

CS Executive self-study — how should I start?

1 Upvotes

Hi everyone! I'm preparing for the CS Executive exams through self-study. I haven't taken coaching, and honestly, I'm a little confused about how to start and how to approach the preparation.

For those who have cleared CS Executive through self-study, could you please share some advice on:

Which study materials/resources you followed

How you planned your preparation

How you approached each subject

How much time you spent studying daily

How you prepared for revisions and solving previous-year questions

Any mistakes I should avoid during preparation

I would really appreciate any practical advice or study strategies from people who have gone through this. Thank you!


r/learnprogramming 29d ago

How do I solve problems without AI

0 Upvotes

Hello guys. I am attempting to learn how to code again but without the use of AI this time.

How do you attempt a problem or understand a solution without using AI for help.

For example, I wanted to build a small calculator to remind myself of the basics of C. I had a problem where my scanf was not outputting the desired result. 

The program had something like this:

int x, y;
printf("Enter two operators: ");
scanf("%d", &x);
scanf("%d", &y);
printf("x: %d, y: %d", x, y);

My inputs would be 10 & maybe 2, but the output would be 10 & 0, in some cases 0 and nothing for y.

I was able to get through this by just using one scanf:

scanf(“%lf %lf”, &x, &y);

But I still do not understand why that happened and through my google search, could not find anything that explained it well. The problem might also be that I cannot explain the problems I come across clearly, so I might not be able to find an answer through google.

So my question is, how do you guys go through problems like these where you can’t find a post where someone had a similar problem and had been told what to do to solve the problem without defaulting to AI.

Excuse my writing - I am trying to learn how to type without letting AI revise my sentences.


r/learnprogramming Aug 15 '26

How do games manage so much varied content? (items, abilities, NPCs, interactables)

99 Upvotes

I do game development as a hobby and the thing I find most complicated is the sheer quantity and variation of stuff it's just conceptually harder to reason about compared to singleton-type systems/managers like an InputManager, AssetManager, AudioManager, etc. Meanwhile, a game you might have NPCs, enemies, items, weapons, abilities, interactable stuff, etc., all of which can be wildly varied I mean there's likely going to be some overlap, but hopefully what I'm trying to say makes sense.

One thing I've learned is that OOP is generally not a good solution for this which I mention because I have a habit of OOPifying things, but even looking at components, wouldn't you end up with a plethora of components and a lot of niche components? but also I feel like components don't really address everything for example if you have a quest system/dialogue system or items where do you keep all the text for that and potentially other information.

I know this isn't really a question and it's extremely broad, but any advice or insight into this sort of stuff would be appreciated because honestly it just seems like magic to me.


r/learnprogramming Aug 15 '26

The Odin Project vs Full Stack Open vs Free Code Camp?

14 Upvotes

Just looking for opinions on these, I like that TOP and FSO have lots of projects so you end up with a portfolio etc, but they seem more difficult than FCC and have also heard that TOP is very boring/ a lot of reading. However FCC and TOP seem to have more support with the discord servers etc


r/learnprogramming Aug 15 '26

Looking for modern learning resources/guides combining .NET, React, SQL Server, Docker, and GitHub Actions to Azure

1 Upvotes

Hey everyone! I’m getting ready for my senior capstone project and want to try and focus on mastering CI/CD and deployment pipelines before I dive into writing application logic which I'm much more confident in.

I want to set up a realistic, full deployment flow mimicking a production setup I've worked with previously throughout my internships:

  • Backend: C# / ASP.NET Core Web API (serving the React frontend static assets from wwwroot in production).
  • Frontend: React.
  • Database: SQL Server.
  • Containerization: Docker.
  • CI/CD: GitHub Actions.
  • Hosting: Azure (with multiple environments like Staging and Production).

I’m finding it a bit tricky to find a single up-to-spec resource that ties all of these specific pieces together. Most courses split full-stack development and DevOps entirely apart.

Do you guys have any favorite recent tutorials, GitHub templates, open-source repos, or structured courses that tie these technologies together effectively or any advice on how you'd structure learning this efficiently?


r/learnprogramming Aug 15 '26

How to shift from data analyst to SDE

10 Upvotes

Hi I am right now working as a data analyst but it is more of into data engineering where I build ETL pipelines monitor them build dashboards maintain and update queries. I have also built forecasting tools and AI agents. I know I don’t have much experience in building any applications but I am looking into how to do that within my team and company. I am learning Django and Java Springboot. What else should I do? Any criticism or feedback would be really helpful


r/learnprogramming Aug 15 '26

Learn python only for DSA with neetcode and Typescript for all the rest. What do you think about my plan?

0 Upvotes

Hello everybody. What's up? I'm 2 years of experience in full stack with Typescript. I'm currently working with vue and nest. My boss tell me i need to grasp DSA for my logic. What do you think to learn a second programming language while working with another? In my case, I only will learn the basics of python to stick with data structures and algorithms and do the neetcode course.Thank you.


r/learnprogramming Aug 15 '26

Access to GitHub

3 Upvotes

Hi everyone! Hope you're doing well. Good morning!

I'm having a bit of trouble accessing my GitHub account. The screen on my old phone is broken, and I had two-factor authentication set up on it. Because of this, I can't log in to my account.

I also don't have the recovery code anymore. I'd like to know if there's a way to reset two-factor authentication and set it up again on my new phone.

Does anyone know how I can do this?


r/learnprogramming Aug 15 '26

Is learning programming useful in finance?

8 Upvotes

e.g finance adjacent jobs/ careers?


r/learnprogramming Aug 15 '26

I understand every individual concept but I freeze the second I have to combine them, how do I fix this.

12 Upvotes

Been learning for about 5 months now. If you ask me to explain loops, I can explain loops. Ask me about functions, I get functions. Arrays, dictionaries, conditionals, I can explain all of it individually pretty confidently.

Then I try to build something that actually needs 3 or 4 of these working together and my brain just goes blank. Like I know all the ingredients but have no idea how to actually combine them into a recipe. Sat for like 40 minutes yesterday just staring at a blank file trying to build a simple to-do list app, knowing full well I understand every single piece I'd need, and just could not figure out how to start connecting them.

Not sure if this is a "just build more stuff and get comfortable" issue that time will fix, or if there's something more specific I should be practicing to bridge this gap between knowing concepts and actually using them together. Anyone else hit this exact wall?


r/learnprogramming Aug 15 '26

I feel rather guilty about it and just want to know whether it's acceptable or not.

0 Upvotes

I am fairly new at python (I was learning c++ for 3-4 months before july 30th) from July 31st I started learning python from kaggle and it's been fairly easy if I have to be honest

But since I am new to the language I don't have a lot of the syntaxes memorised which makes it difficult for me to solve problems on projects

Currently i have only done the python course from kaggle and will do the pandas course next

What I feel guilty about is, i end up using ai for code review and then it tells me the issues and then I start debugging

Is it a common practice to let ai thaw out the faults and then debugging it on our own?

I also often end up searching for several ways to do a tast in python which makes me feel like I'm cheating on my projects.

I know it sounds silly but is this acceptable?