Become the fastest programmer in the world

This post was influenced by the film Limitless.

“An action-thriller about a writer who takes an experimental drug that allows him to use 100 percent of his mind. As one man evolves into the perfect version of himself, forces more corrupt than he can imagine mark him for assassination. Out-of-work writer Eddie Morra’s (Bradley Cooper) rejection by girlfriend Lindy (Abbie Cornish) confirms his belief that he has zero future. That all vanishes the day an old friend introduces Eddie to NZT, a designer pharmaceutical that makes him laser focused and more confident than any man alive.” –  IMDb

I found the film quite inspirational, and immediately began researching methods to improve my productivity.

Focus is the key.

Anything which has the potential to break your concentration must be removed from your environment. Close Facebook, Twitter, Skype and your Email. If you have your own office close the door. Position your desk in a direction which minimises passing distractions. Clear your physical and virtual desktop.

Performance enhancing drugs.

Caffeine can help stimulate your mind and body. In my case, only a small amount is required otherwise it has the opposite effect, and actually reduces my concentration level.

Fuel the fire.

Keep bottles of water and various snacks at arms length. Being well hydrated will keep you alert, whilst the sugar will satisfy the slightest hunger, without having to resort to getting up for something more substancial. Your doctor won’t be too happy about this, but hey.

Stay in the zone.

Listening to music works for me. Tracks without words ideally. The higher the BPM, the better. Drum & Bass is a great choice. This one is very much about personal preference. There are cases both for and against playing music which is familiar, versus new.

Time of day can play a role. If you are a freelancer or work from home, do so when you feel you are the most proactive. For many developers, it is often the night time. Unless you live above a bar, it should be quieter during the small hours. Clients and colleagues are likely to be in bed, so you won’t be disturbed by emails and phone calls.

Don’t touch the mouse.

Learn all the keyboard shortcuts for the IDE you use.

Engage Auto Pilot.

Try using auto code completion and self closing braces. Keep snippets of often used code handy.

Once you go black…

I switched over to having a black background in my text editor, after years on white. Some editors will allow you to simply invert the syntax colouring. I’ve found that I can look at a darker screen for longer without causing my eyes to fatigue, plus it looks more geeky and matrix-like.

Get a head start.

Consider using a framework. For Javascript, jQuery is obviously the go-to library of choice. For PHP, there are an array to choose from: Zend, Cake, Symphony, Fuel and my personal favourite CodeIgniter. Frameworks provide a great foundation on which to build your application with features like MVC  build in for free.

Summary

It’s all about finding out what works for you. Getting in the zone, and then staying there.

If you found this article useful, help me out by leaving a comment below and clicking the Like button.

This entry was posted in Performance, PHP, Project Management. Bookmark the permalink.

2 Responses to Become the fastest programmer in the world

  1. Glen Scott says:

    Good post.

    I’ve written about removing distractions before. With an increasing number of social networks, it’s becoming more and more difficult to detach ourselves from distractions. However, I find that simply working on paid projects is enough to get me to focus — if that project is not completed then I won’t get paid. That’s enough to focus me! Working on (non-paid) personal or open source projects is much more difficult, however.

    Regarding snacks, I’ve found graze excellent in this regard: small boxes of healthy stuff delivered to you weekly. These kind of snacks are great at keeping you going between meals.

    Code re-use is a must. Typically if there’s some code that you need, it’s likely to already exist in some form or other – a library, class or framework, for example. The best and most efficient programmers are, in my opinion, the ones that do the least amount of programming!

  2. Chris says:

    Some great points here. I should really invert the colours in my text editor!