Hacker News new | ask | show | jobs
by kyllo 1166 days ago
A lot of programmers dislike R for the same reason they dislike PHP: weak typing.

If you can get over that, though, there's a lot to like about R. It's sort of like a hybrid between a Lisp and an array language.

3 comments

Javascript and C also have weak typing. And Python isn't statically typed, it's just that like Ruby, it doesn't allow implicit conversion, except with numbers.
Weak typing? No, it's not. R is a strongly typed language.

> 1 + "string"

Error in 1 + "str" : non-numeric argument to binary operator

Iirc the scoping is also very strange. Certainly not as bad as mathematica, but bad nonetheless.