On Wednesday, 20 October 2021 at 09:32:15 UTC, IGotD- wrote:>
Why are many using D using printf to begin with and not the D equivalent like writeln?
In the case of the string interpolation DIP, from what I remember it was mostly Walter was very adamant on string interpolation being printf compatible.
In the general case, I assume people using
printf are mostly GC-phobic, or are just in general writing @nogc code.
Here's the DIP, including the links to the discussion threads: https://github.com/dlang/DIPs/blob/master/DIPs/rejected/DIP1027.md
I can't be bothered myself to skim through things to pick out examples, but feel free to do so yourself.