+ 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!
48 Respostas
+ 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.
+ 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.
+ 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 .
+ 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 😉.
+ 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
+ 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 !
+ 4
Lesi Lesi Think logically creative
It's not a big deal just imagine and start coding
+ 4
Whatever websites or apps you visit ...just try to think how they coded it....might just help you imagine
+ 4
Make friends with stackoverflow and Google
+ 3
How do I succeed in leaning coding/ I am a beginner please.
+ 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! ❤💻
+ 2
loop (writing code -> compile -> analysing errors) 🤔😅
+ 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.
+ 2
Give yourself minor tasks ....it'll improve your skill...making u a greater programmer
+ 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
+ 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
+ 2
imagine the output
+ 2
When you think like a programmer you can solved
+ 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
+ 2
Think of learning how to program as a new language, a little simpler than Chinese literature, but think of it as a new opportunity to get more jobs, the more u learn the more doors open for u in the future. One more thing that I think that could help u get into it and show persistence for it is that the world is going into a more technological order and more people are going into it and opening doors for everyone including themselves.
If u are into it than your about to see a entire world of opportunities and it will change how u see the world when u get into it. So keep it up and u will see for yourself that it will be better for u to crunch down on it. Merry Christmas