r/CodingForBeginners • • 5h ago

How can I start learning C?

3 Upvotes

Hello guys. I want to learn about Embedded Systems Engineering and I'm starting with C language. I don't want to be a vibe coder that makes ai rust slop. Where can I start? And how do you guys do something very complicated on your own? I don't think I have that skill but I want to do that too. Anyway I have the basics but that's all. I'm waiting for your recommendations :)


r/CodingForBeginners • • 1d ago

Which programming language is best to start my learning?

0 Upvotes

Is it java, js or python?


r/CodingForBeginners • • 1d ago

Hi guys

3 Upvotes

I am really interested in is it worth to learn any programming language in 2026 ? I went robotics course about 1 year and I won first place in my country. But after this winning. I had to leave robotics because of my university entrance exam. Right now I dont know how can i start again. i am interested in cybersecurity and robotics does someone help me?


r/CodingForBeginners • • 1d ago

We Built a Password-Protected Safe with micro:bit – 3 Wrong Attempts and You're Locked Out! 🔐

3 Upvotes

We wanted to build something a little more interesting than a regular box made from building blocks, so we turned one into a small password-protected safe.

The idea is simple: use the A and B buttons on a micro:bit as the keys, enter the correct combination, and let a motor open the door. But we also wanted it to behave a bit more like an actual safe, so we added a few extra rules.

The default password is AABB. Each time a button is pressed, the micro:bit records the input and displays how many characters have been entered on its 5×5 LED matrix. It only shows the number of characters, not the actual password.

Once all four characters have been entered, the program waits five seconds and checks the combination automatically. There's no separate submit button needed. If the password is correct, a check mark appears and a PlanetX Smart Brick Motor connected to port M1 on the Nezha Pro rotates 90 degrees counterclockwise to open the door.

Of course, getting the password wrong is part of the fun.

The first two incorrect attempts show a cross on the LED display, giving the user another chance. But make three consecutive mistakes, and the safe gets a little less friendly: the display flashes a warning, then starts a 10-second lockout countdown. During this time, button inputs are ignored. Once the countdown finishes, "TRY AGAIN" scrolls across the display and the safe is ready for another attempt.

We also added a couple of useful controls. Pressing A+B while entering a password clears the current input, so there's no need to start over if you accidentally press the wrong button. After the door opens, A+B rotates the motor 90 degrees clockwise to close it again.

The mechanical part was just as important as the code. We used the Nezha Pro Sport Kit to build the safe body, hinged door, and motor linkage. The door needs to move freely, and the motor's starting position needs to match the fully closed position. Otherwise, even a perfectly correct password won't help if the door gets stuck!

The project uses a micro:bit, a Nezha Pro Breakout Board, and one PlanetX Smart Brick Motor. We used the Nezha Pro's angle-based motor control to make the opening and closing movements 90-degree rotations, rather than simply running the motor for a set amount of time.

It's a small project, but it combines quite a few ideas: button input, variables, timing, conditional logic, error handling, and mechanical movement.

Now I'm wondering what would make this safe more interesting. Maybe a longer password, a different combination system, or even a second condition before the door unlocks?

Would you trust a building-block safe to protect your snacks? 😄


r/CodingForBeginners • • 1d ago

Beginner here, just finished intermediate. Need advice on where to start and whether coding is worth it as a career

0 Upvotes

Hey everyone,

So I just finished my intermediate and I want to get into coding, but honestly I’m a bit lost. I’ve started Python and I’m still on the basics (loops, lists, functions, that kind of stuff) I’ve also heard people talk about DSA and I don’t know when I should actually start it.

I’m also confused about whether I should pursue this as a career or just learn it as a skill. I don’t really know what the job side looks like yet, so any honest opinions would help.

A few things I’d love your input on

Is Python a good first language, or should I start with something else?

What basics should I really nail before moving on?

Which websites do you recommend for learning and practice? Free ones especially.

Which YouTube channels explain things well for beginners?

When should I start DSA without getting overwhelmed?

How did you decide that coding was the right career for you?

If you’ve got any mistakes to avoid or a roadmap you wish you’d had earlier I’d really appreciate it

Thanks a lot


r/CodingForBeginners • • 2d ago

Roadmap for learning languages and doing projects and all. And everything else that I should do??

3 Upvotes

I'm in first sem of cse. Two months completed and I will be completing c language (not c++) from code with Harry channel in two to three days.Now what do I need to do after this. And what things I need to study and do . Plz someone who can guide for this. Also very demotivated seeing people making apps or talking about startup and going for hackathons in first sem while I have just started learning things. How to excel in this field??


r/CodingForBeginners • • 2d ago

How to do programming with proper logics in which I get stuck always.

5 Upvotes

Whenever I wish to learn programming i always get stuck on logics and what logic to use and how it works, then only my motivation drops and i fail everytime.

Can anyone suggest some things so that it helps me this time

I also want to make good stuff and learn good skills.

I am 25 but still I get stuck everytime in programming.

