Channels ▼

Community Voices

Dr. Dobb's Bloggers

Psychology and Computers (Part I)

November 27, 2008

One pretty influential current in cognitive psychology is the so-called
"Dual-Process Theory". Daniel Kahneman's Nobel Prize lecture is
probably the most famous paper in this field. Just to cut a long story
short, the Dual-Process Theory suggests that our cognition and
behavior use to operate in parallel in two quite different
modes. The two modes are denoted by System 1 and System 2 (well S1
and S2 for short) in the mentioned paper and they roughly correspond to
our common sense meaning of intuitive and analytical thinking. Have
no doubt the whole speech is quite interesting. You can find it in
full length at http://nobelprize.org/nobel_prizes/economics/laureates/2002/kahnemann-lecture.pdf


The intuitive thinking (S1) seems to be our best friend in many
situations giving us quick approximate answers in a facile manner.
Analytical thinking (S2) on the other hand involves careful
systematic rule-bound reasoning. This kind of mental process requires
time and effort.

But what in a world would have all this with the software development to do?
Well, it is commonplace to consider Object-Oriented Design (OOD) as being
intuitive. Even more, I would say OOD specially targets the innate
ability of humans to represent the reality in terms of objects.

Anyhow, is it effectively a proven connection between the mentioned innate
ability and the ease of operating with the OOD concepts?
 
If we tend to believe Deborah J. Armstrong's study "The quarks of
object-oriented development
"
(http://portal.acm.org/citation.cfm?id=1113034.1113040)
it might be exactly the opposite. Just to quote:

"One reason that learning OO is so difficult may be that we do not yet
thoroughly understand the fundamental concepts that define the OO approach."


In a recent study published in the May 2008 issue of CACM (see
http://portal.acm.org/citation.cfm?doid=1342327.1342336) Irit Hadar
from University of Haifa and Uri Leon of Technion - Israel Institute
of Technology, use research from cognitive psychology to trace the
sources of difficulties in coupling the intuitive and analytical ways
of thinking.

The two researchers invoke the Dual-Process Theory in the domain of
OOD in an attempt to explain relatively elementary mistakes sometimes made by
experienced software developers in industry while practicing design
activities.

There are 4 main categories of errors considered here:

1. Confusing the direction of inheritance.
2. Difficulties in identifying objects.
3. Confusing characteristics of abstract and concrete classes.
4. Identifying software development with coding (though not
   necessarily OOD specific).

So, is Object Oriented Design intuitive or not? I would say in some
extent it should be since our cognitive system extensively operates
with objects and categories on which the whole OOD paradigm is
built. What is your personal experience in this sense?

Whatever the answer might be, I think the interconnection between
specific studies in psychology and computer science are worth a closer
look.

Not to mention the impact of phychologic studies on computer
security. Bruce Schneier said it in a famous DDJ Interview: "Security
is a State of Mind
" (http://www.ddj.com/security/210605067)

More about this in the next article. Be around!

Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 


Video