HackerTrans
TopNewTrendsCommentsPastAskShowJobs

shthrow

no profile record

comments

shthrow
·5년 전·discuss
How is it a good idea for every user interaction to hit the server?
shthrow
·6년 전·discuss
Correct, but that is the same for any kind public API though. However that is slowly starting to change with statically typed APIs like GraphQL and Protocol Buffers. You can imagine a public API that is introspected and can tell the client about deprecation and all that.
shthrow
·6년 전·discuss
No, think of it like checked exceptions, you only need to handle the effect _at most once_ before it reaches the top (it's up to you to let it keep getting passed up or handle it immediately), otherwise the compiler will automatically infer the effect types in the layers between.