[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] condition: OR of two string comparisons
From: |
Carsten Kunze |
Subject: |
Re: [Groff] condition: OR of two string comparisons |
Date: |
Mon, 17 Nov 2014 14:32:09 +0100 (CET) |
Tadziu Hoffmann <address@hidden> wrote:
> I thought the whole idea of if/elseif/else/endif was about
> improving the clarity of deeply nested conditionals?
> Otherwise the existing syntax is sufficient...
Of course the existing syntax is sufficient. What is the gain of writing .elif
instead of .el .if? Two characters safed?
IMHO Werners .ifx looks better that .iff, anyway that is required to switch to
the new condition syntax but the rest need not to change.
So even
.ifx ... \{\
...
.\}
.el .if ...
could be possible (use of old and new syntax). Nobody would use that, but why
forbit it? That way it would stay more roff-like.
And what is unclear on deeply nested conditionals? Unsing indents that should
be easy to read. Regarding this I see no difference between *roff and other
languages.
Carsten
- Re: [Groff] condition: OR of two string comparisons, (continued)
- Re: [Groff] condition: OR of two string comparisons, Ralph Corderoy, 2014/11/17
- Re: [Groff] condition: OR of two string comparisons, Werner LEMBERG, 2014/11/17
- Re: [Groff] condition: OR of two string comparisons, hohe72, 2014/11/15
- Re: [Groff] condition: OR of two string comparisons, Tadziu Hoffmann, 2014/11/16
- Re: [Groff] condition: OR of two string comparisons, James K. Lowden, 2014/11/16
- Re: [Groff] condition: OR of two string comparisons, Tadziu Hoffmann, 2014/11/17
- Re: [Groff] condition: OR of two string comparisons,
Carsten Kunze <=
- Re: [Groff] condition: OR of two string comparisons, hohe72, 2014/11/18
- Re: [Groff] condition: OR of two string comparisons, Carsten Kunze, 2014/11/18
- Re: [Groff] condition: OR of two string comparisons, hohe72, 2014/11/18
- Re: [Groff] condition: OR of two string comparisons, Ted Harding, 2014/11/23
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/14
- Re: [Groff] condition: OR of two string comparisons, Denis M. Wilson, 2014/11/14
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/14
- Re: [Groff] condition: OR of two string comparisons, Carsten Kunze, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Steve Izma, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/14