Boost logo

Boost :

Subject: Re: [boost] [local] Review
From: Joel de Guzman (joel_at_[hidden])
Date: 2011-11-19 05:17:39

On 11/19/2011 6:08 PM, Lorenzo Caminiti wrote:
> On Fri, Nov 18, 2011 at 11:23 PM, Joel de Guzman
> To me and others this does not look arcane but I understand this is a
> subjective.
> BTW, why would you consider the above syntax arcane and the one below
> "nice"? (I am honestly asking such a question, it is not that people
> cannot change their minds, there would be no improvement otherwise,
> but if that is the case I would sincerely like to know what prompted
> such a change.)

>> As far is a am concerned, I still find this syntax overly verbose.
>> >>> I do realize though that this is just a toy example. For better
>> >>> comparison,
>> >>> Here is how the same thing would like in Boost.Phoenix:
>>> Steven and I were playing with different syntaxes few years ago
>>> We came up with something like this:
>>> ( BOOST_BIND((factor)(&sum)), double num )
>>> {
>>> sum += factor * num;
>>> std::clog<< "Summed:"<< sum<< std::endl;
>>> }
>> That is nice!

Pardon me for the confusion. No change of mind here. If I were allowed to
reword that I would say "nicer". It's still too noisy.


Joel de Guzman

Boost list run by bdawes at, gregod at, cpdaniel at, john at