runtimedesign-time

Run time vs design time


I read somewhere that somebody could access a config value during run time but not during design time. Whats the difference between run time and design time in this context?


Solution

  • Design time is when somebody signs off our word documents and our UML diagrams with a cheery "That looks fine!" Run time is when we execute our code and it fails with a horrible crash and burn.

    The advantage of a technique like TDD is that it compresses the gap between design time and run time to the point where they are the same thing. This means we get instant feedback on how our design actually works when translated into code, which should result in a better design and fewer embarrassments when our code goes live. YMMV.