Mathematica, on the other hand, is brilliant. It's a wonderful language with wonderful libraries and functionality, and it's quite clear how to write robust code in it.
No, really, Mathematica is great. It can do some amazing things and it's really easy to write reusable code for.
I tried to learn it a few times and it worked great for toy problems, but when I tried to write an entire script a la python/c/matlab, I failed miserably
Also, 7 lines is hardly a good metric to judge the general effectiveness of an environment or language.