Mark Zuckerberg is a programmer genius. Either you code on Python, R, C#, Java, C++, in this article you can find some tips on how to program like him. As Steve Jobs once said,
“Everybody should learn to program a computer, because it teaches you how to think.”
Master the loops
Mark Zuckerberg insisted so many times on this point during his masterclass; you must master loops.
According to Mark Zuckerberg, there is nothing more important than efficiency and automation, and he understood it at an early stage. If he has one piece of advice that you must take from him, it is mastering loops.
Even if you need days, weeks, or months; you must dedicate some time to increase what he calls “loop agility”.
Zuckerberg believes that if you can automate your process, you will gain time and a competitive advantage in front of your opponents. Either it can be during an interview process, a code competition, or to impress your director. Being comfortable creating loops is crucial.
Spend money on yourself
Investing in a course, a tool kit, or equipment will increase your chance of success. According to Seneca, a Roman philosopher:
“Luck Is What Happens When Preparation Meets Opportunity.”
And Mark Zuckerberg explains it very well during the second part of this interview:
Sometimes, we must be humble and take some time to listen and learn from people who have more experience in a specific field.
As Mark Zuckerberg explains, if his parents wouldn’t buy him a computer at the age of 6, he would probably never be admitted at Harvard and never created Facebook.
Sometimes life is determined by cumulated actions.
Have fun!
Even if discipline is key, having fun whilst you are coding is even more important. By having fun, you will increase both productivity and discipline.
According to Mark Zuckerberg, our goals should be uncoupled from productivity or the idea that you need to account for this time. That’s the secret to how he has been able to work day and night to code Facebook in one month.
But having fun is harder than you would think since we exist in a competitive environment, and we must get up to date with the latest practice if we want to survive. But the only relevant metrics must be fun and productivity during the time spent.