|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: OT: Static/dynamic typing
Paul Prescod wrote: > When I am creating new code, dynamic type checking almost always allows > me to be more productive than static type checking. As Jonathan says, > when you are changing or refactoring code, static type checking can more > often catch your mistakes. Since maintenance lasts longer than initial > development this would seem like a clear win for static type-checking > except that it can often bloat and complicate the code and thus provide > more opportunities for bugs to creep in. Another issue (whose important depends on context) is performance. Compilers dealing with static types (whether or not they're safe) can do all sorts of pedal-to-the-metal tricks that are not available in a dynamically typed environment. The performance gain is going to be strongly dependent on the kind of code you're writing, and the importance of the performance gain depends on your business goals. But it's something you don't want to ignore ignore. -Tim
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








