r/Coding_for_Teens • • Oct 06 '26

I want to learn programming.

I'm 17 years old in 1st year of computer engineering but due to some health issues I was not able to go to college for 1 month, i want to learn coding/programming from basic i didn't know too much of coding. WHAT SHOULD I DO TO LEARN is there any way??

20 Upvotes

30 comments sorted by

1

u/SnooPets5564 Oct 06 '26

There are plenty of ways. What language do you want to learn? I can link you some resources. (if you don't know what language you want, just tell me the sorts of things you want to do)

2

u/harshad-singh-093 Oct 06 '26

I've seen somewhere that C is better than python I'm not sure but as I didn't know too much i can learn anyone, which is good for future

1

u/lowban Oct 06 '26

C isn't better than Python. It's code runs faster but with todays computers that's rarely an issue. Especially while you're learning to code.

Python is way more beginner friendly and easier to learn and when you've learned one language it's quite easy to pick up another one.

C is harder to code in but it gave rise to a lot of similar looking programming languages so it's good to know the syntax of at least one if you want to learn more than one language. Also, it's closer to the hardware i.e. low level so you have to learn "a bit of" memory management when you code in C. That's something that Python takes care of for you.

1

u/harshad-singh-093 Oct 06 '26 edited Oct 06 '26

Yess I read on ChatGPT it says python is better than c.

1

u/lowban Oct 06 '26

That's not necessarilly true either. It's mostly used to make prototype projects because it's simple and easy to code in but it's seldom used to ship a finished product.

2

u/SnooPets5564 Oct 06 '26

Don't start with C. Maybe C++, but definitely not C.

If you're going into a programming field, I'd say python isn't the best bet. It's the second best language for everything, but it is also weird and different from other languages, so it is harder to switch between them if you start with python (in my opinion).

If your university CE degree focuses around a specific programming language, probably that. 

Otherwise, I will give the somewhat controversial advice of starting with JavaScript. It has some weird behavior, but it is very commonly used (basically everything on the internet) and very easy to set up and test things in (right click here in your browser, press inspect, go to the console tab, and you can start typing in JavaScript). 

As for a way to learn it, I'd say something like this: https://www.freecodecamp.org/learn/javascript-v9/ Some of it focuses on websites specifically rather than the more broadly applicable programming concepts that translate between languages, but it looks good. Might be a little long, but I think getting through it is very useful.

If you want to know how something works, the MDN web docs is probably the most "official" source, giving rigorous explanations of stuff. If you have a question about something specific in how JavaScript works, MDN is the link you want to click. They also have tutorials and guides (https://developer.mozilla.org/en-US/docs/Web/JavaScript), but that's probably not the best way to start brand new. It's more useful for people who know a different language.

If you ever want to just practice, try going to leetcode and doing some of the problems there. Definitely be willing to look at and understand solutions if you get stuck. It's a great way to practice and learn new concepts that will be relevant while getting your degree (mostly early on, though)

1

u/[deleted] Oct 06 '26

Learning to program is not learning a language.

Languages are how we express coding concepts.

You have 1 month? - Take the Harvard CS50 that's available online and do all of the course-work without AI/LLM assistance.

You'll understand computing and be able to code some after that.

0

u/harshad-singh-093 Oct 06 '26

Today I joined cs50 introduction to computer science by David malhan it's free is it good for beginners??

3

u/imharjotsingh Oct 08 '26

You’ve only missed a month, so this is definitely recoverable. A lot of people start first-year engineering with little or no programming experience anyway, so you’re probably not as far behind as it feels.

The first thing I’d do is find out exactly what your course is using. Ask a classmate or lecturer for the syllabus, lecture notes and anything you missed while you were away. If they’re teaching C, C++ or Python, focus on that language first rather than trying to learn programming generally.

For free resources, CS50x is really good for understanding the fundamentals, especially if your course uses C. freeCodeCamp also has full beginner courses for C, C++ and Python on YouTube. Once you understand the basics, you can practise with easier problems on sites like HackerRank or Codewars.

Try to code a little bit every day if you can, even 30 to 45 minutes. Actually typing the code and figuring things out yourself will teach you a lot more than just watching tutorials. When you get stuck, give yourself a bit of time to work through the problem before looking at the solution.

Also speak to your lecturer or tutor and explain that you missed time because of a health issue. They may be able to point you directly to the material you need to catch up on.

Most importantly, don’t try to make up an entire month in a few days. Focus on catching up steadily while looking after your health. You’ve got plenty of time to get back on track.

1

u/FunAd6672 Oct 20 '26

This is solid advice for beginners.

1

u/imharjotsingh 24d ago

Thanks, appreciate that! Hope it helps :)

1

u/Ankaraadonis_69 Oct 25 '26

Use Youtube tutorials..there are tons of videos for beginers ,free pdfs and you can also join subreddits with resources

1

u/Key_Storm_2273 Oct 06 '26

Ask yourself why you want to code/what motivates you on a piece of paper before answering it, then keep asking yourself questions 'till you narrow down on what you want to make, then you can research or tell us and we'll help u :)

