re: How do you view bugs? VIEW POST

VIEW FULL DISCUSSION
 

I see bugs as a mismatch between my mental model and what the code is actually doing. I don't think more tests help because most software systems after a certain point are almost impossible to test. Only way to find out if something is broken is to actually run the whole thing.

This is why I'm skeptical of TDD in general. Tests help but it is much better to invest in tools and architectures that make software systems debuggable. My views on this are colored by what I saw in smalltalk environments when I first started programming. I've yet to have a debugging experience that comes close to replicating what is possible in smalltalk. Erlang/elixir/lisp are close second in terms of live debuggability. Everything else falls short in one way or another and is often downright user hostile.

code of conduct - report abuse