Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kragen
on Sept 6, 2019
|
parent
|
context
|
favorite
| on:
Let the callers of your API control allocations
That's a good point. I hadn't thought of that --- if you want to test how your code handles allocation failures, allocating in more places means you have a lot more to test.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: