On Thursday, 18 May 2017 02:39:36 PDT Mårten Nordheim wrote:
> > Please consider, in terms of Qt API design (ease of use, surprise factor,
> > etc.) just what the following should do:
> > 
> > QStringFormatter("%1 is {1}").arg("foo").subs("bar")
> 
> Hm, hadn't thought that far ahead, thanks. I guess that would be hard to
> guess without reading the docs. In this case a constructor parameter is
> the better choice for BC.

That's exactly my point: please think of what would be the least surprise.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to