Partilhar via


TDD, dynamic languages and object design

There are a number of well respected folks in software development industry that are saying good things about dynamic languages in the future of software design.

The point is that type safety of strongly typed programming languages gets redundant if you use test-driven design.

See:

Tim Bray on Dynamic Languages

https://pragprog.com/pragdave/Random/TimBrayAtSun.rdoc

Comments

  • Anonymous
    April 14, 2004
    It depends on how you do TDD. For example, I don't want to have to write a test to make sure I can get a ToString() properly on every object I create. Letting the compiler do that for me on all the objects I create cuts down a huge amount of test code. Besides, the power that the dynamic languages brings is only useful in somewhat advanced cases. The rest of the time strong typing will help rather than hinder.