Re:The Programming Language with the Happiest Users
by philwelch on Monday May 11, 2009 @10:36PM
(#604755)
Controlling for the same algorithm seems unbiased but isn't. Since different languages are suited to different tasks, all you'd get was a measure of how easily an untrained teenager could implement that particular algorithm in a given language. You could control for that by using multiple algorithms, though.
Re:The Programming Language with the Happiest Users
by derefr on Monday May 11, 2009 @11:06PM
(#604791)
Right, whoops—I noticed that but forgot to correct. There should be an array of programming tasks, with each language having one task that is considered the "easiest" to do in that language (thus N tasks for N languages.) Each student should either attempt all tasks in a random order, or only a single, randomly selected task.
Alternately, if I wanted a truly controlled experiment, I would grab a bunch of high-schoolers or college freshmen, filter out any that either already knew how to program, or didn't already know how to use a computer well, and then divide them into groups and teach each group a separate language with a pre-planned lesson (which would teach the writing of the same algorithm in each different language), recording the students' responses in much the same way as one would record people's reactions to a UI for HCI analysis.