News for hackers. Stuff that matters.
Re:Code Length Measured in 14 Languages by carlob on Wednesday November 14, 2012 @12:13PM (#4784269)
Mathematica is not a domain specific language, otherwise many of the examples in Rosetta Code wouldn't be completed…

See this[0] for more info

[0] http://reference.wolfram.com/legacy/v5/Tour/MathematicaAsAPr...

Re:Code Length Measured in 14 Languages by koenigdavidmj on Wednesday November 14, 2012 @12:19PM (#4784304)
Maybe domain-specific is the wrong term. It's certainly a Turing complete language. But it's optimised to make a particular set of operations easier, so those operations are going to come out shorter than the same operations in a general purpose language.
Re:Code Length Measured in 14 Languages by mathola16 on Wednesday November 14, 2012 @12:23PM (#4784324)
This is only true if you think the test set in Rosette Code is biased towards the domain that Mathematica is optimized for.

There is no reason to think this looking at the website.

Since he uses median ratios, then a single spectacular ratio will not skew the results.

Re:Code Length Measured in 14 Languages by btilly on Wednesday November 14, 2012 @01:22PM (#4784633)
Not the test set in Rosetta Code.

The part of the test set that people have actually provided Mathematica solutions for. There is every reason to believe that people are more likely to provide Mathematica solutions for problems that Mathematica is likely to be good at.

Re:Code Length Measured in 14 Languages by saraid216 on Wednesday November 14, 2012 @02:35PM (#4785075)
This is a potential bias that he does call out in the article.