---
layout: post
status: publish
published: true
title: How working as a cook helped me be a better developer
author: Julien Lengrand-Lambert
author_login: jlengrand
author_email: julien@lengrand.fr
author_url: http://www.lengrand.fr
wordpress_id: 674
wordpress_url: http://www.lengrand.fr/?p=674
date: 2012-06-14 13:22:48.000000000 +02:00
categories:
- misc
tags:
- software
- development
- methodology
- cooking
- cook
- developer
- productivity
comments:
- id: 19024
  author: opposed
  author_email: blondellyounger@gmail.com
  author_url: http://community.wholeliving.com/profile/BrettRooney
  date: !binary |-
    MjAxMy0xMC0yOCAwNDo0NjowMiArMDEwMA==
  date_gmt: !binary |-
    MjAxMy0xMC0yOCAwMzo0NjowMiArMDEwMA==
  content: ! "Nice work, pleased to have found this blog on blogs list.\r\nThis is
    the kind of content that should be distriuted around the net.\r\nYou should seriously
    look at writing more things \r\nlike this on webb 2.0 list. Shame on the search
    engines for not sertting this \r\nblog higher. If you're interested, please come
    and \r\nconsult my web site. Thank you"
---
When I was younger, I searched (as 99% of teenagers I guess) for a summer job to get some money. I ended up <strong>working as a cook</strong> in a retirement house, in <strong>one of the best</strong> work experience I ever had.

