What are the worst parts of D?
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Wed Sep 24 22:30:49 PDT 2014
On 9/24/2014 9:43 PM, H. S. Teoh via Digitalmars-d wrote:
> printf debugging FTW! :-P
There's more than that, but yeah. Most of my types I'll write a "pretty printer"
for, and use that. No conceivable debugger can guess how I want to view my data.
For example, I can pretty-print an Expression as either a tree or in infix notation.
> I don't agree with that. I think symbolic debuggers should be improved
> so that they *can* become useful with high level abstractions. For
> example, if debuggers could be made to understand templates and
> compile-time constants, they could become much more useful than they are
> today in debugging high-level code.
The fact that they aren't should be telling. Like maybe it's an intractable
problem :-) sort of like debugging optimized code.
More information about the Digitalmars-d
mailing list