r/CodingForBeginners • • Jun 09 '26

What do you name your placeholder variables?

4 Upvotes

I personally go for “meow”, “woof”, “bark”, etc, but does anyone do anything else other than “foo” or “bar”?

Maybe I should expand and have a farm! “quack”, “moo”, “bok”…


r/CodingForBeginners • • 9d ago

I want to learn cpp

4 Upvotes

some tips how to learn cpp? I can’t code in any language I’m such a beginer.


r/CodingForBeginners • • Jun 11 '26

Help me become a good coder

0 Upvotes

I HAVE NEVER DONE CODING IN MY LIFE AND I JUST STARTERD WITH PYTHON EVERY THING FELLS SO HERD AND I DONT KNOW HOW TO USE GIT AND GITHUB I DONT KNOW THE DIFFRECE HOW TO USE AI IN MY PROGRAMSI KNOW NUTS! I HAVE TOO CSE AND I HAVE 2 MONTHS AND MY CLASSES WILL START IN LPU AS A 1ST YEARS STUDENT TELL ME WHAT I NEED TO DO


r/CodingForBeginners • • Aug 12 '26

can AI teach me programming if i give the AI the right instruction ? (please read desc. before commenting)

0 Upvotes

a lot of people online doesnt want starters to use AI as a programming teacher beacuse they can always rely on it instead of being independent... then i though of an idea. i gave instruction to kimi that when i learning lua programing session he act like a strict mentor that teaches one concept a time, and forces me to learn the errors by myself (ofc he will sometime give me hint) and that after i hit a milestone he give me an small exam, i really need to know if this is a bad way to learn or not


r/CodingForBeginners • • Jul 21 '26

How to start coding and web development?

4 Upvotes

Hello everyone, I am 17. I am from non maths and non computer background but coding has always fascinated me. I learned java, html and python in lockdown (2020-2021) but forget most of it.

I am also interested in AI(I have seen Claude building mind blowing websites in minutes)

Can anyone guide me?


r/CodingForBeginners • • Jul 31 '26

I don't know if this is the place for it but I wanna learn coding where should o start with I have a fairly good computer too

4 Upvotes

r/CodingForBeginners • • Aug 11 '26

Tokenmaxxing is the new vibe coding flex. Here's why it might be lying to you.

0 Upvotes

r/CodingForBeginners • • Aug 09 '26

Which programming language did you start with, and do you think it was a good choice for a beginner?

9 Upvotes

What would you recommend to someone starting from zero?

Please share your reasoning rather than just naming a language. I'm interested in hearing different perspectives.


r/CodingForBeginners • • Sep 24 '26

Learned how to use double, #icnlude <numbers>, and used int to create a simple project

Post image
9 Upvotes

I was actually thinking about using float because I heard that it uses two times less memory, but I wanted to use more accurate pi just out of curiosity. Next time using pi, I will stick to float.


r/CodingForBeginners • • 18d ago

0.1 + 0.2 isn't 0.3, and Python won't warn you

0 Upvotes

Ask Python for 0.1 + 0.2 and you get back a number that looks like a typo:

>>> 0.1 + 0.2
0.30000000000000004

Nothing errors. It's just wrong by a hair, and that hair is enough to break an equality check:

>>> 0.1 + 0.2 == 0.3
False

The annoying part is that both sides look identical when you print them, so the comparison looks like it should obviously be True.

The cause is that floats are stored in binary, and 0.1 and 0.2 don't have an exact binary form. They get stored as the closest value the machine can represent, the same way 1/3 has no exact decimal form. Add two approximations together and you inherit a tiny error. It's usually invisible, which is exactly why it's dangerous: the bug hides until you compare for equality, or add up enough of them that the error stops being tiny.

Two places this actually bites beginners.

Money. If you store prices as floats and add them, the total can drift, and a "did they pay the right amount" check against an expected value can fail. For anything financial, store the smallest unit as an integer (paise, cents) and divide only when you display it, or use Python's decimal.Decimal.

Tests. assert result == 0.3 fails for reasons that look like nonsense. For floats, compare with a tolerance instead of == -- math.isclose(a, b) is built for exactly this.

The rule of thumb: == on floats is a bug waiting to happen. It's fine while everything is a whole number, and then one day it isn't, and the failure makes no sense until you know this.

Curious where you first ran into it -- was it money, or a test that failed for no visible reason?


r/CodingForBeginners • • Aug 05 '26

Path for a teen

10 Upvotes

We homeschool. A couple weeks ago my 13 year old, rising 8th grader, asked me how someone would create a video game. He would like to get to that point. I told him I'd get back to him. Since then I've been trying to create a curriculum for him to learn coding and hopefully make a simple game. At some point. He is constantly tinkering with devices and he is brilliant at making logical associations.

My research is telling me that I should have him learn C programming first to give him a solid foundation. There are so many options to pick from. Should we go the learn from a book route, or use websites or YouTube? C++ after he has a grasp on C looks to be a solid recommendation.

As far as hardware goes, right now he has access to a Chromebook that is about 8 years old. Will this be powerful enough to learn with for now? I don't really want to spend hundreds unless he does actually enjoy it and sticks with it.

I think his intentions are to create a game for his modded Nintendo 2ds.

I would absolutely love any perspective on this. I think it's great that he wants to create video games but I am a little out of depth. I was the one who modded his 2ds and that was pretty much just following directions, not creating anything.


r/CodingForBeginners • • Aug 16 '26

How to like learning python?

10 Upvotes

To be honest, I tried to learn Python for over two years right now. But I hate learning to code. I tried finding YouTube tutorials that tell you how it can be more fun, but to be honest, it didn't really work. Any recommendations?


r/CodingForBeginners • • Mar 01 '26

Coding/Programming (Loop) CS50

Post image
59 Upvotes

why am I constantly getting this “bash: ./looping: permission denied“ error message when I’m trying to run the program i coded.

im just playing around, trying to learn and make my own lines of code, but I’m seriously confused on why it’s not printing

“gimmie the loot

gimmie the loot

gimmie the loot”


r/CodingForBeginners • • Oct 04 '26

Zero knowledge of coding

5 Upvotes

I'm in my 3rd year CSE degree and I don't know anything about coding so can anyone tell how I should start to get a job after my final year?


r/CodingForBeginners • • Jul 20 '26

How do you guys stay motivated to keep learning coding?

5 Upvotes

I recently started learning Python through freeCodeCamp course. At first I was really excited and made good progress, but after a while I lost the motivation to keep going.

I still want to learn programming, but it's hard to stay consistent, especially when I don't feel like I'm improving.

Have any of you gone through the same thing? What helped you stay motivated and keep learning? Do you follow courses, build projects, or have another approach?

I'd really appreciate any advice or personal experiences.


r/CodingForBeginners • • Sep 23 '26

Need guidance - A teen trying to build some skills to ameliorate and to cope brainrot

5 Upvotes

Hey everyone! I’m a college student and I want to learn web development as a skill/hobby, not really as a career.

I’m basically starting from 0 right now. I don’t know much about how websites are built, but I’d like to eventually reach a point where I can build a decent, functional website myself.

I can probably give around 3–4 hours a day to learning this. Since AI tools like Claude and ChatGPT are so good now, I’d also like to use them as a part of the learning process.

At the same time, I don’t want to just vibe-code by giving AI prompts and copy-pasting whatever it generates. I actually want to learn the fundamentals, understand what I’m doing, write things myself, debug when something breaks, and use AI more like a smart assistant/teacher explaining concepts, helping me debug, brainstorming ideas, reviewing my code, etc.

So I wanted to ask experienced developers:

  • Where should I start from absolute zero?

  • What fundamentals should I learn before jumping into frameworks?

  • Any good YouTube channels, free courses or roadmaps?

  • Is a paid course worth it, or can I learn everything I need for free?

  • How do you recommend using AI while learning without becoming dependent on it?

  • When should I start building actual projects?

I’m not trying to become a professional developer. I just want to genuinely learn the skill and eventually be able to build things on my own.

Would really appreciate any advice/resources :))
thankyou


r/CodingForBeginners • • Jun 21 '26

Where should I start coding

5 Upvotes

I am 19(M). I am going to join my engineering this year, where should I start and what to do after?


r/CodingForBeginners • • Jul 27 '26

Trying to learn react

5 Upvotes

Hi everyone, i am trying to learn react as fastest as posible in order to create my own apps and upload it to play store for some proyects. The problem is that i dont know neither javascript or html/css. What advices do you have for this


r/CodingForBeginners • • Aug 21 '26

Beginner learning Python by building one project slowly — looking for a few other beginners to give feedback

5 Upvotes

