News for hackers. Stuff that matters.
Re:A sufficiently detailed spec is code by 21asdffdsa12 on Thursday March 19, 2026 @03:11AM (#47435922)
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/

Re:A sufficiently detailed spec is code by trane_project on Thursday March 19, 2026 @03:16AM (#47435951)
It's mostly rust projects so error handling is writing `?` and defining the signatures as either Option or Result for the most part.