4 ms·
aws.String just to get a pointer to a string rubs me the wrong way. I guess that lets it be nillable but I still don't like it. I have been watching it's devel
by donatj 11y ago
aws.String just to get a pointer to a string rubs me the wrong way. I guess that lets it be nillable but I still don't like it.
I have been watching it's development fairly closely, seeing their strange decisions, and hoping they would rectify them. They haven't, and as a whole the API is not written "the Go way". It's written like they are fighting the language.
I assure you that in Go there are better solutions to much of this. I pray V2 to be better but if it's anything like their other SDKs they'll avoid breaking changes to the interface until its simply no longer reasonable.
Their PHP SDK is largely powered by magic getters, setters and method calls, and the methods therein are largely defined by a file describing the API. This works but is hardly ideal particularly for static analysis. I was at able with a PR to talk them into putting the method hints back at least.
You can really tell they were missing the magic in Go and working very hard to try to make it work in a somewhat similar fashion.