lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I beg to differ, that's about as productive as preemptive optimizations.
I really don't have time to assume when, where and how things fuck up, they always do, and when it happens I wanna get to it as efficiently as possible.. Just works out faster.. (not saying assertions and unit testing are bad, but to rely on it is an assumption I'm not willing to make)

Thomas Breuel wrote:

    To my mind, adding these capabilities for Lua would be a great step
    forward, since debugging programs is not an easy task, and debugging
    programs, written in dynamically typed languages, is even harder.


Instead of a complicated debugger, if you use plenty of unit tests and assertions in your code, you won't need a debugger, you'll be more productive overall, and your code will be of higher quality.

Cheers,
Thomas.