How To Be An Efficient Developer
Rule 1: STOP TRYING SO HARD đ
Okay, that needs some context. Others put it like this: BE LAZIER. đ´
Alright, I should really explain. Because so many of us are overachievers, itâs easy to get stuck into an inefficient mindset where youâre doing more but achieving less. Becoming an efficient developer is about putting the âwork smarter, not harderâ mantra into practice, in every single area you possibly can.
I, for one, am a very happy and efficient member of the lazy developers club. Strangely enough, efficient laziness is a hard skill to hone. So, hereâs your peek at the clubhouse rules.
Use shortcuts
Yes-do this! Why?
- Save time by not typing super long commands.
- Save your brain space by reducing super long command recall.
- Share your shortcut tips & make life easier! (Seriously, share them with me on Twitter!)
Bash aliases are a super simple way to shortcut. Hereâs some of my favourites â¤
alias q="cd ~ && clear" alias pest="./vendor/bin/pest" # run pest testsalias phpunit="php ./vendor/bin/phpunit" # run phpunit tests alias cdump="composer dumpautoload"alias ci="composer i" alias pa="php artisan" # shortcut for php artisan đĽalias dbfresh="pa migrate:fresh --seed" # wipe the database and start a new alias gc='git checkout'alias gcb='git checkout -b' alias gmp='git merge -' # merge previous branchalias gcp='git checkout -' # checkout previous branch # navigationalias ..='cd ..'alias ...='cd ../../'alias ....='cd ../../../'alias .....='cd ../../../../'alias ......='cd ../../../../'alias .......='cd ../../../../../'alias ........='cd ../../../../../../'alias home='clear && cd ~ && ls' # go home and list all directoriesalias downloads='clear && cd ~/Downloads && ls' # go to downloads and list all directoriesalias desktop='clear && cd ~/Desktop && ls' # go to desktop and list all directories
Automate mundane tasks
Automation is an amazing time-creator. â° In fact, once youâve set up one automation, you might find yourself using it in future projects. Thatâs one really powerful way to bring value into your skillsetâeconomising time through innovative automation.
đĽ First, youâll need to look for opportunities and write the scripts. Think data-driven automations, task-driven automations or end-to-end automations. Where in your day could you possibly save time?
Let me know what kind of automations you come up with or already have? Shout at me here
Don't reinvent the wheel
Donât worryâyouâll always be special. But not everything you develop has to be different/amazing/WOW.
In fact, the wow factor can sometimes be that you did your research and found a nifty solution that you can a) use b) customise c) build upon.
Imagine starting from scratch, evvvverrry time. Nobody would get anything done. Thatâs why blogs like this exist. Thereâs a time and place to reinvent. Choose wisely.
Write your goals down daily
Ever noticed that big brain fog at the start of a project? The start of a week? A day? Sweep away the fog by creating a topline to-do list.
đ Once you have your big-ticket items, break them down into sub-to-dos. Set yourself deadlines, make notes as you go and tick off your tasks when theyâre done. Extra points if youâre using a task manager platform like ClickUp.
The best part? When you tick off your tasks, you get a dopamine boost. Plus, youâll enjoy doing the task more because youâll understand its dependencies, where it fits into your timeline and how it interacts with the project as a whole.
Take breaks
Yeah, yeah. Take a break. You know the drill. But have you tried setting pre-determined breaks? Times when you absolutely know youâre going to be taking space from the task at hand and resting your brain. The Pomodoro Technique is a prime example of this and something I use daily: 25 minutes on task, five minutes off. đ
The thing is, breaks are often when the light-bulb moments happen. Without them, youâre more likely to find yourself stuck in a creative or problem-solving rut. But remember, donât take a fake break. Your brain will ALWAYS know. Make sure you actually step away from the screen, make a snack, walk around, stretch, have a chat with someone, be human!
Start with hard tasks first
Back to that to-do listâfind the tasks you really dislike or youâre worried about or overthinking; the ones youâre gonna put last.
Okay, now if you can, do them FIRST. Thereâs something about getting those hard tasks out of the way. First, is the mental load. Itâs wild how long we can walk around carrying anxiety about tasks we donât want to do. When youâve done itâWOOOSSHHH. đ¨ More brain space. Just like that.
If I can leave you with a few classic lines:
- Less is more.
- Giving 100% is 100% impossible.
- Goodness grows sustainably.
Do you agree? Subscribe to my newsletter below or follow me on Twitter for more! đĽ