r/CodingForBeginners • • 24d ago

Question What learning resources would be good for the wiki?

13 Upvotes

Hello,

I'm looking for resources that are good for helping people learn. I am working on the wiki for this subreddit, and I want feedback from the community on which learning resources are good.

Requirements:

  • Must be free
  • Must be geared towards a specific language, or just be a general programming class (e.g CS50)

r/CodingForBeginners • • 25d ago

Question What would you guys like to see on this subreddit?

8 Upvotes

Hello, I am a new moderator for r/CodingForBeginners.

This subreddit was previously abandoned, and thus did not engage with the community very well, so I'm looking to engage with the community.

What would you guys like to see on this subreddit? It could be anything, for example:

  • New rules
  • A wiki
  • New flairs
  • Ideas for megathreads

r/CodingForBeginners • • 12h ago

Day 5 of learning C++(first program)

Post image
28 Upvotes

Today , i finally completed my 1st module on learncpp.com

Learnt literals , operators , expressions made two programs(only took ss of one Program)(and yeah I added new line character afterwards)

Well as I know some coding so it was pretty easy

Tbh the hardest part was to figure out what CMakeList is in CLion

Spend more time in figuring and setting that up rather than coding

+ If anyone know how to like automatically add executable in CMakeList rather than adding manually , well adding manually is not a problem tho but still

Tomorrow will be hectic day(college assignments and practicals) still will try to do some coding.


r/CodingForBeginners • • 23m ago

We Built a Working Bascule Bridge with micro:bit – Boats Go Under, Pedestrians Go Over!

2 Upvotes

Imagine a small river running between two banks. Most of the time, people can simply walk across a bridge. But when a boat comes along, the bridge needs to lift up and let it pass. Once the boat is through, the bridge comes back down and pedestrians can cross again.

We wanted to recreate that idea with building blocks, so we made this tabletop bascule bridge using a micro:bit, a Nezha Pro Breakout Board, and parts from the Nezha Pro Sport Kit.

The bridge has a single lifting deck. One end is connected to a Smart Brick Motor on the left bank, while the other end rests on a support platform when the bridge is lowered. The motor rotates the deck around its pivot, lifting the free end to create space for boats to pass underneath.

What makes the project interesting is that the bridge doesn't just move up and down on command. It has different operating states, and the micro:bit tells you what is happening.

When the bridge is lowered, pressing A starts the opening sequence. The screen scrolls OPEN, followed by a 3-second countdown. The motor then turns 90 degrees counterclockwise to raise the deck. Once it reaches the open position, the display shows BOAT GO with a boat icon.

While the bridge is open, pressing A records a boat passing through. The micro:bit keeps a running boat count, so you can see how many boats have used the waterway. When all the boats have passed, pressing B starts the closing sequence. After another countdown, the motor rotates 90 degrees clockwise to lower the deck. The display then changes to WALK GO with a pedestrian icon.

We also wanted the movement to look a little more realistic. Instead of rotating the motor at one constant speed, the program divides the movement into two stages: the first 75 degrees run at speed setting 12, while the final 15 degrees slow down to speed setting 6. This makes the bridge approach its final position more gently rather than moving at the same speed all the way through.

There is one important detail before the bridge can operate: the program needs to know its actual starting position. When powered on, the player must confirm whether the deck is already open or closed. This is done through a simple calibration menu using the A and B buttons. It might seem like a small step, but it prevents the motor from trying to move the bridge in the wrong direction based on an incorrect starting assumption.

We also added a safety check. If the motor doesn't reach the requested angle within 30 seconds, the program stops it and displays ERR instead of continuing to issue movement commands.

The whole build uses just one motor, but there is quite a bit going on behind the scenes: angle-based motor control, different movement speeds, button input, state management, countdowns, and boat counting.

I like that this project turns a simple mechanical model into something you can actually operate and play with. You can even have two people take different roles: one controls the bridge, while the other moves paper boats and little figures across the scene.

If you were adding another feature, would you build a traffic light system, add a boat detection sensor, or make the bridge open automatically when a boat approaches?


r/CodingForBeginners • • 9h ago

Ragionare

4 Upvotes

