Comment by dontlaugh

Comment by dontlaugh 2 months ago

2 replies

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 2 months ago

I'd like to read a blog post on this subject, if anyone knows one.

  • dontlaugh 2 months ago

    I 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.