Hacker News new | past | comments | ask | show | jobs | submit login

Prediction for the future:

- Algebraic Effects will land in mainstream languages, in the same way that anonymous lambda functions have

- This will render "mocks" pointless




How?


You will call the code with an effect handler that records the effects and then check the recording has the properties you care about.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: