Indeed. `println(fmt!("%?, foo));` requires great deal of keyboard gymnastics.
And yes the most common use case will most likely be for debugging, so the
ergonomics should fit with that.
~Brendan
On 16/07/2013, at 9:38 AM, Corey Richardson <[email protected]> wrote:
> On Mon, Jul 15, 2013 at 7:33 PM, Brendan Zabarauskas
> <[email protected]> wrote:
>> print!()/println!() and printf!()/printfln!() sounds good to me. Adding an
>> extra 'f' isn't much of a hassle for fmt! functionality.
>>
>
> Way I see it is if I can type less than `println(fmt!("%?, foo));`,
> I'm happy :) That is basically the only time I use fmt!, for
> debugging. I haven't really written anything that needs interaction
> with user that isn't done with command arguments.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev