3 ms·
Having used Python for many years, it’s the least interesting aspect of the language. Almost all such tricks can be done with compile time meta programming, oft
by dontlaugh 1y ago
Having used Python for many years, it’s the least interesting aspect of the language. Almost all such tricks can be done with compile time meta programming, often even without API changes.
- mixmastamyk 1y agoI'd like to read a blog post on this subject, if anyone knows one.
- dontlaugh 1y agoI don’t know about a blog post, but I mean the obvious stuff like codegen, generics/templates or macros to achieve the same things Python does by being dynamic. Almost no one actually uses eval/exec.