3 ms·
It's not really an objectively bad language, it's just heavily optimised for one thing - the types of linear algebra calculations used for statistical analysis.
by singingfish 9y ago
It's not really an objectively bad language, it's just heavily optimised for one thing - the types of linear algebra calculations used for statistical analysis. For everything else (i.e. as a general purpose programming languate) it's awful. Which is why many languages have R bridges, so you can do the grunt work somewhere less insane.
- catnaroek 9y agoNo, R is objectively bad. There is nothing about linear algebra or statistics (which, btw, are not the only things R can do well) that mandates 1-based indices, or dynamic dispatch by appending class names to method names, or the various ways in which variables can be manipulated non-lexically for metaprogramming's sake. In particular, the the last feature is very powerful, but makes it impossible to prove anything about R scripts. Thank goodness trial and error in R produces less baffling results than in Python. At most you get the wrong value, noy “WTF is this nonsense? Why is this function mutating that remote object that it has no business touching?”.