https://github.com/lindahua/Formatting.jl
--Tim On Sunday, May 03, 2015 06:43:22 AM Daniel Carrera wrote: > Hello, > > My biggest pet-peeve in Julia is that @sprintf is a macro and not a > function. That makes it very annoying to use at times because I cannot put > a format string in a variable, or make a wrapper `printf()` function. I > don't understand why this is an issue, since several other languages have a > printf() function. > > Is there any chance that I might see a printf() function in Julia in the > future? > > I should clarify that I am aware of the "Formatting" module. I do not want > to use Python-style formatting strings. I don't like them, I think they are > confusing, and other languages that I use have traditional C-style printf() > functions, so I want to stick to those. I realize that the "Formatting" > module has one function called "sprintf1()" but that function only accepts > one parameter, so it is not especially useful. > > Cheers, > Daniel.
