Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
larschdk
on Dec 1, 2023
|
parent
|
context
|
favorite
| on:
"Useless Ruby sugar": Endless (one-line) methods
I tried your code on prettier.io and got a result that was more visually consistent than what you pasted here.
oprypin
on Dec 1, 2023
[–]
I think the commenter meant that it
can
produce such an inconsistent result if the identifier names add up to approximately the line length, but the example didn't actually make it so; the identifiers are much shorter than that.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: