Re: Static vs. Dynamic typing

From: Ilja Preuß (it_at_iljapreuss.de)
Date: 09/11/04

  • Next message: Kurt: "Re: graph of behavior - was Re: State vs. Data (was Re: Fans of Template Method with protected variable?)"
    Date: Sat, 11 Sep 2004 08:41:20 +0200
    
    

    Universe wrote:
    > "Ilja Preuß" <it@iljapreuss.de> wrote:
    >
    >> Cristiano Sadun wrote:
    >>
    >>> Secondly, you say "just at runtime". The "just" that bothers me
    >>> somewhat. The runtime is for me fairly often distanced in time from
    >>> the writing time.
    >>
    >> When you do TDD, compile time and runtime are virtually equivalent.
    >> There is even an Eclipse plugin that automatically runs all your
    >> tests once the code compiles, and flags test failures in the source
    >> code.
    >>
    >> So TDD might change the balance between costs and benefits of static
    >> typing.
    >>
    >> You should try it some time - you might actually like it! :)
    >>
    >> Cheers, Ilja
    >>
    >
    > How can run-time = compile time

    It cannot be, technically. You can make it close enough that it doesn't make
    a practical difference in the respect of getting early feedback, though.

    Cheers, Ilja


  • Next message: Kurt: "Re: graph of behavior - was Re: State vs. Data (was Re: Fans of Template Method with protected variable?)"

    Relevant Pages

    • Re: Static vs. Dynamic typing
      ... compile time and runtime are virtually equivalent. ... and flags test failures in the source code. ... So TDD might change the balance between costs and benefits of static typing. ...
      (comp.object)
    • Re: Static vs. Dynamic typing
      ... "Ilja Preuß" writes: ... When using a dynamically typed language, ... > message) - just at runtime instead of compile time. ... Without static checking this will only fail if the call is actually executed ...
      (comp.object)
    • Re: Test-Driven Design or Test-Driven Development?
      ... Mhh, I typically don't think of acceptance tests as being part of TDD, ... Regards, Ilja ...
      (comp.object)
    • Re: Strong typing vs Strong Testing
      ... thoff wrote: ... doing TDD. ... Take care, Ilja ...
      (comp.object)