Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rkangel
on Oct 19, 2020
|
parent
|
context
|
favorite
| on:
Cursed Elixir
I've almost written "|> case do" several times and then in each case have decided that it makes sense to a separate private function (with function head matching for the different cases).
mercer
on Oct 19, 2020
[–]
I've found "|> case do" to feel 'right' at times when it's at the end of the pipeline.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: