how to think like a programmer if all you know is cooking

So, not many people understand programming. Here's a funny/interesting way to describe programming in terms of cooking. I like it.

Similarly, I once heard an analogy about asking a software engineer to build a bridge from San Francisco to Hawaii. A software engineer would say "no problem" and then do:


while (notInHawaii) {
buildbridge();
}

Clearly that won't work in general, but in software it does. That's what makes software so interesting in a world of cheap computing resources.

Comments

Smart Answer

Smart Answer ...

Lucky Me..

I guess I don't have problem with that. I'm both a programmer and I love cooking! I might be lucky!

Haha i love the analogy with

Haha i love the analogy with building a bridge, that is a good one that I will use in my programming class. Using an analogy for programming with cooking is brilliant. I have recently started learning programming and it is a very difficult task to start. You have to train yourself in ways of thinking. Cooking is the perfect analogy.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Allowed HTML tags: <br> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <strike> <h3> <pre> <blockquote> <h2> <div> <p>
  • Lines and paragraphs break automatically.