[Top][All Lists]

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

Re: Emacs-devel Digest, Vol 204, Issue 28

From: Pedro Andres Aranda Gutierrez
Subject: Re: Emacs-devel Digest, Vol 204, Issue 28
Date: Tue, 2 Mar 2021 14:11:21 +0100

Hi Richard

I was talking about visually impaired people who use tts and, frankly speaking, 
a brace stands out much more than an indentation. The feedback I have is 
explicit braces are helpful for them when reading through the code.

Just my.02 cents,/PA

Enviado desde mi iPhone

> El 1 mar 2021, a las 7:04, David Masterson <dsmasterson92630@outlook.com> 
> escribi├│:
> ´╗┐Richard Stallman <rms@gnu.org> writes:
>> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
>> [[[ whether defending the US Constitution against all enemies,     ]]]
>> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>> The reason we don't use braces in cases like this
>>  if (use_short_answers)
>>    {
>>      return call1 (intern ("y-or-n-p"), prompt);
>>    }
>> is that the braces cause fewer real lines of code to fit on the
>> screen.  Because of that, they are not merely superfluous, they are an
>> impediment to reading the code.
> Different people look at it... differently. It probably depends on how
> you were taught.  I was taught C coding with the above style and my eye
> is used to seeing the code structure this way. Remove the braces above
> and it gets a little harder for me when you have a chain of these
> if-thens.
> -- 
> David Masterson

reply via email to

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