[Oberon] INC(i) vs i := i + 1

eas lab lab.eas at gmail.com
Thu May 6 03:57:14 CEST 2021

it's what you get used to.
For decades I was comfortable with Pascal syntax.
Now it looks klunky & I want syntax-coloring to distinguish it's
IMO `poplog` has the clearest syntax:
  "a+1->b"  is better than "b :=a+1"
Also: M$pook's Pastel colors & balerina-blue text is the worst;
compared to BLACK background with bold syntax-colored text.

--- CRG.

On 5/4/21, Paul Reed <paulreed at paddedcell.com> wrote:
> INC/DEC, like i++ / i+=  and i-- / i-= are also useful to show intent -
> for example when I'm reviewing  someone else's code that says
>    i := i + 1;
>    j := j + 1;
>    k := j + 1;
> it makes me wonder... :)
> No language or system is completely self-evident, but the idioms used
> often are reinforced by that use and learned quite quickly, and we move
> on. No need to leverage familiarity with another language at all in
> those cases. It's the subtleties that get 'em every time, like the
> equals sign in curly-bracket languages. Are we up to four in a row yet?
> :)
> Cheers
> Paul
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon

More information about the Oberon mailing list