Right-hand panel ASCII art layout
under review
Peter Hilton
The right-hand panel uses ASCII art to draw a table of values, whose first column gets truncated when I don't use too-short names for everything.
I wish it were an HTML table whose columns would fit the content, the way HTML tables normally do, and that it used a more space-efficient variable-width typeface.
T
Tom Dawes
under review
T
Tom Dawes
Hi Peter,
We are currently using an HTML table to display the traced values, but have chosen to truncate the variable names as they can get pretty long, particularly when we are tracing the output of chained function calls.
For example, if I were to run the line
foo(bar(buzz)).map(quux).filter(pred)
then we would have to show the entire chain in the "Variable Name" column of the table - because these can become very long, we instead truncate everything to what we thought was a sensible length.
We can look at smarter truncation methods - e.g. truncating the above example to
foo(...).(...).filter(...)
or something similar, and never truncating variable/function names. Would that help?