3 ms·
I agree and disagree. R itself isn't a mess. Typical R code tends to be. In theory, this reflects one of R's strengths, which is its ability for flexible meta
by tpoacher 3y ago
I agree and disagree.
R itself isn't a mess. Typical R code tends to be.
In theory, this reflects one of R's strengths, which is its ability for flexible metaprogramming. In practice, this becomes a weakness because people abuse it to introduce all sorts of inconsistent notation that makes zero sense without reading the documentation of the package even to understand 'syntax'.
From a language point of view, R is not too bad. The ecosystem is a mostly positive thing, but at the same time, it's the variety in the ecosystem that's creating this chaos around offerred packages and R code in the wild.
- citrin_ru 3y ago> R itself isn't a mess. Typical R code tends to be. The same can be send about Perl - it is not hard to write readable code but there is code around which was written without regard to readability/maintainability or any consistency at all. Languages which are trying to force a single style (e. g. indentation as a part of the syntax like in Python or configurable format tool like 'go fmt') and have as little TMTOWTDI as possible are favored nowadays.