On Mon, 19 Sep 2016, Allin Cottrell wrote:
Coming off Sven's posting at
http://lists.wfu.edu/pipermail/gretl-devel/2016-September/006903.html
I'd like to show a couple of real-world examples of alternatives to
"good old" printf in the econometrics domain.
I'd be interested to hear what people think of the comparison. If lots of
people tell me they still think printf sucks, than I guess I'll have to
rethink.
I'm a huge fan of (s)printf, so keeping it or not is not a meaningful
question IMO. Of course it has to stay, if only in the interest of
backward compatibility.
The issue here is: is it desirable to have a "dumbed down" version of
printf? As I said, the only case I can see some scope for is a
multi-argument print() _function_, pretty much ox-style (but without the
full Ox format syntax, which is even more confusing than printf,
methinks). I wouldn't use it very much myself, but I can see that some
people might like it. Possibly, a sister function println() could provide
automatic end-of-line at the end, Pascal-style (ok, that would be
write/writeln, but you get the point).
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------