I want to overcome this fear of logics and fear of failing in programming.


r/CodingForBeginners • • 2d ago

How to do programming with proper logics in which I get stuck always.

8 Upvotes

Whenever I wish to learn programming i always get stuck on logics and what logic to use and how it works, then only my motivation drops and i fail everytime.

Can anyone suggest some things so that it helps me this time

I also want to make good stuff and learn good skills.

I am 25 but still I get stuck everytime in programming.

I want to overcome this fear of logics and fear of failing in programming.


r/CodingForBeginners • • 2d ago

How to choose domain

5 Upvotes

Okay so I am a sophomore in btech and I have learned c++ and python now I want to do something but don't wanna follow a typical roadmap of building scripted typical projects I want to build something but how do I decide a domain for myself so that I can dig in and learn some more to build cwazzy fuckin things like for example I had this random project idea and for that I learned lil bit socket programming something like that how do I decide which domain should I stick with


r/CodingForBeginners • • 2d ago

how to start learning the code.

1 Upvotes

Which language should I learn first. My goal is pretty confuse right now. because i don't know which way leading to those path.
my goal.(can be change into one of these path)

  1. Do something about the cyber security.?

  2. game dev?

  3. programmer for some company?

  4. or any other path more than these.


r/CodingForBeginners • • 2d ago

This seems like a good forum to post in c:

1 Upvotes

This is the program. I built it off of a couple for loops and some array tinkering Although, it is working properly, I'd like to be able to type the suit of the card along with the number. AI has helped me a little bit, but the idea of how the cards are displayed in the array is my idea.

import java.util.Scanner;
import java.util.ArrayList;
import java.util.Collections;

public class Main {
public static void main(String[] args) {

Scanner scanner = new Scanner(System.in);

// creation of the deck

ArrayList<String> deck = new ArrayList<>();

String[] suits = {"Hearts", "Diamonds", "Clubs", "Spades"};
String[] ranks = {
"A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"
};

//Generation of the 52 cards

for (int i = 0; i < suits.length; i++) {
for (int j = 0; j < ranks.length; j++) {
deck.add(ranks[j] + " of " + suits[i]);

}
}

// Shuffle the deck

Collections.shuffle(deck);

// creaation of the card grid

//2D array

String[][] cards = new String[3][3];
String table[][] = {

{"?", "?", "?"},
{"?", "?", "?"},
{"?", "?", "?"}};
boolean[][] drawn = new boolean[3][3];

// Place 9 random cards into the grid
int cardIndex = 0;

for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
cards[i][j] = deck.get(cardIndex);
cardIndex++;

}
}
int totalDraws = 0;
System.out.print("=== DRAW A CARD GAME ===");

// Game Loop
while (totalDraws < 9) {
System.out.println("\nYour card table:");

//Display the table\
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
System.out.print(table[i][j] + "\t");
}
System.out.println();
}
System.out.print("\nChoose a card (1-9 and put the suit)");

int choice = scanner.nextInt();

// Validate choice

if (choice < 1 || choice > 9) {
System.out.println("Choose a number between 1 nd 9!");
}
// Convert choice into row and column

int row = (choice - 1) / 3;
int column = (choice - 1) % 3;

// Check if card was already drawn

if (drawn[row][column]) {
System.out.println("You already drew that card!");
continue;
}
// Reveal the card
table[row][column] = cards[row][column];

drawn[row][column] = true;

totalDraws++;

System.out.println("You drew: " + cards[row][column]);
}
System.out.println("\n===== Game Over ======");
System.out.println(("You drew all 9 cards"));

scanner.close();
}
}

Original code looks a little bit like this; there was some more to it, but that's the jist of it.

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        String[][] twoDarray = {
                {"x", "x", "x"},
                {"x", "x", "x"},
                {"x", "x", "x"}
        };

        Scanner scanner = new Scanner(System.
in
);

        System.
out
.print("Enter something: ");
        String userinput = scanner.nextLine();

        twoDarray[0][0] = userinput;

        for (int i = 0; i < 3; i++) {
            for (int j = 0; j < 3; j++) {
                System.
out
.print(twoDarray[i][j] + "  ");
            }

            System.
out
.println();
        }

        scanner.close();
    }
}

r/CodingForBeginners • • 2d ago

What is the best way to learn system-level programming?

4 Upvotes

I had some experience with C during my college days, but I never really did any projects that are worth mentioning. I know AI can write code, but I want to understand what is happening at the system level. As of now, Rust is too overwhelming for me, so I'm thinking of restarting with C. Any advices?


r/CodingForBeginners • • 3d ago

I wanna learn hardware , pls help

14 Upvotes

hi ,im a highschool student. i always found hardware so fascinating , and i wanna build cool stuff myself too . i have almost zero prior coding experience , i did learn basic python loops and conditional statements in python a few years back thats all i know .

what language should i learn ?

what tutorials should i follow ?

is there a roadmap ?

hope anyone helps .


r/CodingForBeginners • • 3d ago

What are the biggest things people are missing out on with their GitHub Education/Student accounts?

0 Upvotes

Hi everyone, what are some of the biggest things that most students with a GitHub Education/Student Developer account don't realise they have access to (either free or discounted), and which have actually been extremely useful for you and other people?

Feel free to tell me anything: from technical things that are important for developers, to vibe-coding with AI agents, to tutorials that teach beginners the fundamentals, etc.


r/CodingForBeginners • • 3d ago

Help please

5 Upvotes

Hi, I'm someone that has been falling in and out of coding for multiple years now. Purely just because I have no idea where to even start or what platform is trustworthy and actually teaches you things. So, I very desperately need advice about where I should even begin to learn and what platform I should go to. I have not gone to youtube videos yet because one I also don't know where to go for youtube videos, so suggestions for channels I could learn from would also be very helpful. And two I would like to first get behind the keyboard myself and actually experience what it's like to code. To see if I actually like it before I fully commit.​ And would like only free websites. Because I don't wanna pay for anything just yet. Just in case I end up hating it entirely.

If it's any help at all, I am interested in becoming a graphic designer someday. So, web design would be very helpful to me. And I would very much like how to code games. If theres even a difference between the two. Anyway, thank you for reading my post and commenting if you did. I hope you have a good day.


r/CodingForBeginners • • 4d ago

Beginners friendly app developing meet up groups?

3 Upvotes

Hi,

I recently got into developing an app as a hobby, and I'm not familiar with computer coding at all. I thought it would be fun if there were a group that gets together, maybe on weekday evenings or weekends, to facilitate and help members make their own apps. Since I'm in SF, I think there should probably be one in the area, but I don't know where to look. Any suggestions?

Thanks!


r/CodingForBeginners • • 4d ago

Beginner in Python coding, and coding in general, confused

9 Upvotes

Hi, I am learning python, and as a complete noob/beginner, from Kaggle courses. But I have hit the issue that I can't seem to understand what lines to write next, which command-thing to use, when to use them, i can't seem to remember. Any tips?


r/CodingForBeginners • • 4d ago

Help

1 Upvotes

As a newbie learning python I would like to ask .......Everything I don't know how to start I know I can watch online guides and all but I need advice fr well its all about financial problem and I am afraid I will rush and waste my time while not learning efficiently pls help.


r/CodingForBeginners • • 4d ago

I am in 1st sem. Feeling very overwhelmed. Everyone around me has coding experience from school but idk anything rn. I have started learning python from codewithharry playlist. How should I move further? What is dsa and cp? How and when to start? Also everyone is participating in hackathons and doin

2 Upvotes

Title


r/CodingForBeginners • • 4d ago

Day 6 Learning Python

4 Upvotes

So far so good. This time around I had to freelance this code all from memory. Definitely ran into some walls and tripped along the way but I introduced the time function and made a neat little count down at the end. if you run the code yourself, you'll see the 1 second delay between each number that gets displayed before the goodbye message.

import time


space_station_name = "OrionStation"
station_current_oxygen_level = 100
station_current_food_level = 50



def consume_supply(current, used):
    return current - used


def gain_supply_food(current, gain):
    return current + gain


def show_status(station_name, oxygen_level, food_level):
    print("SpaceStation:", station_name)
    print("OxygenLevel:", oxygen_level)
    print("FoodSupply:", food_level)



station_current_oxygen_level = consume_supply(station_current_oxygen_level, 30)
station_current_food_level = consume_supply(station_current_food_level, 15)
station_current_food_level = gain_supply_food(station_current_food_level, 25)



show_status(space_station_name, station_current_oxygen_level, station_current_food_level)



print("This computer will self destruct in:")
print(3)
time.sleep(1)
print(2)
time.sleep(1)
print(1)
time.sleep(1)
print("goodby")

r/CodingForBeginners • • 4d ago

Thoughts on using AI to learn coding?

0 Upvotes

I don’t mean full on vibe coding, I mean using AI to learn how to code something that would take hours of watching videos and struggling normally, and you write the code instead of the AI and it helps with troubleshooting and stuff


r/CodingForBeginners • • 4d ago

Having trouble getting back into it.

6 Upvotes

So I started trying to learn code with a the video the Bro Code

A 12 Hour Video Python Full Course For Free

I got into it due to my brother in law getting a job from self taught coding and has been successful.

Now for someone as autistic as me with potential ADHD like traits, I can't focus, I can't remember what notes or why these lines of code mean. So it's either I get bored or overwhelmed.

I mostly want to do it to just try and make a simple game for steam.

I don't know what's wrong with me and I want to gain support in this difficult journey.


r/CodingForBeginners • • 5d ago

new to coding someone please suggest me what to do, currently learning html from YouTube apia collage channel

3 Upvotes

r/CodingForBeginners • • 5d ago

Can someone give me a opinion about project I am working on?

Thumbnail
github.com
1 Upvotes

Planning to get some upgrades if it is worth to keep working on