News for hackers. Stuff that matters.
Re:Ifs and &&s and Plan 9's Source Code by beemoe on Friday May 24, 2013 @04:24PM (#5765025)
Very interesting point! There is an argument that lines are a unit of human comprehension and complicated expressions should be broken onto different lines already, as a matter of readability. It makes some sense to let the granularity at which you debug reuse the granularity at which you read.
Re:Ifs and &&s and Plan 9's Source Code by Groxx on Friday May 24, 2013 @05:11PM (#5765195)
If you're debugging though, presumably there's something you don't understand, so a debugger should be more granular than what you normally deal with since reading wasn't enough. In many ways they are, since you can check other things in scope (or any parent scope) which is not always visible in source (e.g. a callback has multiple stack entries outside the code that defined it, even if inline).