Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xeeeeeeeeeeenu
on Sept 27, 2019
|
parent
|
context
|
favorite
| on:
Be wary of functions which take several parameters...
That's how Perl's Path::Tiny[1] works, for example:
path("/tmp/foo.txt")->copy("/tmp/bar.txt");
[1] -
https://metacpan.org/pod/Path::Tiny
kragen
on Sept 27, 2019
[–]
Amusingly, this has the same ambiguity problem the original post was trying to solve!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: