How Life is Like Coding
by Omar Abdelhamid
Coding is a science. But in coding, there’s more that you learn than the rules and the commands and the format and the different aspects of every language. While learning coding, there are important life lessons that are learned as well.
1) In coding, there are tons of lines of code to write. Lines are measured in the millions, and they are essential to the foundation of what you are coding. In life, there are some phases and hardships that are tedious that everyone has to go through, and they are essential to the foundation of yourself. If you get past them, you could find success.
2) Sometimes its best to take shortcuts.
Luckily for programmers, there are many coding shortcuts that make it much easier for them to write code. There are pre-made commands and shortcuts that accomplish things that would be much harder without them. In life, we are sometimes given advantages like technology that make it much easier for us to accomplish otherwise difficult things. In both cases, these help us skip tedious parts and get to working on the more substantial parts of projects, and thus create more and more amazing things more quickly and efficiently.
3) Be Creative.
Sometimes there isn’t a command for something, and you need to use your creativity to work out a way to solve a problem or reach a desired result if there isn’t an already established way to do something. Sometimes you can’t find open source code for something, and you have to find out a way to make it work. Similarly, in life, we don’t always learn the solution to our our problems, and we need to think with an open and creative mind in order to solve them.
4) Mistakes aren’t always clear.
In coding, you could have finished a long block of code, but when you run it, it doesn’t execute the way you wanted it to. You think it should be easy to fix the problem, but one big roadblock is in the way: you don’t know what you did wrong. You have to search through your code and test every segment separately sometimes to know what you did wrong before you even think about fixing it. In life, we don’t always know what went wrong when we are faced with an undesirable result. We have to experiment and make mistakes and learn from them so that we could find the best combination of conditions and find success.
Coding is said to be the language of the future. How suiting too, since it serves a double purpose as the basic building block of technology and an important teacher of how to success in life.