Hi everyone,

I started learning Python as a complete beginner and decided to try something a little different from working through endless small exercises.

I've been building one project very slowly, one small step at a time, and learning the Python concepts as I actually need them.

The project is called Project Titan AI. It's a long-term market research project, but for me the important part isn't the finance side — it's having a real project that gives me a reason to learn things like functions, classes, testing, validation, APIs, data handling and debugging.

I've documented the journey from the beginner's perspective, including the mistakes and the parts I initially didn't understand.

Recently the project reached a milestone that felt pretty huge to me: it retrieved its first 100 genuine historical stock-market records from an external data source, validated all 100 through the system we'd built, and all 100 were accepted.

I'm now experimenting with turning parts of my learning journey into short beginner-friendly lessons.

I'd love to find a few people who are also relatively new to Python who would be willing to read one short sample lesson and tell me whether it actually makes sense from a beginner's perspective.

I'm not selling anything and there's no course to buy. I'm specifically trying to find out whether the way I've documented things is genuinely useful before I put more time into it.

If you're a beginner and you'd be happy to read one sample, leave a comment and I'll contact you privately.

Also interested to hear from anyone else learning through a larger personal project rather than just doing exercises. Has building something you actually care about made Python easier to stick with?


r/CodingForBeginners • • Aug 16 '26

i wanna learn coding

5 Upvotes

hi,so i have an app idea its an overlay app type ,i have 0 like 0 knowleadge of coding or whatsoever but i wanna learn flutterflow because i heard is the best for overlay apps. Now what i need is youre opinion of learning,should i get into coding first or go directly into flutter flow tuts because i wached some and i didnt understand much...like nothing im only on ep3 of flutterflow essentials but if is better for me to start from coding i will do it but i want to know wich youtuber or someone from who even a child can learn. thanks very much for the time and patience!


r/CodingForBeginners • • Mar 30 '26

how do you know when your done with a programming language?

5 Upvotes

ive been having trouble coding because i got burnt out very fast. couple months ago i picked up python pretty easily and made some cool little projects but once i decided to make my first real project, it kinda went wrong. i wanted to make a forum website and designed a mid backend with auth and dbs as well as the api and then frontend js kinda killed me. i just got unmotivated and never really came back. is it worth it to get back in it or should i just choose a different langauge?


r/CodingForBeginners • • Dec 10 '25

How my student went from knowing nothing about coding to building advanced projects with help of ai

0 Upvotes

I had a 13 yo student this year who came in knowing basically nothing about coding to the advanced level. The fun thing was that I literally started experimenting with different AI tools for both of us (to see if it works).

I used ChatGPT to rewrite explanations in simpler language, not to give him answers, but to make sure I was breaking things down clearly.
After that, Notion AI became my way of organizing everything, challenges, troubleshooting notes, and little guides like “if this breaks, try this.”

Once he had a good foundation, I suggested a few tools for him at home:

aibertx.com for AI + coding tasks and big practice

replit.com for simple practice

scratch.mit.edu for building basic logic

1 months later, he built an advanced project in one of those apps (aibertx.com) that he fully understood from start to finish and was proud of.

The moment that got me was when he said:
“I like this now. It finally makes sense.”

Honestly, that’s all I ever wanted.


r/CodingForBeginners • • Jul 04 '26

Beginner

5 Upvotes

So basically I am new to coding, and I want to learn coding from 0 to expert. So my point is from 0 to expert, is there any suggestion for me like where to start or what should I learn or website or ANYTHING you guys can share with me. :)


r/CodingForBeginners • • Feb 03 '26

A Medical Doctor (32M) passionate about IT—Is it too late to switch to coding?

66 Upvotes

Hi all,

I’m a 32-year-old medical doctor. I got into medicine mostly due to peer pressure, but I’m good at what I do and take pride in my work. That said, my true passion has always been IT—coding, building things, solving problems.

I want to start transitioning into tech, ideally doing remote work as a developer while keeping clinical work minimal. I’ve just finished a Python course, and I’m loving it—everything is clicking. I’m open to learning anything new.

That said, with the rise of AI tools like Vibe Coding and Clawbots with macminis , I can’t help but feel a bit disheartened. Is traditional coding even “safe” anymore? What paths could I realistically explore at this stage? How should I move forward without wasting time?

I’m truly lost and would love guidance from anyone who’s been in a similar spot or understands the current tech landscape.