Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
matijsvzuijlen
· 5mo ago · 0 comments
Why are all the parameters full words except 'labs'? I find it jarring because to me 'lab' is short for laboratory, not label.
Comments
[–]
nxobject
5mo ago
I suspect for consistency with ggplot - the same reason why ‘aes’ is shorthand and everyone forgets that it stands for “aesthetic”.
https://ggplot2.tidyverse.org/reference/labs.html
[–]
matijsvzuijlen
OP
5mo ago
Thanks, that makes sense. I actually just parsed aes as related to encryption without even considering how weird that was given the contect.
[–]
nxobject
5mo ago
I get it – in my (limited) opinion, there's a lot that's quirkily (but avoidably) named about ggplot and the surrounding R ecosystem in general.
[–]
bestouff
5mo ago
He's open to API suggestions, you should open an issue
[–]
matijsvzuijlen
OP
5mo ago
Yes, I will do that!
[–]
mcanouil
5mo ago
That's fixed in 0.4.0 awaiting approval for Typst Universe (plus other improvements in various areas).
[–]
MoonZ
5mo ago
Jesters would say it's because author's a fan of labradors. (source: he's my neighbour)
[–]
mcanouil
5mo ago
No comment^^