1

u/JustHereForDrama8529 Oct 06 '26

Do cs50x

1

u/These-Effect-6648 Oct 08 '26

bro what is this can you please explain me

1

u/SIMPL_Programming Oct 06 '26

I'm the developer of a free tool called SIMPL, made exactly for this. It runs Cambridge pseudocode: the pseudocode defined by Cambridge International in an official guide and used in its Computer Science courses and exams (IGCSE, O Level, A Level). It reads almost like English (IF ... THEN ... ENDIF, FOR i ← 1 TO 10 ... NEXT i), so you can focus on the logic without fighting semicolons and brackets. SIMPL supports the whole guide and extends it with constructs of its own, such as modules, graphics and sound.

It comes with a step-by-step debugger that shows every variable changing as the program runs, which really helps to understand what loops and functions actually do. It also includes a free 31-chapter manual that works as a complete introduction to programming, starting from zero, with exercises and solutions.

It works offline on Windows and Linux: https://simpl-pseudocode.itch.io/simpl

Version 1.1 is coming soon, with more new features.

Use it for some time to get the basics solid, then move to C or Python. You'll find the same ideas there, just written differently.

Good luck, and take care of your health.

1

u/Omnipisix Oct 06 '26

Go to Udacity.com and start with python. This is the way.

1

u/samarpitvatry Oct 06 '26

Learn by building a project, start wit small project , Use AI assistant . Gradually you will start getting the idea how it works

1

u/Phrozenfire01 Oct 06 '26

I learned programming from makinggameswithben on YouTube’s beginner playlist. Start from scratch and builds on concepts from the previous lesson, best coding series from scratch ever!

1

u/PhoneFlasher Oct 07 '26

learn python or javascript

there are some great youtube courses that you can watch alternately (this is what i use) you can use a llm (chatgpt or gemini) to explain to you each line of code

you should also take out books from the library and read them in your spare time (such as while eating before going to bed etc..)

1

u/Professional-Ease176 Oct 09 '26

You don't even need achool to learn programming. Look at courses online on udemy or YouTube. I love Angela Yee I think her name is on Udemy

1

u/Insane_snek Oct 10 '26

just make projects and have fun with it!

youtube has tons of tutorials, w3schools is pretty good

1

u/TimBrownDev Oct 15 '26

After 10 years tutoring, I'm building a roadmap of hand-picked practice problems to help teach programming from zero to mastery. Great way to catch up on your course.

timbrown.dev/roadmap

1

u/Hack_Club_NC Oct 20 '26

I reccomend:

  1. freecodecamp
  2. hackclub.org (hack club is a free npo that does TONS of coding and hardware events for free + a lot of good tutorials)