[TUHS] python

Douglas McIlroy douglas.mcilroy at dartmouth.edu
Sat Aug 5 07:17:24 AEST 2023


> Most of the time I'd rather not have to care whether the thing
> I'm printing is a string, or a pointer, or an integer, or whatever:
> I just want to see its value.

> Go has %v for exactly this.  It's very nice for debugging.

Why so verbose? In Basic, PRINT required no formatting directives at all.

Doug


More information about the TUHS mailing list