PROGRAMMING IS NOT ABOUT ANY LANGUAGE. IT’S ABOUT EXPLAING SOMETHING TO A STUPID COMPUTER.
The beginner way of programming
- Write Code - Test - Repeat until works
Why this is bad
- Time Consuming - Time Consuming! - Bad Code
+ You understand it when you can explain it to a 6th grader + Understand the problem? You are just a few steps behind the answer.
2. Thing & Plan
+ Don't rush into coding down the solution! Make a plan first. + "Given input X, what are steps to return output Y?
+Don't try to solve a huge problem. + Break it down into small, individual chunks which you think you can solve. + You always struggle with only a very small problem of these chunks.
4. It Takes Time
It goes without saying that you won’t become a great programmer overnight. Not even 5 years would be enough.
We have to constantly learn:
- New things
- From others
- From past
+ Understand the problem + Think and Plan + Divide problem into doable chunks + Keep learning consistently