What started as a way to get money became a hobby, and I would put my toque on each time vacations would come (even on New Year's Eve :)) for three years.

I keep this experience in mind even years later, and I can't spend a week without mentioning it as an example. In fact, It even helped me <a title="Job Space" href="http://www.lengrand.fr/job-space/" target="_blank">get my new Job</a>!

Here are some points I'd like to share with you :
<div></div>
<div></div>
<h2>Intense focus</h2>
<div></div>
I love the <strong>worflow</strong> you can find in kitchens. You always find yourself<strong> either working like crazy or in a 'cool' state</strong>. I have never seen any other environment with such peaks and variations in the daily workflow. This make hours fly, and you feel like you can work for days before feeling tired.

I got addicted to this way of working and think it really efficient as a developer. I always try to <strong>switch</strong> between states where I can <strong>burst hundreds of lines of simple code</strong> (like preparing the architecture for my core code, or designing a quick proof script for a method) and others where I can stay <strong><a title="100 lines a day" href="https://codefornothing.wordpress.com/2009/06/14/the-mythical-one-hundred-lines-of-code-per-day/" target="_blank">one hour without commiting</a></strong> any line of code (like searching for a better architecture, of enhancing my methods capabilities).

These alternate circles have to be made up (as you have to think which tasks to do beforehand), but they are awesome because they avoid bareness and keep you focused.

Writing a lot of code is no hard task for a developer, while searching a proper solution may be. <strong>Switching between low and high complexity tasks permit to <a title="keep focus" href="http://www.fierysource.com/how-to-keep-focus-for-longer-period-of-time%C2%A0/" target="_blank">keep your brains at its top</a> level all day. </strong>
<div></div>
<div></div>
<h2>Workflow optimization, tasks switching</h2>
In a factory restaurant, most of the tasks are highly repetitive. My typical work day would start with something like cutting 60 kgs of tomatoes into pieces, or peal 45 kgs or potatoes. 200 cups of marmelade would also have to be prepared, together with 35 plates full of cheese.

Believe me or not, after several days <strong>you learn what optimization means</strong> ! Morning after morning, I would search for ways to save some time and perform those tasks a bit faster. As your hand becomes surer, you also learn that<strong> it is possible to perform several tasks at the same time as long as you do not need to OPERATE them at the same time. </strong>

Converted to the dev world, my question is :<a title="compilation time" href="http://stackoverflow.com/questions/55922/how-to-keep-concentrated-and-focused-while-waiting-for-your-compiler" target="_blank"> What do you do during compilation time? </a>Where is your ant script?

<strong>If you find yourself waiting for something in front of your screen, you're doing it wrong !</strong><a title="sublime shortcuts" href="http://whiletruecode.com/post/7-handy-text-manipulation-tricks-sublime-text-2" target="_blank"> There must be something somewhere that you can be doing. </a>
<div></div>
<h2>Clean up you mess, real time !</h2>
This is one of the first things my chef teached me when I started working in his kitchen. <strong>Whatever is used to prepare food should be cleaned right away.</strong> This seems easy, but can be really life saving when cooking. While in the rush, cleaning should NEVER be considered as optional and the "I'll do it afterwards" idea must be seen as really dangerous.

A kitchen can become a huge mess in 20 minutes and you will soon find yourself surrounded by trash and dirty plates (if you are lucky enough not to slip on the tomato that was lying there, just waiting for your feet!).

You find yourself with 2 minuts free to help your collegue in the kitchen? <strong>Wash his dishes</strong>, you'll definitely save him some time!

The same rule applies for software development : Let's write some dirty code, I'll clean it afterwards . . . Bad idea! When I write dirty code <a title="good developers bad code" href="http://taylonr.com/only-good-developers-write-bad-code" target="_blank">(everyone does, isn't it?)</a>, I always constraint it in a method and don't let it spread everywhere ! And <strong>if my collegue is struggling with deadlines, I try to help him by cleaning up</strong> all those elements that he hasn't time enough to perfect. Doesn't take much time to get into it (as it is constraint), and it will definitely help him work faster.

Which one . . .

<div>

<center><a href="{{ site.url }}/images/posts/2012/06/Kitchen-mess.jpg"><img class=" wp-image-675  " title="Kitchen-mess" src="{{ site.url }}/images/posts/2012/06/Kitchen-mess.jpg" alt="mess in the kitchen" width="600" height="448" /></a></center>

</div>

Do you prefer?

<div>

<center><a href="{{ site.url }}/images/posts/2012/06/clean-kitchen.jpg"><img class=" wp-image-676  " title="clean kitchen" src="{{ site.url }}/images/posts/2012/06/clean-kitchen.jpg" alt="clean kitchen" width="600" height="448" /></a></center>

</div>
<div></div>
<h1>From a more social point of view :</h1>
<h2>Customer contact</h2>
As a cook, part of my job was to operate a factory restaurant. I would be alone in a remote location, preparing lunch and serving 30 to 60 people.<strong> I will never forget what direct customer contact is. If you feel yourself bored in your dev job, find a way to see your final users</strong> and discuss with them.

Customer contact is a fuel that keeps you motivated, and make you give the best of yourself every day. What reward is better than a smile on someone's face after you spent the whole morning preparing him lunch ?

Of course, with cooking even more than with software customer contact also means that if you screw up there is nowhere to hide (especially when you have a plate in your hand :)). I had forgotten about that feeling until some days ago, when <strong><a title="facemovie" href="http://jlengrand.github.com/FaceMovie/" target="_blank">Ignacio contacted me about FaceMovie</a>.</strong> It gave me a great push of motivation. <strong><a title="first customers" href="http://leostartsup.com/2012/06/the-first-people-using-your-product-are-an-amazing-breed/" target="_blank">Customer contact is really the best fuel on Earth !</a></strong>

<em>One last thing though</em> : As cool as customers can be, never forget that you have to make money from them! At the very beginning, I had a tendancy to please them as much as possible, reducing my margin as a side-effect. . . Not a really good idea in the long run.
<div></div>
<h2>Not everyone uses a computer 8 hours a day</h2>
This is more a side note compared to the rest of the article, but still worth mentioning. I really think spending as much time as we do on the computer tend to bias us. While working in the kitchen, I met people for who computer was a strange and frightening beast.

They would not know how to copy-paste, would fill up an excel sheet while doing all the costs calculations by hand, and so on.

I think this effect tends to disappear (in fact my boss was pretty good at creating macros), but it still true though.

This can be a good point for you, as long as you take this into account when talking to your customers. And this also means that user experience is really the main key to enter those niches.

<h1><strong>Bonus :</strong></h1>
As I said, being a cook also helped me get my last Job. <strong>More people that you think are really into food</strong>, and this is one of the reasons I like to keep this experience in my resume.

At the end of my interview process, I met my big boss for the first time. The interview went pretty well, and the cook experience went on the table after some time.

We discussed about food for almost 40 minutes, and <strong>he explained me that he was actually using cooking as a 'psychological' tool for years</strong>.

When meeting big clients, he would rent a house instead of simply choosing an hotel. Everybody would work there for several days, but also live . . . and cook together.

Cooking is a social experience that definitely tie relationships; and it also shows what kind of person people are . . .

<strong>Who tends to manage, follow orders or simply fit at its place naturally? Cooking is both pleasant an reveals a lot about people.</strong>

I found the idea excellent, clever and elegant at the same time. It amazed me !

<strong>Needless to say today won't be the day where I remove the word cook <a title="resume advices" href="http://lbrandy.com/blog/2009/01/resume-advice-for-software-engineering-new-grads-interns/" target="_blank">from my CV</a> !</strong>

<em>And you, what past experience makes you a better developer ? </em><em>Do you love cooking, how do you feel yourself in a kitchen ? </em>

<em>I'd love to know more about your opinion and experience !</em>

<strong>[<a title="clean kitchen" href="http://www.lisburncity.gov.uk" target="_blank">source </a>for <a title="mess kitchen" href="http://dailypicksandflicks.com/2011/03/02/daily-picdump-50/kitchen-mess/" target="_blank">images</a>]</strong>