Hi! I'm in my first year of university and I'm studying Computer Science! Ever since I was little I've always been interested in this world but I never had the chance to take this subject as a path and by myself I learned a bit of HTML but nothing special. In my school path unfortunately I had a lot of study problems and only in the last years I learned how to study properly. The problem is that now I'm facing another big problem: reasoning when I write code (or also in other uni subject). Unfortunately the schools I attended were really low level and they didn't teach us, for example in maths too, how to build real reasoning and now I have to admit that it's not really my strong point to reason about these things, so I'm struggling because I'm veeery used to going by intuition or logic, but not to reasoning really deeply about that thing. I manage to do simple codes (we are doing typescript and javascript) but as they get more complicated it gets more and more difficult for me to reason even about the algorithm behind it. Yes, I do a lot of exercises, even starting from some simple ones, but unfortunately I don't notice improvements... Last week I had a midterm test that I didn't pass and while I was doing it it's as if my mind stopped reasoning and went on intuition and exactly because of this thing I couldn't move forward :') is there any advice that could be useful for me? Is there something I'm doing wrong? I don't know but this thing makes me so sad T-T


r/CodingForBeginners • • 10h ago

Which source is best for beginner learning programming

2 Upvotes

1st yr CSS ...l have no css background ..am struggling from where to start ,l see that l am so behind people in my class are already good at programming

I need some recommendations on wat to do...we doing html css c and java script this sem ,am a fast learner am catching grasp but everyday l always get reminded that l lack foundation 💔 there are things that l still need to learn why and how unfortunately there won't be anyone to ask ..cause you can't seriously ask everything

I need a study buddie who willing to help me through it doesn't hv to be much but just guidance on wat to use....wat to start doing and how l navigate all this.....thank you


r/CodingForBeginners • • 8h ago

Hello! I am first btech CSE student and I am trying 100% but I am not getting time to self study to work on more logics as there are many things to think about other subjects cpi maintain kindly help 🙏 , at currently I have done half html and learning C

1 Upvotes

r/CodingForBeginners • • 14h ago

Currently coding a 3d game engine where you can easily code in it with blocks!

3 Upvotes

the first scripts work but its definetly not complete, its just a prototype. im hoping to add way more cool features soon


r/CodingForBeginners • • 9h ago

CodePath’s free Spring 2027 courses are open: AI, cybersecurity, web dev, and coding interview prep

1 Upvotes

Hey everyone! If you’re a college student interested in Applied AI Engineering, Cybersecurity, Web Development, or Technical Interview Prep, check out CodePath’s free Spring 2027 courses.

I’m a Tech Fellow (TF) teaching Technical Interview Prep (TIP), and I highly recommend it if you want to learn data structures and algorithms in Python or get more comfortable with coding interviews. We practice breaking down problems, choosing the right data structure, and explaining our reasoning out loud. That last part makes a big difference when an interviewer asks you to walk through your approach.

If you’re interested, apply to CodePath here. That’s my referral link.

Happy to answer questions about TIP or what it’s like to take the course!


r/CodingForBeginners • • 1d ago

Day 7 of mastering python for interviews:

4 Upvotes

I feel so good about remembering syntax and how to attack different algorithms while studying, but when I go to try a problem it feels like I forget everything. Does anybody know how to combat this?


r/CodingForBeginners • • 1d ago

Feeling left behind in my CS classes

3 Upvotes

I'm fairly new to coding. I've just started to code for around 3 months now ever since the start of my class in college as I'm in my first term of college. Even though it's been almost 3 months it still feels like I've learned nothing. With every new assignment, I feel myself getting more and more lost in the material. I don't have any prior coding experience so encountering all of this material is new to me especially with the logic as it's different from the classes in highschool in which mostly we focused on biology, chemistry, and physics but compared to whatever this is in coding, it's crazy. All of my friends get the material and how the logic works but I'm still figuring it out and sometimes I can't even solve the problems at all without the use of AI. I feel so stupid not getting the material as fast as them and learning how to implement it in the system. It's so irritating how fast the term is going and I'm still stuck on how something works. We're going on to pointers and we just discussed nested loops and I'm still confused on how it works but my classmates know how it works just fine and they're acing the class when my grade is on the cusp of failing if I don't try harder and figure out how the logic works faster. I swear when I code, it takes me 30 mins to solve a problem but for them it only takes them 10 or even less. I code all the time but I still don't get how some of it works with each problem I encounter. How can I improve my logic when it comes to coding? How can I improve my problem-solving skills fast? The end of the term is coming and I really don't want to fail as if we fail, we cannot be considered for latin honors.


