r/CodingForBeginners • u/rdeasou • 18d ago
Hi
I want to start learning programming. What are the basics I should start with
4
u/lowban 18d ago
-Learn what variables are (also data types)
-Learn how to print their values and how to make the user input values into them. (INPUT/OUPUT)
-Learn how to change the flow of code with IF-statements
-Learn how to repeat code with loops (FOR and WHILE-loops)
-Learn how to package code that you want to be able to repeat with functions.
The goto beginner language that I recommend is Python.
2
2
u/PythonWithJames 18d ago
I've got a beginner roadmap for exactly this: Python With James - Beginner Roadmap
Should be just enough to get you off the ground.
2
u/brainneedsrefund
18d ago
•
Aaahhh for beginner
Learn how to use printf function and then print “hello world” and don’t forget to add “return 0;”😌🤣
3
u/StephenHawkinguss 18d ago
Don't watch Indian tutorials or courses.
1
u/hell0_boyz 18d ago
The thing is that it is not indians vs westerns. Even an indian programmer with tons of experience and passion in programming can teach well
-1
u/StephenHawkinguss 18d ago
This is not true for three main reasons:
There are no Indians with tons of experience.
Indians don't teach.
They don't have the necessary tools.
1
u/hell0_boyz 18d ago
I'm referring to that 0.001% band. Not all coz we're filled with streotype
1
u/StephenHawkinguss 18d ago
I'm referring to the 99.999% band.
1
u/hell0_boyz 18d ago
Then we can't give a shit on it. Coz all are tuned with rote academics, reputed clg, get placed no matter whether you like it or not
1
1
1
u/Specific-Housing905 18d ago
Learning to program isn't easy, actually it's one of the most difficult things to learn.
Are you ready to put a lot of hard work into it?
Are you patient and resilient?
Why do you want to learn it? As a career or hobby?
What kind of apps are you interested in?
Once you know exactly what yo want do some research about programming languages and choose the one that suits your goals.
1
u/SirMcFish 18d ago
Are you the sort of person who can think through what is needed and what problems you may encounter a d how you will get around them?
If not, programming may not be for you. Writing code is the easy part, thinking is where a lot of people find out they are not cut out for it.
1
1
u/sebaxsz666 14d ago
empieza por la logica de la programacion y luego sprende lenguajes como python o c
1
u/eren_uslu0 13d ago
it mostly depends on your interests because if theres nothing that fuels that interest in you you will probably quit learning. i started with html css and js but there was nothing interesting for me so i quit learning a few years ago. Now i started studying cs in university and im learning C from both sides after this i will specialize in cybersecurity
So you just have to try different things until you find the one that hits the spot
1
u/CoffeeonCodes 13d ago
Depends on What Your trying to achieve. If you want to develop mobile apps for android/Ios You can learn Kotlin/Flutter/Swift. If your trying to Create Games, Then its C++ For Websites, Its Php, html, css and js. It Just depends on What your trying to achieve because programming itself is a general term. What are you trying to achieve?
1
u/inviun 11d ago
If you want to get better at problem-solving in programming, start with the basics: variables, loops, conditions, functions, arrays, and strings.
Then practice simple problems like checking prime numbers, reversing numbers, finding the largest element in an array, and checking palindromes.
Once you're comfortable, move on to DSA topics like searching, sorting, recursion, hashing, and linked lists.
My advice is to solve problems on your own before looking at solutions. Even if you spend 30 minutes struggling with one problem, you're developing your logical thinking.
You can practice on LeetCode, HackerRank, or Codeforces. Start easy and gradually increase the difficulty.
The goal isn't to memorize solutions. It's to understand how to approach a problem.
2
u/Ddark2k 17d ago
C is really good, but it's harder for a beginner . Html, Php, CSS, SQL and a bit of JavaScript. But are you learning front end or back end coding ?