Could something like code abstraction be done instead?<br><br>Haskell lends itself to solving problems in really generic, high level ways that reveal a LOT about the underlying problem structure. Through some combination of descriptive data types, generic type classes, and generic helper functions... You get an extremely clear problem description.<br>
<br>Example: <a href="https://github.com/amtal/snippets/blob/master/Key.hs">https://github.com/amtal/snippets/blob/master/Key.hs</a> (Haskell) versus <a href="http://siyobik.info/index.php?module=pastebin&amp;id=543">http://siyobik.info/index.php?module=pastebin&amp;id=543</a> (C++)<br>
<br>Clarity is a lot harder to score for, so you&#39;d probably need to score things via votes. (Unless there&#39;s a way to measure how &quot;generic&quot;/high-level code is?) Such a site would fill a very nice role, that the programming language shootout definitely does not fill. <br>
<br>Currently the only way to figure out what &quot;good&quot; Haskell code looks like is to browse lots of blogs, and dig through hackage until you find beautifully written packages.<br><br><div class="gmail_quote">On Sun, Jan 2, 2011 at 9:20 AM, Brandon S Allbery KF8NH <span dir="ltr">&lt;<a href="mailto:allbery@ece.cmu.edu">allbery@ece.cmu.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
On 1/2/11 02:48 , C K Kashyap wrote:<br>
&gt; I found this site called <a href="http://vimgolf.com/" target="_blank">http://vimgolf.com/</a> ... the idea there is<br>
&gt; that people come up with challenges and try to come up with the least<br>
&gt; number of keystrokes to get it done.<br>
<br>
</div>Code golf in any language is generally a recipe for obfuscation.<br>
Interesting, certainly, but I don&#39;t think I&#39;d recommend it as a service or<br>
feature.<br>
<br>
- --<br>
brandon s. allbery     [linux,solaris,freebsd,perl]      <a href="mailto:allbery@kf8nh.com">allbery@kf8nh.com</a><br>
system administrator  [openafs,heimdal,too many hats]  <a href="mailto:allbery@ece.cmu.edu">allbery@ece.cmu.edu</a><br>
electrical and computer engineering, carnegie mellon university      KF8NH<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.11 (Darwin)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAk0gs90ACgkQIn7hlCsL25XOAACfQhq2bb18442MYAROhnqZ3jJ6<br>
b7kAoIaJ8LNsAdjlEHZDftAspWtUgJ43<br>
=zjuv<br>
-----END PGP SIGNATURE-----<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br>