News for hackers. Stuff that matters.
Re:Fortran 2023 by thechao on Wednesday November 22, 2023 @12:29PM (#38382184)
Dang ternary operator. I wish ternary was "open":

    X ? A : B : ... Z;
Where the value of each expression counted down from A..Z, ie, of there's 8 limbs, then A is 7, B is 6, ..., Z is 0.
Re:Fortran 2023 by gamache on Wednesday November 22, 2023 @03:31PM (#38384702)
Sounds similar to computed GO TO, as in:

      GO TO (LABEL1, LABEL2, LABEL3, LABEL4) I
https://docs.oracle.com/cd/E19957-01/805-4939/6j4m0vn9l/inde...
Re:Fortran 2023 by smegsicle on Wednesday November 22, 2023 @02:15PM (#38383753)
you want a one-line switch expression??
Re:Fortran 2023 by thechao on Thursday November 30, 2023 @06:11PM (#38480585)
Yes; not often, but, yes.