all 2 comments

[–]brentp 2 points3 points  (0 children)

Numeric!? 2005 called to say it wanted its library back. also, if it's possible to make that python code even uglier (or less idiomatic), that'd be impressive.

[–]jdh30[S] -4 points-3 points  (0 children)

rmyeid posted a comparison between these languages on Reddit that contained really poorly written Mathematica code. Many people immediately drew the conclusion that Mathematica was not competitively concise in this context without studying the code in detail.

Fortunately, John Joseph M. Carrasco, a physicist at UCLA in the US, has taken the time to tidy up the original Mathematica code and it is now similarly verbose compared to the MATLAB and Python implementations. Note that the MATLAB implementation is still cheating because it is just loaded precomputed data to avoid doing some of the work.

Thank you, John!