+ 1

How do I learn (really anything) to program?

I've been learning how to code, but not much about how to program. Programming is about using that code to solve problems, but I realized that I can't solve those problems if I don't know my problem; I mean that as in I don't know much about the topic relating to the problem (ex. You normally wouldn't be able to make a program that validates credit cards without knowing the formula to do so). My question really is: How should I go about learning about the problems that I have so that I can be able to solve them with code?

18th May 2025, 9:19 PM
Steel
Steel - avatar
5 odpowiedzi
+ 3
It is like "Which came first? The chicken or the egg?" It is understandable. We know the coding basic, eager to code, but have no idea what to code. If there is an idea, don't know how to start it. First is to identify the problem or set the goal. Using your credit card example, your goal is to validate a card number programmatically. Second is to identify the steps to solve the problem. Such as there is only 16 numbers, no alphabet letters, etc. Once the steps are clear, then plan how to code it. Like "What function does the program need?" After the code is written, put it into test and see if there is any error. If any, find the source and fix it. Actually, there is a code coach related to credit card number. It lists all the requirements and saves your time on second step. https://www.sololearn.com/coach/96?ref=app
19th May 2025, 9:46 AM
Wong Hei Ming
Wong Hei Ming - avatar
+ 4
But I would advise that you take a good time to look at the problem on ground before thinking of how to apply your skills into it. Good luck👍
18th May 2025, 11:44 PM
Kilani Abdulrahman Damilare
Kilani Abdulrahman Damilare - avatar
+ 3
Nice question 😀 Let take a deep look at it🧐 1. Look at what the problem is ------ e.g. I am a school worker in charge of determining the grade of students score in exams, and also monitoring the percentage of people who pass and those who fail. In that case you may need your programming skills in programming languages like java, python, or even JavaScript to create something that does help you solve that problem 2. Set goals 3. Start coding 4. Get the job done😀
18th May 2025, 11:42 PM
Kilani Abdulrahman Damilare
Kilani Abdulrahman Damilare - avatar
0
My friend Omar would know.
18th May 2025, 11:36 PM
VeryFunCodingILove
VeryFunCodingILove - avatar
0
Do it enough and you will get experienced.
18th May 2025, 11:41 PM
Zvi
Zvi - avatar
OSZAR »