Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
21asdffdsa12
79 days ago
|
parent
|
context
|
favorite
| on:
A sufficiently detailed spec is code
Don't you also need to specify the error-cases at each stage and at what level of the system you would like to handle them (Log away, throw ever more up, Inform others, create Tasks, etc.)?
I found that to be really vital for good code.
https://fsharpforfunandprofit.com/rop/
trane_project
79 days ago
[–]
It's mostly rust projects so error handling is writing `?` and defining the signatures as either Option or Result for the most part.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I found that to be really vital for good code. https://fsharpforfunandprofit.com/rop/