> I'm not wedded to the precise C conventions. Yes, the discussions with aatch, dbaupp, kimundi etc. were discussing possible options for the format syntax.
https://mail.mozilla.org/pipermail/rust-dev/2013-May/003999.html ~Brendan On 16/07/2013, at 12:00 AM, Niko Matsakis <n...@alum.mit.edu> wrote: > On Sun, Jul 14, 2013 at 03:51:25PM +1000, Brendan Zabarauskas wrote: >> I'm a fan of sticking with the fmt! style - it separates the data >> from the representation as opposed to mixing the two. But maybe I'm >> just an old fuddy-duddy. > > +1 for format strings, though I'm not wedded to the precise C > conventions. > > I particularly dislike intermixing expressions and the string. > I often have things like this: > > debug!(fmt!("Entering %s: foo=%s bar=%s", > some_long_expression.id.to_str(), > foo.repr(tcx, ...), > ...)); > > When expressions get long, it's very ugly for them to be mixed > in with the string. > > > > > Niko > _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev