Where Everybody's Crazy

I'm a missionary in Japan. The name of my mission agency is WEC International. That's supposedly Worldwide Evangelisation for Christ, but I think I have a better idea about what it stands for...

2006-08-11

Einstellung

There's a concept in leadership theory called the Einstellung effect; it's sometimes also known as the mechanisation of thought. It's a very helpful explanation for a lot of (bad) programming practices.

A guy called Lurchins gave people three jugs of varying sizes, and asked them to draw a certain amount of water into a bucket. So if you have a 21cc jug, (A) a 127cc jug, (B) and a 3cc jug, (C) and you want 100cc, then you fill jug B and put that in the bucket; then you fill jug A from the bucket and take it away; then you fill jug C from the bucket and take it away, and repeat this final step. Essentially, you've just done the sum B-A-2C.

He gave them a few exercises like that: A=14, B=163, C=25, make 99; A=18, B=43, C=10, make 5. That sort of thing. All of them can be solved with B-A-2C. Then he gave them A=23, B=49, C=3, make 20. 83% of them went for B-A-2C, even though A-C is somewhat simpler. When it got to A=28, B=76, C=3, make 25, 64% of them gave up, as B-A-2C no longer worked.

From this Lurchins deduced that when we find a solution that works in a general class of problems, we form a mental mould that is incredibly difficult to break so long as we're just solving problems. This is the Einstellung effect, and from this follows cut-and-paste code, "but we've always done it this way", and any number of other programming disasters.

But here's the interesting bit. As soon as we stop solving problems, and pay attention to something else, the Einstellung effect can be shattered:

After problem 5, Lurchins told some subjects "Don't be blind", which caused more than 50% to find the simpler solution on the remaining problems.

Interruption - any kind of interruption - can cause us to re-evaluate the problem from scratch. From this follows the common sense advise that if you can't see how to code what you want, get up and take a break. Chances are you just need to shift your brain away from a pattern it used to solve a similar problem before.

And if you catch someone cutting-and-pasting an inappropriate solution, don't be too harsh on them; they probably honestly can't see the simpler way due to the Einstellung effect. Just tell them to get up and make a cup of coffee, and see what they come up with when they look at it again...


Posted at 15:58:41 in technology programming | # | G | P | 2 Comments
Language
Japanese English
Links

Tags and Tools
« 2006-08 »
S M TWTFS
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

RSS


I am...

lathos: Going from iPod 1.x to 2.x and severely regretting it.


Photoblog

DSC_4810.jpg

DSC_4823.jpg

DSC_4828.jpg

DSC_4827.jpg

DSC_4855.jpg


Speedblog

http://glosoli.blogspot.com/2005/09/encrypted-thumb-drive-and-autoplay.html # it's my blog: Encrypted thumb drive and autoplay howto

http://daiyainn.gooside.com/ # 京都だいや旅館 京へおこしやす

http://www.e-chords.com/guitartab.asp?idmusica=96629&keyb=true # Where Could I go Tab by Ben Harper - E-Chords

http://www.inmamaskitchen.com/RECIPES/RECIPES/Soups/vegetable_stock.html # Moosewood's Vegetable Stock Recipe

http://www.foodnetwork.com/food/recipes/recipe/0,,FOOD_9936_8389,00.html # Good Eats Roast Turkey Recipe: Recipes: Food Network

http://www.reallivepreacher.com/node/203 # You Ain't Jesus, PreacherPart Two: Losing The Language of Love

http://leiterreports.typepad.com/blog/2005/06/95_theses_on_th.html # Leiter Reports: A Philosophy Blog: 95 Theses on the Religious Right

http://cbae.nmsu.edu/~dboje/teaching/338/traits.htm # TRAITS

http://jweb.kokken.go.jp/gitaigo/index.html # 擬音語・擬態語 - 日本語を楽しもう! -

http://www.nanzan-u.ac.jp/SHUBUNKEN/publications/jjrs/jjrs_cumulative_list.htm # Japanese Journal of Religious Studies: Cumulative list of Essays & Book Reviews

http://www.myspace.com/chloecfrancis # www.myspace.com/chloecfrancis

http://www.solar.ifa.hawaii.edu/cgi-bin/StrikeProb?latitude=+35.38&longitude=-136.26&location=Nagahama,+Japan # Tropical Cyclone Strike Probabilities for Nagahama, Japan

http://www.missionjapan.org/mission/jmissionorg.html # Japan Mission Organization List

http://www.aquasapone.com.au/soapmaking/showergel_soap.html # AquaSapone - How to make shower gel from natural handmade soap

http://www.ultimate-guitar.com/tabs/d/danilo_montero/la_unica_razon_crd.htm # La Unica Razon Chords by Danilo Montero @ Ultimate-Guitar.Com


Musicblog

Seal – Crazy (acoustic)

Holly Cole – (Looking For) The Heart of Saturday Night

Oasis – Don't Look Back in Anger

Powered by Glob!
Search: