Boost logo

Boost :

Subject: Re: [boost] [Intrusive] Cleaning up trailing white space
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-05-18 03:33:35


On Fri, May 18, 2012 at 9:30 AM, Andrey Semashev
<andrey.semashev_at_[hidden]> wrote:
> On Friday 18 May 2012 09:19:41 Olaf van der Spek wrote:
>> On Fri, May 18, 2012 at 8:58 AM, Brian Wood <woodbrian77_at_[hidden]> wrote:
>> > Olaf van der Spek <ml_at_[hidden]>
>> >
>> > On Thu, May 17, 2012 at 1:12 AM, Brian Wood <woodbrian77_at_[hidden]> wrote:
>> >>> This is probably the easiest way to improve Boost. ?I hope authors will
>> >>
>> >> Really? Why?
>> >
>> > It can be done with a simple sed script and applied either to individual
>> > libraries
>> > or all of Boost.  It's a small detail, but I hope it gets some attention.
>> > I brought
>> > it to Ion's attention as I use the Intrusive library and take a number of
>> > steps
>> > to reduce the need for new hardware.  I won't stop using the library if he
>> > doesn't do this, but the squeaky wheel gets the oil.
>>
>> That's an explanation for the easy part, but why is this an improvement?
>
> Are you implying that cleaning the code will make it worse?

No

> Personally, I doubt there's a measurable impact on performance of this change,
> but it improves code clarity. Those extra spaces irritate a little when I read
> or edit code, so I'm all for it.

How do they (trailing whitespace) affect reading?

-- 
Olaf

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk