I found "Style: Toward Clarity and Grace" [1] by Joseph M. Williams to be more informative than both of these recommendations, but YMMV. There is a newer version, but I haven't read it.
Kibana / ElasticSearch? It's limited, but pretty and interactive, and gets you a bunch with very limited up-front work. I'm sure you can find some better demos, but here's one: http://parlement.letemps.ch/
HUE is a similar but different alternative. The "search" tab has some great demos, but appears to be down atm: http://demo.gethue.com/
"Most of the solutions for this assignment can be written as one-liners. If you have more, you probably need to rethink your solution. In other words, this assignment needs more thinking (whiteboard, pen and paper) than coding ;-)."
Is it not entirely possible that they're getting some false positives?
Very unlikely, similar code? yes, exact duplicate? there are so many ways to solve it, that statistically it's not that likely, and if so, it will be on 1 answer, not all of them.
yes, but none of them are that trivial... and if they were, then cheating wouldn't make much sense.
e.g. the coin change algorithm, I'm sure the distribution of answers was quite unique for anyone who tried solving it alone. same for even simple things like the pascal triangle.
But it's a moot argument as we need to do a real research (or ask coursera / Martin Odersky for the data, which I'm sure HN community will be happy to run some data mining on)
Actually I think some (many?) of the answers to the functional sets homework are that trivial in the sense that they're as short (or shorter) the the examples in the parent post. The only longer function was, I think, the one for which they provided a template implementation. So I think even that one would generate false positives somewhat easily.
Yes, I have tried viper mode, and it's a good effort. But it can only handle the basics, or at least when I tried it was just the basics. I have a ton of vim scripts customizing vim, adding features, etc., that just don't work with viper mode.
Part of me thinks that if I go over to emacs, I ought to go with the 'native' experience of it.
I appreciate the reply; and others may find Viper mode very useful.
Congrats on making it through both. I haven't gotten to the dragon yet... For those interested, you can get a red dragon for significantly less than the newer editions (check amazon).
I'm not familiar with that one, but the table of contents looks promising. If it's even half as good as
his _Parsing Techniques: A Practical Guide_, it's worth checking out.
I never understood what people like about the Dragon book. It talks you through implementing a compiler for an imperative language in an imperative language in a very pedestrian way. Give me more theory!
I tried this for a while and there were little things that drove me crazy. I can't remember the exact issues I had, but I'm sure other long time Vimmers would have some problems. I just found myself having to look up "why is this command xyz not doing what I expect in Viper mode" all the time. YMMV