Re:C++20 has been approved
by gpderetta on Sunday September 06, 2020 @07:17AM
(#24390588)
I have spent quite a bit of time invstigating the metaprogramming capabilities of python and I have barely scratched the surface. And I hear they have added a fully parametric type system recently...
[ Parent
| on HN ]
It's parametric, sure.
It's not "full" in that it can't express the types of many language features well enough that inference works. Something like the attrs package needs to use a kludge[1] to communicate types back to a validator.
https://github.com/python-attrs/attrs/blob/4f74fbaca3cc12911...