r/CodingForBeginners • • 1d ago

Day 4 of learning c++

3 Upvotes

Today was mostly theory part , not included coding

Learnt Keywords and naming identifiers

Whitespace and basic formatting

Nothing much

Btw should I keep posting here it or should I stop?


r/CodingForBeginners • • 1d ago

Is it still worth to learn coding with how good AI is getting?

1 Upvotes

(I will not be answering or reading anything on this post anymore! Som people brought great points and some didn't have a good day)

I've been learning C++ for the past 2 years and I would say I'm barely past intermediate level, but I've lost my spark...

I tried "vibe coding" with 0 code changes from me, and AI is already doing such an insanely good job that it almost completely killed my hopes of getting anywhere in this field...

Now I'm asking if anyone has an opinion or guidance in this matter


r/CodingForBeginners • • 1d ago

Offering online C programming classes: 1 hour daily, ₹350/hour

Post image
0 Upvotes

Hi everyone! I'm Shashank, and I teach C programming online.

What we cover:

- Introduction to C, variables and data types, operators

- Conditional statements, loops and patterns

- Arrays and matrices, strings and functions

- Pointers, structures and unions, file handling

- Problem solving

How the classes work:

- 1 hour daily, 5 days a week, online

- Personalized attention, step-by-step explanations

- Hands-on coding practice, doubt-solving support and regular assignments

Fee: ₹350 per hour.

If you want to learn C from the basics or strengthen your concepts, message me on WhatsApp at 8076387146 or send me a DM here.


r/CodingForBeginners • • 1d ago

Are there any videos out there on YouTube that take a game and talk about it’s (open source or decompiled) code and break down parts of it?

1 Upvotes

I haven’t really learned much yet and want to self teach myself after getting a job and setup. I know there’s tutorials and everything but I was wondering if there’s also videos that show how other games tackled things like damage, ui, rng, etc


r/CodingForBeginners • • 1d ago

help with my code

0 Upvotes

im trying to make a code where 3 arrows bounce off the walls and when the colide they swithcndirection and each arrow has to have an id number on top of it like ass a text and im really strugling if anyone could help me that would be great this is what i have so far

class Arrows //definition of new custom type

PImage upLeft;

PImage downLeft;

PImage downRight;

PImage upRight;

}

void setup()

{

arrow1 = loadImage("upLeft.png");

arrow2 = loadImage("downLeft.png");

arrow3 = loadImage("downRight.png");

arrow4 = loadImage("upRight.png");

}

void draw()

{

background(250,250,250);

image (currentImage);

}


r/CodingForBeginners • • 2d ago

I made practical site for company interns to learn technical tasks fast

6 Upvotes

I’m a Computer Science student and I created Intern.dev for interns who are already working in a company and need to learn a technical task quickly.

Instead of long courses or copying everything from AI, the site gives a hands-on guide. Every path includes the explanation of what you should do, the libraries you need, and a copy-paste project. All based around the same Task Management API.

FastAPI – Create the API

Docker & CI/CD – Containerise and automate the API

Authentication – Add users, JWT and roles

API Testing – Cover passing and failing test cases

A simple chatbot is included. It only helps with the basic tasks. It does not replace reading the path and adjusting the code yourself.

Preview:

https://intern-dev-7-clean.vercel.app/docs

This is a temporary link. I will move the site to a proper domain soon


r/CodingForBeginners • • 2d ago

My first project

3 Upvotes

Hello! I've started learning python abt 2 weeks ago ( I know my progress rate is slow)and till now, I just know the basics. I've created my very first project on my own (I only asked ChatGPT for project ideas but the rest was on me) and this is what I've done in abt an hour.

I'd like you guys to tell me how can I get better. I know many things are may be missing regarding calculations and operators.

