Friday, January 6, 2012

The Game Fad

There is a fad wandering around the software community these days: games. In particular, logic games like SET are becoming very popular in training exercises, interviews, conferences, etc. The basic idea is that playing these games can teach you to be a better tester, or developer, or product manager. Someone who is good at SET can readily see patterns, can show flexibility (use one card in multiple sets), and can make logical deductions. These are all characteristics of a good software engineer. So does this work? Or is this just the next version of the "how many piano tuners are in the U.S.?" questions that were so popular in the 1990s and early 2000s? In the spirit of fair disclosure, I should mention that SET Enterprises is a client. So in my particular case, understanding SET is actually helpful for my job. For most people, though, games are a proxy for the actual work. They're an analogy come to life. Most of us don't build, test, and maintain games. The trouble with software is that it is highly abstract, and so it's hard to really know that any two people understand things the same way. It's also hard to distinguish familiarity with something from "read an article about it", simply because usage of the same thing varies so much across different environments. For example, someone might say, "yes, we used factories" and be referring to test object creation with Factory Girl, and someone else might make the same statement and mean that they implemented the factory pattern. In addition, software engineering is context heavy, and context is less shared than in some other industries. If a bunch of lawyers or CPAs are talking, they can all know that they went through the same base knowledge - the bar or The CPA exam - and so they can assume some commonalities. There is no software equivalent of Generally Accepted Accounting Principles (GAAP). So in order for us to share ideas, we need to establish a baseline of knowledge and skills. When time is relatively short, say, in an interview, we seek out quicker proxies that highlight the skills we feel are relevant. Some of the best testers you will ever see are useless on their first day; they require in depth product knowledge for their particular skills to shine. We can't do that in an interview or at a one hour talk, so we find analogies that we believe highlight those trengths. We play games. So is a game a useful analogy? If I'm good at SET will I be a great tester? If I play a mean game of chess, does that say anything about my skills as a developer? Yes, but only if the skills are actually relevant to the kind of work I'm doing. The visual pattern matching in SET is great if I'm testing a UI centric application, or something where design aesthetic and precision are important. The logic and sequencing that a good chess player displays are great if the product I'm developing is, say, a finite state machine. However, if I'm testing an API, the visual patterns aren't so useful. If I'm writing a simple login module, then advanced logic skills are less important than other skills. Playing games is a lot of fun. So were those logic questions about why manholes are round. But before you put too much emphasis on them, ask yourself if they're really showing characteristics that are important for your particular situation. Then go play some games, if only for the fun of it.

2 comments:

  1. I don't think learning games makes you a better tester, but I do think that good teachers can use games to help their students learn and then transfer skills and knowledge across domains.

    That is what I use SET in my teaching for. I ask the students to learn how to play the game, *then* I start teaching. I use the backdrop of the visual matching patterns to teach about -- you guessed it, visual pattern identification.

    It's not actually the game that folks learn from, it's the teacher. Some folks are good at being self-taught & transferring skills & knowledge (in which case, they are both the teacher and the student). Otherwise, games are games, skills are skills, knowledge is knowledge, and transfer is hard. If games can make learning and transfer more enjoyable, awesome, but lets not pretend that it's the games that are *doing* anything.

    ReplyDelete
  2. The first time I played SET it was with a friend of mine who was on ADD medication (attention deficit disorder). He completely kicked our butts. After he was off the meds, not so hot anymore.

    Pattern recognition is completely correlated to an excited state of cognitive function, particularly cross-hemisphere.

    Then I read this article: http://sheng-lab.psych.umn.edu/pdf_files/Atherton_fMRI_chess.pdf

    Yeah. Testing. It's all about the brain.

    ReplyDelete