Lurker News

Comments (198) 66 threads

Earlier comments
shakkhar1 reply#
Love it. So out of every 20 code snippets or so on StackOverflow, one is for sorting?
gkoberger#
It only runs answers tagged "javascript" and "sorting". So, one out of every 20 code snippets about javascript and sorting actually has working, runnable code.
abecedarius#
Squeak has this kind of thing actually built in: from a sample input and output IIRC it tries most available methods to find any that produce the output. Fetching more code off the net of course adds a whole new dimension...
emp#
Neat. Reminded me of how Pharo Smalltalk you can open the Method Finder and enter the arguments and expected output, and it lists methods that return the correct output. Now, back to work in my primitive, modern IDE :(
3dptz#
Brilliant, I love it. I see a bunch of variations on this popping up real soon.

Load more comments