3 ms·
Look, I use R (for plottng mainly) but it's a hideous abomination. It's like some kind of giant, horrible patchwork chimera put together by evil golems with the
by YeGoblynQueenne 7y ago
Look, I use R (for plottng mainly) but it's a hideous abomination. It's like
some kind of giant, horrible patchwork chimera put together by evil golems with
the word "CONFUSION" carved on their foreheads.
Yes, CRAN is magickal and wonderful, a package manager that works 90% of the
time and doesn't make you want to eat your computer. Yes, Python's package
management is borked with a borky borker.
But- Python, like most programming languages this side of Leboge was designed
_as a programming language_. Like, _for programming_. From the very start. So
all you need to know, once you have it up and running is _what you want to
program_ and not H O W to program it.
The "H O W" is terribly, awfully important. Because in R, anything you want to
do, you have to know the super secret mystical occult incantation that does it
(and nothing else will do it). You can't just intuit syntax. Oh no. You _have_
to know _exactly_ what code to write. Otherwise- run, you fools!
Here's my latest and greatest. I wanted to automatically adjust the position of
a legend in a plot so that it will not overlap the lines in the plot. How do you
do that? Well, it turns out that the function legend() returns ... the position
and dimensions of the legend's rectangle relative to the plot margins.
Wait what?
Why would it _do_ that? Why would a function called "legend" not return, oh, I
don't know - a _bloody_ _legend_?
Well, because it's R, that's why.
That's not how most programming languages work, because that's not what most
programmers expect, because that's not how most programming languages work. R
is far out there in the oubliette of languages used by non-programmers, that
work not like programmers would epxect them to work because they're languages
not for programmers. No shit non-programmers take to it. Because who else would?
Well. Not programmers.
/first 2020 programming rant