Andreas' practical language comparison

Peter Hansen peter at engcorp.com
Sun Apr 25 13:31:45 EDT 2004


Andreas Koch wrote:

> i started a little "practical language comparison" - practical
> in the sense that i compare how actual distributions and versions
> and their libraries (not abstract language specifications) solve small
> test cases like the 8 queens problem.
> 
> http://www.kochandreas.com/home/language/lang.htm
> 
> and mail me your code snippets (or critics) or post them here.

The Java implementation of Bubble Sort doesn't follow the
specification for the algorithm.  It fails to use a "swapped"
flag to determine when to terminate the loop.

-Peter



More information about the Python-list mailing list