4 ms·
This whole article seems to be more about the author not having a good debugger at his disposition than "OO programs being hard to debug". Modern debuggers hav
by zak_mc_kracken 12y ago
This whole article seems to be more about the author not having a good debugger at his disposition than "OO programs being hard to debug".
Modern debuggers have conditional breakpoints, breakpoints on write, breakpoints on count, sophisticated formatters and all kinds of facilities which make the problem of debugging a method call that might go to a subclass instead of the base class all but trivial.
Debugging complex programs is hard, regardless of the underlying methodology that this code uses.
- sebastianconcpt 12y agoYes, completely biased. It takes "having to see implementors or senders in the whole system" as if it where some kind of a problem. Same for looking a hierarchy or debugging. Author sounds like talking of OO tools frozen in the 60's, really poorly investigated or just sharing his/her own rationalising and enthusiasm about using functional programming instead.
- jjaredsimpson 12y agoAlso debuggers are scriptable. Instead of just single stepping like a maniac and trying to keep everything in your head, you can essentially just write a script that debugs the app for you. Eventually if you do this enough times you have a pretty good library of scripts and debugging is a breeze.