Re: Breaking Long Lines

2020-11-11 Thread Gedare Bloom
On Wed, Nov 11, 2020 at 9:32 AM Sebastian Huber wrote: > > On 11/11/2020 17:27, Gedare Bloom wrote: > > > On Tue, Nov 10, 2020 at 12:25 AM Sebastian Huber > > wrote: > >> On 10/11/2020 06:33, Chris Johns wrote: > >> > My question is if we really should indent by two levels for the > c

Re: Breaking Long Lines

2020-11-11 Thread Sebastian Huber
On 11/11/2020 17:27, Gedare Bloom wrote: On Tue, Nov 10, 2020 at 12:25 AM Sebastian Huber wrote: On 10/11/2020 06:33, Chris Johns wrote: My question is if we really should indent by two levels for the continuation of long lines. And my answer was it depends on what is being indented and wh

Re: Breaking Long Lines

2020-11-11 Thread Sebastian Huber
On 11/11/2020 17:24, Gedare Bloom wrote: So: my counter-rule would be "use paranthesis if you think it makes an expression easier to understand". Nice. This is guide that does not paint itself into a corner. Giving some flexibility on additional parens is fine with me. This kind of rule is ori

Re: Breaking Long Lines

2020-11-11 Thread Gedare Bloom
On Tue, Nov 10, 2020 at 12:25 AM Sebastian Huber wrote: > > On 10/11/2020 06:33, Chris Johns wrote: > > >> My question is if we really should indent by two levels for the > >> continuation of > >> long lines. > > And my answer was it depends on what is being indented and why. The block > > nestin

Re: Breaking Long Lines

2020-11-11 Thread Gedare Bloom
On Tue, Nov 10, 2020 at 5:08 PM Chris Johns wrote: > > On 10/11/20 6:38 pm, Thomas Doerfler wrote: > > Hi, > > > > Am 10.11.20 um 06:33 schrieb Chris Johns: > >> On 9/11/20 5:50 pm, Sebastian Huber wrote: > >>> On 09/11/2020 01:52, Chris Johns wrote: > >>> > On 6/11/20 7:11 pm, Sebastian Hube

Re: Breaking Long Lines

2020-11-10 Thread Chris Johns
On 10/11/20 6:38 pm, Thomas Doerfler wrote: > Hi, > > Am 10.11.20 um 06:33 schrieb Chris Johns: >> On 9/11/20 5:50 pm, Sebastian Huber wrote: >>> On 09/11/2020 01:52, Chris Johns wrote: >>> On 6/11/20 7:11 pm, Sebastian Huber wrote: > ...   Avoid excess parentheses. Learn the operat

Re: Breaking Long Lines

2020-11-09 Thread Thomas Doerfler
Hi, Am 10.11.20 um 06:33 schrieb Chris Johns: > On 9/11/20 5:50 pm, Sebastian Huber wrote: >> On 09/11/2020 01:52, Chris Johns wrote: >> >>> On 6/11/20 7:11 pm, Sebastian Huber wrote: ... >>> >>>   Avoid excess parentheses. Learn the operator precedence. rules. >> >> Yes, and I think this is a goo

Re: Breaking Long Lines

2020-11-09 Thread Sebastian Huber
On 10/11/2020 06:33, Chris Johns wrote: My question is if we really should indent by two levels for the continuation of long lines. And my answer was it depends on what is being indented and why. The block nesting level can also effect what works. I would like to focus on this particular case.

Re: Breaking Long Lines

2020-11-09 Thread Chris Johns
On 9/11/20 5:50 pm, Sebastian Huber wrote: > On 09/11/2020 01:52, Chris Johns wrote: > >> On 6/11/20 7:11 pm, Sebastian Huber wrote: >>> Hello, >>> >>> for breaking long lines we have currently: >>> >>> "Should be replaced with >

Re: Breaking Long Lines

2020-11-08 Thread Sebastian Huber
On 09/11/2020 01:52, Chris Johns wrote: On 6/11/20 7:11 pm, Sebastian Huber wrote: Hello, for breaking long lines we have currently: "Should be replaced with .. code-block:: c   for (     initialization = statement;     a + really + longish + statement + that + evaluates + to <

Re: Breaking Long Lines

2020-11-08 Thread Chris Johns
On 6/11/20 7:11 pm, Sebastian Huber wrote: > Hello, > > for breaking long lines we have currently: > > "Should be replaced with > > .. code-block:: c > >   for ( >     initialization = statement; >     a + really + longish + statement + that + evaluates +

Breaking Long Lines

2020-11-06 Thread Sebastian Huber
Hello, for breaking long lines we have currently: "Should be replaced with .. code-block:: c   for (     initialization = statement;     a + really + longish + statement + that + evaluates + to <     a + boolean;     another + statement++   ) {     z = a + really + longish + statemen