________________________________________ From: Boost [boost-bounces@lists.boost.org] on behalf of Steven Watanabe via Boost [boost@lists.boost.org] Sent: 14 February 2018 18:33 To: Boost Cc: Steven Watanabe Subject: Re: [boost] [yap] Review part 1: documentation AMDG On 02/14/2018 11:25 AM, Fletcher, John P wrote:
<snip> Please do NOT remove the placeholders and other things which allow a functional use case. I do not see how they prevent other use cases and I don't see why users should not have access to them.
I object to them because they violate the single-responsibility principle, I don't believe that they are commonly needed, and they're simple to implement for the cases that actually do need them.
Please can you give me a reference for the single-responsibility principle. I believe that anyone doing a calculation on a modern system has to evaluate how far they can trust the components they use. I have been an academic engineer for more than 40 years and have taught students to take responsibility. There was a time when engineers used a slide rule and wrote down their answers. Then they could take responsibility completely. Now we have to work out what we trust. You are free to not use them. The balance of the uses made may well be different from what you expect.
I have used these features to build the equivalent of the proto mini lambda example.
Why would anyone want to do this in the first place in C++14 (other than to show that you can)?
Intellectual curiosity and to learn about the software. Also to compare YAP with other systems I have used. John