Re:Letters about Soap (1997)
by Deadron on Friday September 09, 2022 @01:21PM
(#32782183)
Auto generated client code is nice in theory. In practice I find it only really useful as a starting point. There are enough choices to be made in writing even a simple HTTP api that its unlikely that a generic tool will generate useful code for a given application. This could include library usage (http client, serialization, logging, DI integration), async vs sync, logging requirements, tooling support for generated code. If you are in a language which has established std libraries and patterns this is less of a problem, but in something like Java that has evolved in all these areas over the years it can be a real problem.
[ Parent
| on HN ]
Re:Letters about Soap (1997)
by charles_kaw on Friday September 09, 2022 @07:39PM
(#32786174)
Thrift seems to have a really nice solution of providing only types that eventually break down into scalars. And only for exchanging data - it doesn't dare prescribe the rest of that. I liked working with it.