Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
leviathan
41 days ago
|
parent
|
context
|
favorite
| on:
John Carmack on mutable variables
My eyes would hurt more if I had to look all day at the vertical misalignment of that |> operator
kec
41 days ago
[ā]
You could always switch to a better font like Fira Code which has a ligature for this.
adregan
41 days ago
|
parent
[ā]
The gp's comment wasn't made regarding the look of the operator in its ascii representation `|>` but about the vertical misalignment.
Typically you align a pipeline like so:
df |> rbind(other_df) |> select(...)
But these topics are largely left to code formatters these days.
kec
40 days ago
|
root
|
parent
[ā]
Weird, I have always aligned as the gp showed. Iām reasonably sure tidyverse documentation does the same (which is probably where we both picked it up from).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: