Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ben509
on Sept 27, 2019
|
parent
|
context
|
favorite
| on:
Be wary of functions which take several parameters...
You can use fluent interfaces to get past two args:
myObject.doThing(a).toAthing(b)
Though that requires a good amount of boilerplate on the part of the library author.
ppod
on Sept 27, 2019
[–]
Mary.give(apple).to(John)
Mary.give(John, apple)
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: