Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c    |    Meh, in C you gotta define EVERYTHING    |    243,242 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 242,314 of 243,242    |
|    Janis Papanagnou to bart    |
|    Re: _BitInt(N)    |
|    02 Dec 25 14:15:26    |
      From: janis_papanagnou+ng@hotmail.com              On 2025-12-02 13:21:32, bart wrote:       > So:       >       > if .. then begin ... end else begin ... end       >       > ... represents multiple statements.       >       > Even I would see braces in a more favourable light. I wonder why it took       > some years for language designers to realise you could simply have:       >       > if .. then ... else ... end              You're misrepresenting history, or at least convey the impression       that this would be something new and previously obscure, or that       language designers would not know all these syntactical options.              You had the if .. then ... else ... fi syntax as paragon in the       back then by language experts well known Algol 68 language, it's       been inherited (also in comparable forms), e.g. by the common Unix       shell, also in "more recent" languages (with "end") in Eiffel, for       example.              The huge impact of the "C" language syntax might have made that       less visible in the modern, contemporary (used, hyped) languages.       But there's really nothing to "realize" by language designers, I'm       sure.              Janis              > [...]              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca