4 ms·
Wow, that's kind of cool. Didn't know about that. It is me, or is it weird that this has a hard constructor dependency on Constructs[1], which is pretty much u
by latchkey 4y ago
Wow, that's kind of cool. Didn't know about that.
It is me, or is it weird that this has a hard constructor dependency on Constructs[1], which is pretty much undocumented?
At least in golang, this brings in some other dependencies and golang init() reflect code [2], which then depends on interacting with javascript!? [3]... something smells odd here.
[1] https://github.com/aws/constructs-go https://github.com/aws/constructs-go
[2] https://github.com/aws/constructs-go/blob/main/constructs/constructs.init.go https://github.com/aws/constructs-go/blob/main/constructs/co...
[3] https://github.com/aws/jsii/ https://github.com/aws/jsii/
- 0xbadcafebee 4y ago"CDKTF uses Typescript types to generate an assembly file that jsii uses to generate the code bindings for the other supported languages." Yep, sounds like Terraform-level awfulness. Although they actually took the design from AWS CDK, so I guess we can blame AWS for it.