Archives
- Newer posts
- November 2024
- April 2024
- November 2023
- October 2023
- August 2023
- May 2023
- February 2023
- October 2022
- August 2022
- July 2022
- May 2022
- April 2022
- March 2022
- February 2022
- June 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- August 2016
- June 2016
- April 2016
- March 2016
- February 2016
- January 2016
- July 2015
- June 2015
- Older posts
How programming changed my perception on life
In the Bible of our programmers, an anonymous guy said, “Programming is not about what you think, it’s all about how you think”. And I believe that it can be applicable in real life too, not just for programming. When it comes to real life problems, one can handle them with the mind-set of a programmer.
How do I do it? Well, here’s how it goes.
Taking decisions is an everyday task. Of course, this is common for non-programmers too. ‘If-else’ is used on a daily basis. We have to take decisions depending on the situations. If ‘this’ happens we’ll do ‘this’ else we’ll do ‘that’.
Sometimes we can use switch case too. When I don’t know what’s going be the outcome of a certain situation, I have several cases ready with me. So depending on the outcome, I choose the appropriate decision. And this helps me to be ready for any type of outcome, be it bad or be it good, I’m ready.
CSS (Cascading Style Sheets) is what we’re familiar with. Why do we use it? To make a website look amazing, isn’t it? And why/how do I use it in real-life? To make someone else’s life amazing, by being CSS in their life. When someone is unhappy with the way they are, I make sure they are made to feel special about themselves. Be CSS for your loved ones. It makes yourself feel good as well. Sometimes you’re stuck while coding because you don’t have the required plug-ins. What do you do then? Find the suitable plug-in and then carry on with your work, right? Well, our best friends can be considered as plug-ins too. When I know I can’t do something alone and I need help, I have the plug-ins to help me to achieve what I want. Some friends really make your life easier. Try not to lose such friends.
Then comes the Try-catch! There comes a moment in life when you’re trying something new for the first time. And when you don’t get the output you were expecting, you quit! For example, we’ve seen cases of people failing in exams, living with messed up relationships, etc. and when they don’t know how to handle it, they terminate themselves. When we ‘try’ something new, we should always be prepared to ‘catch’ the ‘exception’ and handle the situation accordingly instead of just terminating.
Sometimes you find yourself with totally different people when you move to a new company. And you try to fit in. You change yourself. Good or bad, it depends. Most of the time you’re just trying to fit in where you don’t even belong in the first place. These are compatibility issues, my friend. Downgrade back to where you were, that’s the only solution available.
Breakpoints help us to analyse our code which helps in knowing whether we’re on the right track or not. Sometimes, we should debug ourselves. Analyse whether we are doing the right thing with our life or just living for the sake of living.
So that’s how programming changed my life. And yes, ever since I’ve started with coding, I keep learning new techniques to handle my life better.