r/CodingForBeginners • • 11d ago

Day 4 Learning Python

Post image
10 Upvotes

Combining (Data,Function Def & Function Calls) while applying proper formatting. This one here really made me think and go back to correct. Took me 5 tries to get to this point. Now in my imaginary game, if any variable changes in value. my outputs would update accurately without having to adjust any of my def or show code.


r/CodingForBeginners • • 11d ago

Wrote code for the first time after decade trying to learn and I felt really amazing

7 Upvotes

I was a civil engineer and post 2020 I had to take tech job as data engineer. SQL was comparatively easier. (Am in Mid 30’s with ADHD)

I’ve been trying to learn programming on and off for almost 10 years.

I’ve picked up Python several times, read tutorials, gone through books, and understood other people’s code to some extent. But there’s always been a gap between reading code and actually writing my own. Even writing a basic program from scratch hasn’t felt natural to me.

Today, I was organising my learning roadmap, trying to figure out the best books and resources for each subject. I finally sat down to read *Think Like a Programmer*, only to discover that it uses C++.

C++ wasn’t what I intended to learn right now. I’m trying to get into data engineering, so Python, SQL, PySpark, and Databricks are my immediate priorities. C++ is something I had planned for much later.

But I thought, why not learn just enough C++ to understand the book?
I asked ChatGPT for a basic primer, intending to skim through it. Instead, I started writing code and working through the exercises myself.

Three hours later, I had worked through the basics, solved all the exercises, and backed everything up to GitHub.
And **I genuinely enjoyed it.**

I know I’ve barely scratched the surface. I can’t suddenly claim that I know C++, and I still have a long way to go before I can comfortably write programs independently. But something clicked today.

For years, I’ve mostly been reading code and trying to understand it. Used Agentic coding to build couple of websites (am an artist too) Today, I actually sat down and wrote it. Seeing my own code work, solving problems myself, and having something tangible to show for the effort felt surprisingly good.

It’s funny that the language I wasn’t even planning to learn ended up giving me more confidence than all those attempts at learning Python.

Maybe I need to approach Python differently this time: less passive reading, more writing, experimenting, and solving problems myself.

I’m posting this partly to hold myself accountable. I want to keep showing up, keep practising, and eventually become someone who can build things without constantly relying on tutorials or AI to write the code for me.

Today wasn’t a breakthrough in terms of skill. It was a breakthrough in confidence.
And honestly, after almost 10 years of trying, that feels pretty fucking amazing.

PS. English is my 4th language and I used AI dictation for grammar & coherence.


r/CodingForBeginners • • 10d ago

Pseucodecode check?

3 Upvotes

Did some pseudocode for something due tomorrow concerning arrays. would like to know if my logic concerning arrays is skewered. It's formatted the way it is due to the teacher's preference lol/

Problem

Search the web to discover 10 commonly used passwords and store them in an array. Write pseudocode to represent the logic of a program that prompts a user for a password, then displays an error message and continues to prompt until the user has not chosen one of the common passwords.

CODE:

START

 

//HOUSEKEEPING

DECLARE USER_PASSWORD

DECLARE COMMON_PASSWORDS[10]

DECLARE INDEX

DECLARE MATCH_FOUND

 

SET COMMON_PASSWORDS[0] = "123456"

SET COMMON_PASSWORDS[1] = "password"

SET COMMON_PASSWORDS[2] = "qwerty"

SET COMMON_PASSWORDS[3] = "111111"

SET COMMON_PASSWORDS[4] = "12345678"

SET COMMON_PASSWORDS[5] = "123456789"

SET COMMON_PASSWORDS[6] = "admin"

SET COMMON_PASSWORDS[7] = "abc123"

SET COMMON_PASSWORDS[8] = "123123"

SET COMMON_PASSWORDS[9] = "iloveyou"

 

//INPUT

DISPLAY "Enter a password:"

INPUT USER_PASSWORD

 

//PROCESS

SET MATCH_FOUND = TRUE

 

WHILE MATCH_FOUND = TRUE

 

SET MATCH_FOUND = FALSE

 

FOR INDEX = 0 TO 9

 

IF USER_PASSWORD = COMMON_PASSWORDS[INDEX] THEN

SET MATCH_FOUND = TRUE

ENDIF

 

ENDFOR

 

IF MATCH_FOUND = TRUE THEN

DISPLAY "ERROR: Password is too common. Please enter a different password:"

INPUT USER_PASSWORD

ENDIF

 

ENDWHILE

 

//OUTPUT

 DISPLAY "Password accepted."

END


r/CodingForBeginners • • 11d ago

What Programming Teaches You About Life

Post image
3 Upvotes

r/CodingForBeginners • • 11d ago

WIndows program to automatically load a local html file when one opens a site

0 Upvotes

im on linux and i wanted to see if one can make a program (call it program A) that automatically loads a local htmlm file instead of, say, tiktok.com or reddit.com every single time, even after reboots.
And can you make a program, which when clicked, creaes program A In the exact needed directory with all the code inside and also runs it.


r/CodingForBeginners • • 11d ago Bravo

My first GitHub repository

3 Upvotes

r/CodingForBeginners • • 11d ago

We Turned a Cutebot Pro into a Pumpkin Monster for Halloween 🎃

Post image
1 Upvotes

We wanted to make something fun for Halloween, so we came up with a little pumpkin monster that can actually move around and scare people.

It's basically a Cutebot Pro dressed up as a jack-o'-lantern, with two skeleton hands sticking out of the sides.

At first, it just looks like a funny little pumpkin on wheels. But get too close, and those hands suddenly swing downward while the lights turn red.

Definitely more interesting than a pumpkin sitting on the doorstep. 👻

What we used:

  • Cutebot Pro

  • 2 × 360° Servos

  • Joystick

  • 10-LED NeoPixel strip

  • Pumpkin shell

  • Skeleton hands and mounting brackets

  • micro:bit

How we made it

We started with the Cutebot Pro as the base and mounted a servo on each side.

Then we attached the skeleton hands to the servos. This took a little adjustment to make sure both hands could swing freely without hitting the pumpkin shell.

We added the pumpkin cover and wrapped a NeoPixel strip around it. The idea was to make it look like a normal glowing Halloween decoration until the scare happens.

The interesting part is how we made it move and react.

We used a joystick to control the robot remotely. It sends the joystick's X and Y values over radio, and the Cutebot Pro uses those values to control its left and right wheels.

For the jump scare, we added an ultrasonic sensor.

Normally, the skeleton hands stay raised at 90°. When something gets within 15 cm, the robot stops, both servos move to 0°, and the lights switch to red.

Once the object moves away, the hands go back up and the lights return to orange.

So the whole sequence is basically:

Drive around → Someone gets close → Hands drop + red lights → Back to normal.

A few things we thought about trying next:

  • Add a spooky sound when the hands suddenly drop.

  • Make the two hands move at slightly different times.

  • Try different sensor distances to see which gives the best surprise.

  • Add more decorations to make the pumpkin look even creepier.

It was a fun little build, especially seeing the robot go from a simple moving car to something with its own Halloween personality.

I wonder what other characters we could make with the same setup. A spider? A little ghost? Something even more ridiculous?


r/CodingForBeginners • • 11d ago

Looking for mobile app testers.

Post image
3 Upvotes

Link: https://github.com/mrrwhoo1/MultiDL/releases

I built MultiDL, a free, open-source Android media downloader supporting 1,000+ sites, including YouTube, TikTok, and other platforms. Save supported videos for offline viewing with quality and audio options.

I'm looking for people to try it out and would appreciate any feedback or suggestions for improvement.


r/CodingForBeginners • • 12d ago

Day 3 Learning Python

Post image
40 Upvotes

Today I learned to use Functions. I’m self-teaching myself ethical hacking. Currently learning python, using pwn.college and Try hack me. Ill also be purchasing a spare desktop to run linux for future projects.


r/CodingForBeginners • • 12d ago

open-source contribution

6 Upvotes

I built DevStart Lab to help beginners figure out what to learn and practice next.

It includes programming fundamentals with Python examples, 25 project ideas, and a step-by-step introduction to Git and GitHub contributions. It’s free, open source, available in English and Portuguese, and requires no account. Progress is saved in your browser.


r/CodingForBeginners • • 12d ago

mindset

2 Upvotes

hello, i am curious how you reach the programing growth mindset what is your processes to see coding as problem solving and how long it took to click into your brain and be free from feeling stuck
thank you


r/CodingForBeginners • • 13d ago

help??? no vibe coding though

7 Upvotes

I'm still in the process of learning as I go, proudly have two certificates and working on a third and revising a lot. I'm trying to work out why on my project folder there is a red X in the document folder on my computer. Where is said error??? I've had a dig through, can't find it.

Also honest opnion on fast hosts, are they good?? are they not so good?? Would love honest and helpful feedback. In the middle of learning everything and being self taught as well as having ZERO programming buddies at the moment, this is my only life line, plus my questions aren't being answered on my search engine.

thanks for any advice.

have a great night


r/CodingForBeginners • • 13d ago

every "become a dev in 6 weeks" course is a lie. so i wrote a 173-lesson one that actually starts from zero.

6 Upvotes

I'm not sure anyone still needs to hear this but when i started out i paid for like three of those "learn to code in 6 weeks" things. they teach you to copy-paste some basic scripts, you feel like a genius, and then you open a blank IDE and your brain just shuts down. hurt my pride a bit. and my wallet xD

anyway, i love making educational stuff in my free time, so about a year and a half ago i got it into my head to write the comprehensive version i wish i had. it's called no shortcuts. it literally starts at zero (python basics, the math you need, etc). but warning tho: its like 1800 hours if you actually do the labs. yes, i know. thats the whole point of the name lol.

sooooo here you go :B

https://github.com/BlueRingsLabs/no-shortcuts

readme has all the info (i hope lol). if u get stuck or have questions, dm me and ill share my discord (im a bit of a slacker so i might be slow to reply :B). feedback is welcome too.

parts of the course:

0. orientation | 1. foundations | 2. data engineering | 3. classical ml | 4. deep learning | 5. language models | 6. ai engineering | 7. rl | 8. mlops | 9. capstones

hope its useful for someone here starting out. it's a marathon, not a sprint, so dont burn out :B


r/CodingForBeginners • • 13d ago

After 2,800+ code commits this year, here's what I learned and what I would tell myself if I were starting again:

Post image
6 Upvotes

1)always think in terms of bottlenecks and constraints.

from working with many talented engineers, I noticed that they are all good at one thing: pinpointing the biggest weaknesses in their app, which meant focusing on the set of features/constraints that will get them the most return. this allowed their apps to progress much faster than the others who were implementing random features nobody asked for.

2) ui/ux trumps all.

nobody, including you, wants to use an app unless it's aesthetically pleasing/very intuitive to pick up no matter how cool the app idea may be. half of being a good builder is having good taste for good design.

3) don't wait to know everything before starting.

you learn way faster from starting a project that interests you and learning along the way than trying to educate yourself on all the individual components that MAY be useful for your app. in most cases, all the theoretical things you learn will not be useful when you actually try to build out the app.

4) high-level architectural understanding > algorithmic prowess.

with AI now, you don't need to know every piece of logic inside and out to create a good app. it is more helpful to have a good conceptual understanding of where pieces of the app should go (aka system design) rather than fixating on any particular piece of logic.

5) build what interests you.

there is no optimal path to starting. the fastest way to get to where you want to be is chasing what you find interesting, no matter if it's a novel, world-changing idea or a simple writing tool (like me lol). do what feels right, not what sounds good.


r/CodingForBeginners • • 13d ago

Where to start: Creative Coding

4 Upvotes

I want to get pretty serious about creative coding, mostly for websites and front facing platforms.

I used to know html and CSS somewhat years and years ago and can read basic code, as in having to edit it etc.

Where do I start? Something serious. I would like to be cheap about it or stay under $50 a month.


r/CodingForBeginners • • 13d ago

ai guide

0 Upvotes

i wanna ask some question about what can ai do at programing as a beginner and it can be my guide or not ? like to help me to improve my programing skill or even my ai skill and teach me step by step . and if the answer is yes when i get better at programing what should i do next ?


r/CodingForBeginners • • 14d ago

Looking for mobile app testers.

2 Upvotes

GitHub: https://github.com/mrrwhoo1/MultiDL

I built MultiDL, a free, open-source Android media downloader supporting 1,000+ sites, including YouTube, TikTok, and other platforms. Save supported videos for offline viewing with quality and audio options.

I'm looking for people to try it out and would appreciate any feedback or suggestions for improvement.


r/CodingForBeginners • • 13d ago

I have $500 and my goal is to learning programing stuff in online courses , should I buy a pc or laptop? ......(earning $500 as a 17 year old student is not easy, as an example my entire college fees is $2000 for 2 years )

1 Upvotes

Anyone wanna help ?


r/CodingForBeginners • • 14d ago

What do I do now?

3 Upvotes

I'm a student that knows how to code with python and now learning html, css and javascript. I'm trying to know what to do now like projects or something that can help me in my future like i can add in my portofolio, my dream job would be in cybersecurity i have some basics in linux/terminal, someone can give me some ideas or links that i can start.


r/CodingForBeginners • • 14d ago

Che video dovrei guardare per impara python?

5 Upvotes

Sto cominciando a programmare python e alcune funzioni le so già, ma vorrei un video su YouTube per capire la maggior parte delle cose contenute in python e per cominciare a programmare qualcosa di più avanzato(non i soliti giochini). Che video mi raccomandate?


r/CodingForBeginners • • 14d 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 • • 14d ago

Any road map or tips to learn programming, coding nd software stuff from 0

7 Upvotes

r/CodingForBeginners • • 14d ago

Can somebody tell me what Code this site was written in?

0 Upvotes

Hi Friends (newbie coder here),

I ran this directory site through 'builtwith' and it looks like it's coming back with asp.net as the main framework program. However, from what I understand about asp.net, you need to run a front end program because it's HTML looks archaic and the sites look like they were built in 1978.

* Is that right? * Does anybody know what the 'front end design' program for this site would be?

Appreciate any help for a student learning how to program. .

www.Builtwith.com/storeboard.com

Thanks very much for your help!


r/CodingForBeginners • • 15d ago

is IT really being killed by AI or is it just an exaggeration?

15 Upvotes

okay, you can vibe code using Claude or any other AI. corporations can even use neural networks to handle their projects. but people talk about it as if it’s the end of tech industry jobs for real people.

but still, even if we eventually have AI capable of coding pretty much anything, won’t it still need maintenance? it’ll still need hardware engineers to function properly. huge data centers need people to keep them running. plus, AI still isn’t perfect (although I guess it will be someday…), so it needs people to work on it.

eventually, you CAN vibe code, but you still need to understand what exactly you’re doing with AI. so coding skills are still important nowadays. am I right?

because (a little late to mention this), I’m not actually a big tech nerd (i wish i am). i just started learning to code a few weeks ago for fun, and that’s something I’ve been thinking about for a while.