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

Jeff Maggio jmaggio14 at gmail.com
Mon May 3 18:20:06 CEST 2021

Hi all,

In most Oberon source, people tend to increment i with INC(i). Is there an
efficiency reason for this, or is i := i + 1 just as fast?

I'm trying to write code that would be very easy for someone coming from
python/C++ to understand, so I'd prefer to use i := i + 1 because it's
syntactically familiar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20210503/680d1341/attachment.html>

More information about the Oberon mailing list