Paul Prescod wrote: > > "Barry A. Warsaw" wrote: > > > >... > > > > Does anybody ever even use something other than `s' for %() strings? > > > > >>> '%(float)f' % {'float': 3.9} > > '3.900000' > > Presumably numerical analysts do....and David Ascher once told me he > uses %d as a sanity type-check. I don't bother. Paul's starting to turn into my brother -- quoting things I said twenty years ago and that I have no way of disproving. As Bill said, "I don't recall". These days, I rarely think in FP, even if I use FP, so I typically use %s. Back then I probably cared about mantissa and her friends. --da
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4