Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can see this being useful but boy does it look ugly


Prepending doesn’t help its case. I like the R convention of pipe at end of line, indent on lines 2+


Interesting! I usually do exactly the opposite when I can. E. g. in Bash I would rather do this:

    curl -fsSL https://download.docker.com/linux/ubuntu/gpg \
      | gpg --dearmor \
      | sudo tee /etc/apt/keyrings/docker.gpg \
      > /dev/null


I suppose it's just what you're used to, of course.

However, in R, you don't need to trailing slashes on new lines. Plus, their pipes are hideous: %>% or now |>.

I do kind of like how the pipe delimiter looks on the left.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: