Theocacao
Leopard
Design Element
Comment on "Sanity Checking for Scripting Languages"
by Patrick Thomson — Dec 24
Python has PyChecker.
Additionally, Python 2.4's new decorator syntax allows for some really neat decorators that automatically check the types of arguments passed into any given function. Decorators took me a little while to grok, but I think I understand them now - and boy, are they awesome.

Ruby, on the other hand, is a tad bit more difficult to enforce type safety - I'm not sure if Kwala does it, and many people say that there's no substitute for unit tests to ensure type safety. This problem has me quite inspired now - I may take a look at it.
Back to "Sanity Checking for Scripting Languages"
Design Element

Copyright © Scott Stevenson 2004-2015