[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs-devel Digest, Vol 204, Issue 28
From: |
David Masterson |
Subject: |
Re: Emacs-devel Digest, Vol 204, Issue 28 |
Date: |
Sun, 28 Feb 2021 22:04:43 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
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
- Re: Emacs-devel Digest, Vol 204, Issue 28,
David Masterson <=