glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] Refactoring


From: Sébastien
Subject: Re: [glob2-devel] Refactoring
Date: Wed, 3 May 2006 12:51:56 +0200
User-agent: KMail/1.9.1

Le Mercredi 3 Mai 2006 12:13, Nuage a écrit :
> Sébastien wrote:
> > So finally, what do we do ? do we vote ? :)
>
> Yes!
>
> As one of the "main" programmer, I guess I need to give my thoughts at one
> point.
>
> - printf() stuff is cool, and more readable than the java-ish C++ stuff.
> - current mixes between C-string and std:string is a bit a mess. (as you
> said) - external dependencies can be inconvenient.
>
> I believe re-implementing our own is the best solution. I perfectly agree
> with your current work.
>
> If I need to give any reason, it's because we can "tune" our own
> implementation for our own needs. See, even in a libe which is mean to be
> used to avoid code re-implementation, they do it. For instance, QT doesn't
> use the std::vector, std::list of the STL, but they use theirs own QVector,
> QList.
>
> Personally, I prefer one of these two conventions, but as you do the work,
> you can choose any operator name.
> FormatableString("Hello %s %s").arg("to").arg("you")
I'll take this one ^ since I find it more readable...
> FormatableString("Hello %s %s")("to")("you")
>
> Thank you for handling this one!
> Nuage
>
>
> _______________________________________________
> glob2-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/glob2-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]