It’s not the only one. Some other packages that used workarounds like interface{} or other things to work around the lack of generics were container/{heap,list,ring}, sort, golang.org/x/sync/singleflight,…
Those are good points about some of them being nontrivial. Though part of why they’re optimized and in the stdlib in the first place is because they’re such common patterns. So without them people would end up writing…
Could you share what preprocessors/templating languages you've used with CloudFormation?
It’s not the only one. Some other packages that used workarounds like interface{} or other things to work around the lack of generics were container/{heap,list,ring}, sort, golang.org/x/sync/singleflight,…
Those are good points about some of them being nontrivial. Though part of why they’re optimized and in the stdlib in the first place is because they’re such common patterns. So without them people would end up writing…
Could you share what preprocessors/templating languages you've used with CloudFormation?