+ 11

How to think like a programmer?

I have read many q&a's and watched plenty of videos but I still cannot understand what I have to learn so I get better at problem solving. By now, what I have understood that can make me think like a programmer is to learn algorithms . What's your opinion? Every reply is welcome!

15th Dec 2020, 9:39 PM
YourTimeIsComing - avatar
48 Answers
+ 15
Try to make something challenging. As you try to implement features and ideas, you'll want to look for solutions to problems, which will probably be done through a lot of googling and stackoverflow browsing. Try to understand the solutions you find on the internet and not just copy paste them. As you overcome problems, you'll start to get better at solving them the next time you face such problems.
15th Dec 2020, 9:59 PM
KINGDX - avatar
+ 10
Before you can think like a programmer, you must learn the programing language. Study the syntax, termonolgy and logic and practice. Then you will be able to discern the problems. Example: Explain what everything in this code does. #include <iostream> using namespace std; int main() { cout << "Hello World!"; return 0; } What is #include <isostream> what is using name space what is int what is main() what is Std etc.. Why are these things important. What do they do. What breaks the code. Why.
16th Dec 2020, 2:59 AM
Chris Coder
Chris Coder - avatar
+ 9
Lesi Lesi whenever you're in a course, each new concept that you learn, write it in your IDE, or whatever you code in. Try making your own small experiments with it, repeat until you know very well how to do it. By making this with everything you readx you'll see how you grow in knowledge.
15th Dec 2020, 9:52 PM
Petros the Parakeet
Petros the Parakeet - avatar
+ 5
I think a programmer have to know well how the computer implements each line of code he writes and how instructions and variables will be called and stored in memory to avoid confusion in future .
16th Dec 2020, 9:20 AM
HBhZ_C - avatar
+ 5
Coding was easy for me to learn, but I thought exactly how u are thinking, am I ready to learn coding with my skills in math and science or will I even pursue my dreams. But I did and I still am, as long as u show persistence to have knowledge of it and want to know everything about it and allow yourself to make mistakes and learn from them. U my friend will make a excellent programmer if u do all this, and if what u are reading and watching isn't helping. U should try Khan Academy or W3schools, completely free and no ads. I hope u all pursue your goals and dreams and don't give up, thank u and have a merry Christmas 😉.
16th Dec 2020, 3:48 PM
James - avatar
+ 5
See programming is a beautiful thing like if u want to solve a problem and u think how can I solve it u may be scared as u think that there will be a lot to code but eventually when u sit on a table chair and start cracking that problem u reach till end very easily and then u really dont know wat u did becoz u were thinking it was impossible for u an hour ago so just increase courage and do coding with high concentration
16th Dec 2020, 6:35 PM
Namit Aggarwal
+ 4
Lesi Lesi I can relate myself to you. Not only me, but everyone at some level have felt same as you. How frustating it becomes when we are not able to understand something. For me, I have realized that we should learn to manage our expectation. We see others code and feel when I will be like them. This is not good ! We all learn at our own pace, we need to do more practice. They too have undergone same as you, but they have practiced hard to be there. All I can say to you, no matter what other say, you believe in yourself and practice even little everyday until you become master. Invest your time in programming tutorials or books. One day you, me and other, we will succeed !
16th Dec 2020, 12:21 PM
Bibek Pant
Bibek Pant - avatar
+ 4
Lesi Lesi Think logically creative It's not a big deal just imagine and start coding
17th Dec 2020, 7:12 AM
Hulk[left] - avatar
+ 4
Whatever websites or apps you visit ...just try to think how they coded it....might just help you imagine
17th Dec 2020, 2:06 PM
Isha - avatar
+ 4
Make friends with stackoverflow and Google
18th Dec 2020, 10:28 AM
Abdul Lee🎌🇨🇳🇳🇬
Abdul Lee🎌🇨🇳🇳🇬 - avatar
+ 3
Learning mathematics makes you think logically and create quick algorithm for solving programming tasks. Talking about how a programmer's think? we think like a mathematician.
15th Dec 2020, 10:49 PM
Mirielle - avatar
+ 3
How do I succeed in leaning coding/ I am a beginner please.
16th Dec 2020, 3:07 PM
Saula Sheriffdeen
Saula Sheriffdeen - avatar
+ 3
★Lesi★ Nice Question! Whenever you try to learn programming remember one thing that your mindset is to learn it anyhow... You have to understand it anyhow.. You have to become a best programmer.. You want to do something big in life...Like this keep motivating yourself.. After you motivate.. Then you will definitely try to find solution for every problem... You will definitely try to learn everything deeply...you will start practicing and keep challenging yourself...your perspective towards programming will change & you will learn it easily! ❤💻
17th Dec 2020, 1:16 PM
Mr. Unknown
+ 2
Learn what pointers are and the difference between an array and reference based lists as well as the pros and cons of each, stack and heap memory allocation, and Big-O notation would be a good start. The goal shouldn't be about syntax, what you should learn are concepts that can be applied to all programming languages.
15th Dec 2020, 9:57 PM
Odyel - avatar
+ 2
Give yourself minor tasks ....it'll improve your skill...making u a greater programmer
16th Dec 2020, 7:37 AM
+ 2
This is not a big deal. Just learn programming and make simple and complex projects Your way of thinking will improve by just practicing
16th Dec 2020, 2:21 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar
+ 2
My idea is a little clumsy, whatever i interact with. Any situation, i tend to think how to solve or make it better with code.. that enables me to remember some important modules that may come in hand and certainly when I get the almost similar problem in the future, we all know how easier that can be to solve
16th Dec 2020, 8:01 PM
Joe(Wen #1 All time?)
Joe(Wen #1 All time?) - avatar
+ 2
imagine the output
17th Dec 2020, 8:22 AM
PAVIKUMAR T - avatar
+ 2
When you think like a programmer you can solved
17th Dec 2020, 10:20 AM
Mikael Petrus Saragi
Mikael Petrus Saragi - avatar
+ 2
If you have a computer or any pc, u can press Ctr and then U on a website to see the html code, this another way of learning to coding, or u could inspect the website, also look for the source of the code or website. U can use all these as a way to get reference and learn how they programmed it
17th Dec 2020, 2:39 PM
James - avatar