On Jul 9, 2012, at 2:43 PM, Alexis Menard <alexis.men...@openbossa.org> wrote:
> Hi, > > For those who "secretly" use printf debugging :). I know the > recommended way is to use a debugger and it's not the point of this > discussion. A lot of us do this, and sometimes it's necessary. I agree with the gripe and support adding something easier. > So I propose wtf() and its stream operator. > > Usage : > > wtf()<<"Hello"<<"World"<<3<<4.53322323; will output : Hello World 3 4.53322 There is no reason to bring in stream operators - that are willfully absent from WebCore - just for debugging. Overloading functions works just as well. ~Brady _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev