Re: 1/2 =?
- From: akarl <fusionfive@xxxxxxxxx>
- Date: Wed, 27 Jul 2005 23:32:52 GMT
Robert Maas, see http://tinyurl.com/uh3t wrote:
From: akarl <fusionfive@xxxxxxxxx> Or Oberon-2. It has only four (!) precedence levels: logical not, multiplicative operators, additive operators and relational operators.
No parentheses and no assignment?? Are you sure? Does it have any token-level syntax such as string literals etc.?
Sure, it has all you mention, but assignment is not an operator, it's part of an assignment statement. Of course, parenthesized expressions are evaluated first, but that's obvious and not something you have to remember.
In any case, Lisp has it beat out, with ony token-level syntax and parens, no other syntax at all.
Since this is comp.lang.c I mentioned the simplest *procedural* language, Oberon-2.
Forth has Lisp beat out, not even parens, but that makes Forth code impossible to visually parse. You know the story of Goldilocks and the three bears? Lisp is "just right".
C and Lisp are languages from completely different families.
August .
- References:
- Re: 1/2 =?
- From: Robert Maas, see http://tinyurl.com/uh3t
- Re: 1/2 =?
- Prev by Date: Re: What is the point of signed char?
- Next by Date: Re: difficult to code
- Previous by thread: Re: 1/2 =?
- Index(es):
Relevant Pages
|
|