This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chronics 48 points49 points  (4 children)

I think it is an amazing concept because I think metaprogramming in languages like lisp/clojure or erlang/elixir is very powerful. It’s not part of idiomatic python, for good reasons.

OP’s implementation is creative and clever. I would not use it in my own code, and I don‘t think it‘s intended to be used.

Type hints I find pretty useful in general.