27 things I wish I knew before programming
- Top 20 free programming learning websites need to bookmark immediately!
- 12 extremely useful tricks for JavaScript programmers
What do you wish you had known before learning programming? I - the author of the article wished I knew a lot of things but perhaps only 27 things below are more than enough.
Join TipsMake.com to see 27 things Ken Mazaika wishes he knew right from the start of programming - the message for those who want to follow the path of programming for the future or simply passion and hobby .
1. Study goes hand in hand with practice
The only way to improve programming skills is to actually program. Don't let the " analysis paralysis " ( analysis paralysis, think too much of the mind off the original goal instead of trying to achieve that goal ) prevent you from starting. .
2. Different programming with learning to do the test
Good memory doesn't really help too much.
3. 'Fraud' is fully accepted
If you have any problems, don't hesitate to ask Google or others to learn from it. Because most other programmers too.
4. Leaving errors piling up without checking is a bad strategy
I have been constantly changing my code in the hope that it will run. However, the problem is that this approach will make "errors overlap errors" and make it hard for me to find out where I am wrong when a problem occurs.
5. Self-learning code is really difficult
Talking about code, talking to other inspiring coder is the most effective way to learn.
- 13 tips to help you learn code super fast without being too expensive
6. Ignore your personal feelings
During the journey to become a programmer, you will have hundreds of thousands of times to see the error message appear. You may be crazy or too tired with them, but don't let go. Failure is an integral part, remove all personal feelings aside, gently press OK and try to find the error.
7. No need for 5 screens
Contrary to what is often seen on Hollywood movies, you don't need screens filled with code to become programmers. The computer you own is good enough to start learning programming. Don't waste too much money when you start pursuing the programming path.
8. There is a big difference between uppercase and lowercase letters
It took me a while to realize the subtle difference between the same symbols. You may feel quite frustrated and frustrated until you get used to it.
9. Don't try to understand everything
At first, I tried to answer the 'why' questions for each problem encountered. This is really unnecessary. Computers are complex and there are so many things to learn, you will never understand them. It doesn't matter if I don't know it all.
10. Try to pair program as much as possible
There is no way to learn code faster than double programming. According to Wikipedia, dual programming is a type of programming that requires two software engineers to join a common programming effort on one machine, meaning there is only one screen and one keyboard. Each person does what the other person doesn't do. For example, this person types in unit tests, the other thinks about input classes that will satisfy the test; or the person writes the code and the other person observes to guide or correct the error. It is recommended that two people should alternate roles, about every half hour.
11. Bad code changes (bad code) are part of the process
I used to think that every piece of code I write needs to be perfect, but it is normal to improve them. Can't you write a book and publish it without revising it?
12. Know how to ask others
People don't know anything, sometimes you need to ask others about a problem. When asking others, you need to know the following 4 things:
- Describe exactly what you see.
- Explain what you think will happen.
- Explain what is happening.
- Explain why you think it should work differently.
When you find out, you may find the solution right away without asking for help from others. That gives you the opportunity to look at the whole problem.
13. You don't need to be a math genius
Not good at math doesn't mean you can't become a programmer.
14. Always celebrate the small victory
Turning code into a working product is a very interesting process. I will not be able to succeed like today without looking back and appreciating what I have done.
15. Meet other coder
At first, it was obvious that everyone felt self-deprecated and shy. But when you "miss" the seminars, you will realize that there are many new coder entering the profession just like you. Meet other coder to find new friends, share and learn more experiences for yourself.
16. Avoiding conflict when merging will make you happier
Merge conflict is annoying. So, when I realized what kind of feature I could 'slip' into a colleague so he / she had to deal with them for me, I was extremely excited.
17. Acknowledge what you don't know
When looking for the first programming job, don't get to know the programming languages that you haven't even learned. Don't do that. Nobody expects you to know everything even.
18. No need to study code for 10,000 hours to find work
In fact, you just need to be good enough to know to improve yourself and regain its form when the problem appears. This request certainly cannot take 10,000 hours of your time.
19. There will be times when you wake up and think of code
And it's interesting when that happens.
20. May cause big mistakes
I made a mistake that caused the company to lose $ 10,000. But thanks to this mistake, I learned the most important lesson in programming life: Don't be afraid to put yourself in a position to be able to defy any risks that cause mistakes. You will be more mature, more experienced when you experience them.
21. Algorithms are like finding names in contacts
Algorithm is a step-by-step approach, in which different actions are performed accurately and clearly. Think as simple as the way you find a specific name in the directory.
22. You will never feel like you are ready to devote all your time to programming
Imposter syndrome is real. Imagine that you don't know anything and that's perfectly normal. Most importantly, understand that you can find things you don't know.
23. Programmers never stop learning
Technology is constantly evolving, so successful programmers are people who are constantly learning and developing their skills every day.
24. Getting computer thinking like people
Many people recommend "thinking like a computer", but try to imagine the opposite.
See also: Forming a way of thinking like a programmer
25. Programming is the correct use of the necessary tools for the job
There are many different open source libraries, tools and frameworks that are right for you. So, you need to develop your own toolkit, understand which tool fits the problem you have.
26. Don't give up before the results come
Learning code includes a lot of work. It takes time, effort but not impossible. Too many people make mistakes, give up even if there are only a few simple steps to complete everything.
27. Learning programming is not easy
But that is also the reason why it is worth it and you will not regret it.
In short, I feel really happy because I was too naive at programming. Back then I knew too little, so I had the motivation to always think about everything I learned later.
If you have any useful tips for beginners to learn computer programming, don't hesitate to leave a comment below!
Author: Ken Mazaika
Refer to some more articles:
- If you want a successful career, find out about the five 2018 technology trends!
- Top 6 outsourcing trends will change IT industry by 2018
- 7 reasons you should learn Swift programming language
Having fun!
You should read it
- The confidences of a Coder: Finding bugs must rely on both hunch and rules
- Form a way of thinking like a programmer
- How does programming affect our brains?
- 10 best programming games to test and develop your coding skills
- 13 skills that every programmer needs to master
- 6 useful tips from 11-year experienced programmers
- 13 tips to help you learn code super fast without being too expensive
- 8 websites that help programmers practice coding skills
- 11 basic principles that every programmer should follow
- Should we learn many programming languages or just one?
- Collaborative programming using the Live Share feature in Visual Studio Code
- 6 best code editor apps for Mac
Maybe you are interested
Huawei announced the 'Cangjie' programming language developed by the company
ChatGPT answered incorrectly 52% of the time in the field of programming
Learn about BASIC: The programming language that just turned 60 years old
Python - Powerful and intuitive programming language
Is GitHub Copilot or ChatGPT better for programming?
Scratch - Free programming software for children