What type of `print` formatting do you prefer?

user1234 user1234 at 12.de
Tue Dec 21 12:19:55 UTC 2021

On Tuesday, 21 December 2021 at 10:07:56 UTC, rempas wrote:
> Before I make my library, I want to first ask what type of 
> formatting you guys prefer between the two I'm going to show 
> you.
> The first one is Rust-like curly brackets as the placeholder. 
> If you leave them empty the format is automatically chosen 
> based one the type. Or you can specify a different format 
> inside the curly brackets. [...]
> Thoughts?

`{}` is like D's `%s`. D has chosen to follow the tradition of 
the printf function and that's it.

More information about the Digitalmars-d mailing list