2 ms·
What is the value proposition of all this for simple apis? The author is using one of the simplest examples, and almost all of the proposed solutions other than
by crate_barre 5y ago
What is the value proposition of all this for simple apis? The author is using one of the simplest examples, and almost all of the proposed solutions other than the first problematic one read like obtuse technical literature to me. All for what, so I don’t fuck up the ‘id’ param on a hello-world fetch request? What does this stuff look like on anything seemingly more complex (my best guess, it’ll look more complex).
- theobr 5y agoYou should check out the video I link at the end - the most complex problems have the exact same solutions when your types are inferred :)
- crate_barre 5y agoYeah, I still don’t get it. This all seems stupid, sorry. But nice post, keep at it, I don’t want anyone on any of my teams bringing this nonsense to work. Type safety is not even close to delivering good software.