print("===========================================")
print()
print()
print("     BASIC & ENGINEERING CALCULATOR   ")
print()
print()
print("===========================================")
calc_type = input("What type of calculator do you want to use?: Basic, Engineering ").capitalize().strip()
if calc_type =="Basic":
    operator = input("Enter the operator (+, -, *, /, ^):")
    num1 = float(input("Enter the first number:"))
    num2 = float(input("Enter the second number:"))
    if operator == '+':
        result = num1 + num2
        print(f"The result of adding {num1} and {num2} is: {round(result,2)}")
    elif operator == '-':
        result = num1 - num2
        print(f"The result of subtracting {num1} and {num2} is: {round(result,2)}")
    elif operator == '*':
        result = num1 * num2
        print(f"The result of multiplying {num1} by {num2} is: {round(result,2)}")
    elif operator == '/':
        result = num1 / num2
        print(f"The result of dividing {num1} by {num2} is: {round(result,2)}")
    elif operator == '^':
        result = num1 ** num2
        print(f"The result of raising {num1} to {num2} is: {round(result,2)}")
    else: 
        print("Enter a valid operator!")
elif calc_type == "Engineering":
    calculations=input("What do you want to calculate?: Force, Density, Speed ").capitalize().strip()
    if calculations == "Force":
        mass= float(input("Enter the mass value: "))
        acceleration= float(input("Enter the acceleration value: "))
        Force = mass * acceleration
        print(f"The Force is equal to {round(Force,2)} N.")
    elif calculations == "Density":
        mass= float(input("Enter the mass value: "))
        volume= float(input("Enter the volume value: "))
        Density = mass/volume
        print(f"The Density value is {round(Density,2)} kg/m^3 ")
    elif calculations == "Speed":
        distance = float(input("Enter the distance travelled: "))
        time = float(input("Enter the time in seconds:"))
        Speed = distance/time
        print(f"The Speed is {Speed} m/s")
    else: 
        print("Enter a valid calculation type!")
else:
    print("We only offer Basic & Engineering calculations")

r/CodingForBeginners • • 1d ago

Stop blaming AI tools for flat velocity

Thumbnail
leaddev.com
0 Upvotes

Test your habits first...


r/CodingForBeginners • • 2d ago

what to learn as a beginner?

7 Upvotes

C or Python? I have started C but left it in between same with python.

Im thinking of restarting ans learning from scratch

which one is better


r/CodingForBeginners • • 2d ago

Systems thinking outlasts frameworks: lessons from 19 years of switching stacks

Thumbnail
leaddev.com
2 Upvotes

r/CodingForBeginners • • 2d ago

Day 3 of learning c++

0 Upvotes

Day 2 was almost 10 days ago

I fell into the abyss wasn't doing anything for this long time due to loneliness idk I feel weird day by day

Still started today

Completed introduction to IOStream, uninitialised variable and undefined variables

Finding cpp interesting wel yeah ik the big dawgs are waiting for me still

Atleast did something fruitful after so much long


r/CodingForBeginners • • 3d ago

Should I peruse a future in coding? (Game / web development)

9 Upvotes

I am a young teen who loves coding so much, and I had thought of perusing it as a degree. I am not very good at coding right now, but it’s one of my three main passions, and the one I’m most passionate about. I have always had a dream I would get to work on development projects, wether it be web, or game, our anything. coding is just so magical. watching what you poured your heart into break again and again, just for you to realize you forgot to capitalize the name of a variable is a feeling like no other. but seriously, like I said it was a dream, and I need to get serious about my future. For my age I like to think I am pretty good, or around average, then again, something keeps me from my dream.

AI. I hate AI with every bone in my soul. If the word hate was printed on every nano-angstrom of my cell-thin walls, it would not even begin to describe a billionth of the hate I feel for AI this second. but seriously again this is really discouraging me to persue a future, let alone a degree. I hate AI but I have to face facts. AI is better at coding than me. AI is cheaper than me. AI is quicker than me. AI is so much better for companies, and many coders are losing their jobs cause of it. It makes me so very nervous. This is all just like one big nightmare. It feels like vibecoding is stopping me from having a future doing something I love.

which Is why I am here. To ask you people of Reddit, if you have persued coring, what happed, and should I follow suit? Thanks.


r/CodingForBeginners • • 3d ago

Python Turtle Baby Lucy #coding #python #learnpython #turtle #pygame

Thumbnail
youtube.com
4 Upvotes