I've been using AS3 before, and liked its grammar, such as the keyword as
.
For example, if I type (cat as Animal)
and press .
in an editor, the editor will be smart enough to offer me code hinting for the class Animal
no matter what type cat
actually is, and the code describes itself well.
Python is a beautiful language. How am I suppose to do the above in Python?