Does psychology provide an argument in favour of object-oriented programming?
November 21, 2007 8:58 AM
Subscribe
Does psychology provide an argument in favour of object-oriented programming?
Over the past year I've been learning, and teaching, object-oriented programming (Java). All my previous experience was in scripting languages. It occurs to me that the good thing about OOP is that it fits in well with the human instinct to understand the world in terms of entities/actors (objects) performing actions. It seems very natural to describe complex systems in this way and we do it all the time - "the computer is trying to connect to the internet". Similarly, when discussing code - "this line of code tells the button to change its colour to red". I've never studied psychology, but I'm guessing that this tendency (for people to think about things in this way) is probably a well-known phenomenon. Has anyone thought/written about programming in this way? I'd be fascinated to read any articles.
posted by primer_dimer to science & nature (16 comments total)
7 users marked this as a favorite
posted by jepler at 9:20 AM on November 21, 2007