Re:SQL: The difference between WHERE and HAVING
by flakiness on Tuesday December 14, 2021 @09:20AM
(#29551753)
Kind of sad Hadley Wickham isn't as prolific as a paper writer anymore. These papers [1] were, as its nature, very consumable even for someone outside R community. I liked them a lot.
[1] https://scholar.google.com/citations?user=YA43PbsAAAAJ&hl=en...
Re:SQL: The difference between WHERE and HAVING
by civilized on Tuesday December 14, 2021 @09:36AM
(#29551937)
Totally agree... but if I have to choose between him writing papers and spending more time perfecting APIs, there's no question. The man is one of the most brilliant interface designers ever to live.
Dplyr was already great in its first version, but Hadley and company have worked incredibly hard to make it much, much better. It's hard to think of another system that has improved so much from such an already high starting point.
Re:SQL: The difference between WHERE and HAVING
by flakiness on Tuesday December 14, 2021 @01:05PM
(#29554960)
That's fair point. I'm mostly on Python so I cannot complain.
Re:SQL: The difference between WHERE and HAVING
by BoiledCabbage on Tuesday December 14, 2021 @09:13AM
(#29551664)
If you like dplyr in R, you really should check out Linq. Dplyr as nice as it is doesn't remotely compare to how sensible and ergonomic Linq is.
It also cross-compiles to SQL and can thus be used to build queries, although the result is not necessarily the most efficient. Someday I hope someone with expertise in compilation and query optimization will take a look at dplyr and figure out how to get it to generate optimally efficient SQL.
If we did that, and also ported dplyr to some other languages, programmers might never have to hand-write SQL again. (LINQ might be a good way too, but I know much less about it)