Open ceball opened 9 years ago
It's just a gut feeling about avoiding self-aware code; if it really solves a real problem and makes it simpler to maintain and we don't care whether reprs are particularly fast to generate, then I don't have any objection. But yes, I think we should make a distinction between repr (all crammed onto one line, for various system purposes like debugging), and pprint (currently script_repr), formatted nicely for human beings.
Related to https://github.com/holoviz/param/issues/100 and https://github.com/holoviz/param/issues/396 these should be considered together.
See #95: