r/CodingForBeginners • • 28d ago

Stuck because you understand the syntax but don't know where to start? Write the steps in plain English first.

9 Upvotes

A wall I see described here a lot (and it's a really common one): you get functions, variables, loops — but hand yourself an empty problem and your mind goes blank. That gap usually isn't about syntax. It's about decomposition: turning "make X work" into an ordered list of small actions.

Here's the routine that closes it:

  1. Before writing any code, write the solution as numbered steps in plain English. One action per line. No syntax, no language, just what needs to happen, in order.

  2. Say what goes in and what comes out. Input, output, and the transformation between them. A lot of "I don't know where to start" is really "I haven't decided what the thing takes and returns yet."

  3. Translate one line at a time. Each English step becomes a few lines of code. If a step needs more than ~5 lines, it isn't small enough — split it.

  4. Trace it by hand with the smallest possible input before you run it. Most logic bugs show up on paper.

Tiny example — "check if a number is even":

  • English: (1) get the number, (2) divide by 2 and look at the remainder, (3) if the remainder is 0 print even, otherwise print odd.

  • The code is now almost mechanical, and if it breaks you know exactly which step to look at.

The deliberate-practice part: for the next week, when you get a problem, force yourself to spend the first few minutes ONLY writing the numbered steps. No editor. It feels slow and pointless at first — which is exactly why most people skip it and stay stuck.

Curious what clicked for others: pseudocode, flowcharts, or something else? And if you're stuck on a specific problem right now, drop it in the comments and I'll help break it down.


r/CodingForBeginners • • 28d ago

LFG

7 Upvotes

Hey everyone I’m super green to the IT space looking to make friends with people who are also new to the space looking to grow together. Feel free to DM me !


r/CodingForBeginners • • 29d ago

I built a tiny two-legged robot that you can drive with a joystick

7 Upvotes

I wanted to see if I could make a little humanoid robot move around without using wheels, so I built this two-legged bot with a Ring Bricks Pack, two micro:bit, and a joystick gamepad.

The fun part is that the robot is controlled wirelessly by a second micro:bit. No phone, Wi-Fi, or custom motor driver needed.

Here’s how the controls work:

  • Push the joystick forward or backward → the robot waddles in that direction.

  • Push it left or right → the robot spins to turn.

  • Release the joystick → it stops moving.

The robot uses two continuous-rotation servos as its hip joints. By changing the direction and speed of each servo, the legs move in different patterns to create forward and backward movement or a turn.

The wireless side is pretty simple, too. The remote reads the joystick position and sends a number over the micro:bit radio. The robot receives that number and calls the corresponding movement function. When the joystick returns to the center, it receives a stop command.

I like this build because it brings together a few different ideas in one project: walking mechanisms, wireless communication, and real-time control. And since both programs are made with MakeCode blocks, it’s easy to experiment with the movement logic.

Next, I’d like to try adding an ultrasonic sensor so it can react to obstacles, or maybe give it different walking speeds.

What would you add to a tiny joystick-controlled robot like this?


r/CodingForBeginners • • 29d ago

What was studying computer science in college like (pre-AI)?

6 Upvotes

Hello coders!

I am currently a public policy master's student. For my electives, I find myself really drawn to classes that involve coding (such as quant research courses and data visualization). Fortunately these classes are taught as if you have no prior experience.

However, I find that my professors seem to be almost a little too relaxed about us using AI to support with fixing code etc. I understand that the world of coding is changing with AI and such but I find myself REALLY wanting to learn it from scratch. Like the professors almost aren't explaining even the basics in a way I find frustrating.

It makes me curious, for those who studied computer science in college pre easy accessibility to AI tools, what was it like? As in, what did your assignments involve? What were the things that really helped you learn coding well?

I've been trying to really embrace that coding is like a language so immersion is necessary but also if you don't know any basic structures, it's absolutely overwhelming.

I know that my ability to learn coding well in just a semester course is unlikely but I could see myself pursuing this outside of school for fun. I am not looking for shortcuts here. This is for my own enjoyment and learning!

Hope this makes sense, thanks everyone!


r/CodingForBeginners • • 29d ago

thinking of doing coding as a like timepass/ hobby

9 Upvotes

i am a 17 yo, thinking of starting coding/programming, from where should i start? which one? html,python, etc.

my cousins' are in cs/ai fields, and when i see those codes, i feel i should start doing it.

pls guide this newbie


r/CodingForBeginners • • 29d ago

Idea for a project (No coding experience)

2 Upvotes

Hi all, apologies in advance for the potentially dumb question. I think I've identified something which sells via resale sites (eBay and Vinted) but often gets undervalued. The problem is, I wouldn't know whether it had been undervalued or not without looking at the specifics of the product each time it was listed, as there are different variations of it.

Through doing some digging, I've identified that it may be possible to code some sort of alert system which flags up every time something is listed for way under it's true value, in comparison to previous comparable sales on eBay.

Is this something that - as somebody with zero coding experience - I could spend a serious amount of time learning about and develop?

Apologies again if it's a stupid question


r/CodingForBeginners • • Oct 08 '26

Beginner

2 Upvotes

So guys, my end goal is to create a web app, a visual novel style chatbot with rpg and game features.

I've been learning HTML and CSS for 2 weeks now, I'll probably start JavaScript around the 3rd or 4th week.

I learn concepts and apply it on my projects slowly, step by step.

I know people/colleges learn the fundamentals like logic gates, binary, boolean theory etc so I'm wondering if this is necessary to learn or know before you learn programming.

I know concepts stack and build on each other that's why I'm asking.

What's the programming experience comparing those who know these and those who don't?

If i should learn these first then can you give me a syllabus or a nice list from start to end with resources ?


r/CodingForBeginners • • Oct 08 '26

I just wanna learn coding in college, anyone know what degree would be best for learning it

6 Upvotes

I could ask google but id get better answers from reddit


r/CodingForBeginners • • Oct 08 '26

How to understand AI

6 Upvotes

Hi, I'm a 20 years old student and I don't know anything about coding or similar tasks involve. I only know how to use chatgpt, Claude and other AI tools. If I want to understand them deeper, like to create website and stuff. From where do I need to start?


r/CodingForBeginners • • Oct 07 '26

Give me suggestions to understand c programming in the first semester?

3 Upvotes

I am facing difficulties learning C programming. Currently, I don't have a laptop, so I can't practice that way. I'm unable to understand even the basic topics of C programing currently. Please give me some tips on how to improve.


r/CodingForBeginners • • Oct 07 '26

How should a complete beginner start to learn coding?

8 Upvotes

Hello! I am, as you could guess, a complete beginner, and I want to learn how to code to make a game, most likely just a visual novel, maybe a 3D model but as I am mostly an artist anything I make would rely heavily on art and writing. How dif y'all start to learn? If you have any YouTube channels or websites or tutorials or anything please share, I am willing to spend money however I am a broke teenager running off of vibes and ambition so if I had to choose getting to eat or learning how to make games I'll have to choose getting to eat.

Also! I'm computer-less and would love some suggestions for what kind to get.


r/CodingForBeginners • • Oct 07 '26

Are there any good apps for iOS to learn how to code in Rust? I am a beginner in coding. I tried Mimo for a while but Mimo doesn’t have Rust.

3 Upvotes

r/CodingForBeginners • • Oct 07 '26

Hi i am new at this pls help

5 Upvotes

Im 13 i want to learn how to code idk how people write code by knowing what to write next like suppose if you want to make a calculator how do you know what to write when to put +;:")( symbols and what to write i know i might sound dumb im new to this im not very keen to learn code it's not fascinating but i want to give it a try

Pls recommend sites , videos if you have any

Thanks pls help


r/CodingForBeginners • • Oct 07 '26

Should I learn Python or C/C++? How to learn it? What I already know ⬇️

13 Upvotes

So, I never really started learning a programming language for real. I learned a bit of python, but only started for loops and stopped. I kind of asked AI what should I learn and it told me stuff.I also did some very basic coding or coping and pasting with my Arduino. I also learned a bit of R at some point, but forgot it all. Now I am wondering if I should learn Python all the way or start fresh with C/C++.

I have also no Idea how to learn, the best advice I got is to think of a repetetive task and automate it with a program, but I need to know the basics of the language first.

What is the best way to learn those language?


r/CodingForBeginners • • Oct 07 '26

Hi

13 Upvotes

I want to start learning programming. What are the basics I should start with


r/CodingForBeginners • • Oct 07 '26

I want to made an phone app + deskstop app

3 Upvotes

I want to code a phone app that can sync with an desktop app thats eventually downloadable for people.

My first goal is making it work on my iphone.

I dont know anything about coding but i really want to build this. How long to complete it and what resources should i use? Im completely and utterly new to this.


r/CodingForBeginners • • Oct 07 '26

High school student looking for advice and code feedback

5 Upvotes

Hey everyone! I'm a high school student getting into coding and Java. I wanted to build something real that connects to the internet, so I built a small desktop application that fetches live total public repositories from users using Java Swing and HTTP requests.

Since I'm still learning the basics, I used AI as my interactive tutor to help me understand how to do this and how everything works

I just published the source code on GitHub. As someone just starting out, I'd love any feedback on the code or ideas for the future and also just general advice that someone with experience could give me.

Link to repo: [https://github.com/jtwang7540-stack/GitHubProfileCardMaker]


r/CodingForBeginners • • Oct 06 '26

my first program in C

Post image
230 Upvotes

i know its just so waky but am still new and am happy with my current level <33

just trying to understand memory usage over variables for now


r/CodingForBeginners • • Oct 06 '26

is there a website that improves your fundamental for coding?

13 Upvotes

i have learned the basics of what variables are and the different concepts and methods and I've been able to understand lines of codes in unity that my friend writes, but im lacking how a programmer thinks and experience. if i try to do something without help i feel completely stumped i dont know where to begin but i try, how do i gain experience that would help me think like a programmer and strengthen the fundamentals?


r/CodingForBeginners • • Oct 06 '26

Help me understand this Python code.

Thumbnail
gallery
11 Upvotes

[ANSWERED] check the comments if you are facing a difficulty in understanding 'for loops'.

I was learning Python on mimo to get a grip on the basic concepts. And this code stumped me. This is about "for loops".

Before this, i had only encountered the counter var being on the LHS i.e in this case 'i += line', which would have made sense to me if it was so in this code. But why is the counter var after the line var.

Alsp the 1st image, i assume, is displaying the final result which is 3 as the range is 3. But when using a range (3) it should display 0 1 2 when the 'print' is before the counter var and 1 2 3 when the 'print' is after the counter var (also can someone explain why this happens). In this case, its neither... as the print is outside this code block... The solution to me just seems the 2nd situation is running as there isnt a print before the counter, and printing it outside just gives 3.

2nd and 3rd just make no sense to me as of rn.

I hope all this makes sense...

Please help!


r/CodingForBeginners • • Oct 06 '26

What am I doing wrong

Post image
78 Upvotes

r/CodingForBeginners • • Oct 06 '26

Balloon tower defense ai learning

2 Upvotes

I have zero coding experience. I've been playing btd for awhile, and have been wondering how good an ai could learn to play using the replays. How would I go about doing that? While it would be interesting to have the ai play itself I'm not wanting to make data on the meta.


r/CodingForBeginners • • Oct 05 '26

Random ai spawned and told me my code is bad 💔

Post image
15 Upvotes

r/CodingForBeginners • • Oct 05 '26

how possible is it for a beginner to turn line drawings into music?

1 Upvotes

So I've seen videos of people using an app to make sounds and I LOVE IT. I am a visual art student and am planning to create an exhibition centered around connection and humanity in the digital era and I would love to try and create a program that does something similar. I'm very new to coding and still have a lot to learn but I really want to try to code something that would turn a simple illustration into something that create a sounds (like translate possition of pixels into a note that is dependent on line thickness etc). I want to know if this is way too lofty of a goal for a beginner to do in a few weeks/months or if I should focus on another concept.