Interesting, although of course these things are very hard to study rigorously. When I did the UnderC interactive interpreter, my hypothesis was that people learn programming better in a 'conversational' setting, just as with human language. It remains an hypothesis - it is probably more true for some people, who just like REPLS :). A stronger case can be made for "interactive rich environment", e.g. the classic LOGO experiments.