Reputation: 289
Is there any programming language out there which is just like Python, but allows you to voluntarily specify the type of any variable/parameter/return-value explicitly, so that whenever you indeed do that – the IDE could enforces some type constrains?
Upvotes: -1
Views: 1009
Reputation: 110746
boo and cython - The first is somewhat a "one man project" language to the .net
platform, the second is a complete, real Python superset which compiles to C and them to object code, and is in ide use to create Python libraries requiring native code, or wrappers to call binary libraries.
Upvotes: 2