On Dec 9, 2005, at 5:12 AM, David Rorex wrote: > You want it to generate ASSERT commands automatically, which will then > check for null & correct arg type at runtime? > That sounds usefull. I don't think there is anything specifically like > this. I'd probably want to use it if there were.
Yeah, basically that's it. After reading "Fail Fast" (PDF, http://www.martinfowler.com/ieeeSoftware/failFast.pdf) I'd like to start doing more work with design-by-contract, assertions, and any other goodies that will help me to catch bugs before I end up sending the keyboard on a one-way trip through my flatscreen. > You might be able to hack something together using regular > expressions. Or maybe look into one of those auto-doc generation > tools, you might be able to reuse their processing routines. (They > automatically generate documentation from class files, so I'm assuming > the code to extract function names & argument names would be reusable) Well, I think that this is the kind of thing that I can hack out in Ruby in a couple of hours ;) From there I'd just end up passing the script to HAMTASC as the preprocessing param (thanks Ralf!). I'll make sure to share my results. ___________________ Ben Jackson Diretor de Desenvolvimento [EMAIL PROTECTED] http://www.incomumdesign.com _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
