4 ms·
As a huge fan of tidyverse, I have to agree. Tidy eval is anything but. However, once they get that right, then tidyverse is close to perfection I think the n
by antipaul 6y ago
As a huge fan of tidyverse, I have to agree. Tidy eval is anything but.
However, once they get that right, then tidyverse is close to perfection
I think the newish “interpolation” syntax with double braces {{ }} is getting there.
- vharuck 6y agoThe biggest difficulty of NSE is not the syntax, but the requirement to hold parallel mental models while writing the code: symbolic expressions and value manipulation. Juggling will always be difficult.
- disgruntledphd2 6y agoSee, it's changed again! Damnit Hadley, why must you do this to me? (Really I'm bitter because I know that I'll end up maintaining a bunch of important code in version N-2 of Hadley's NSE adventures at some point in the future).
- antipaul 6y agoChanged, yes, and finally in the right direction I would say!
- antipaul 6y ago... and the following is what I mean. I think this is as close to clean and understandable as it can get, for most use cases (variables in functions, including creating new variables): https://www.tidyverse.org/blog/2020/02/glue-strings-and-tidy-eval/ https://www.tidyverse.org/blog/2020/02/glue-strings-and-tidy...