[Oberon] Why macros were not implemented in oberon language?
chris at cfbsoftware.com
Sun Jul 6 01:50:20 CEST 2014
> -----Original Message-----
> From: Stefan Salewski [mailto:mail at ssalewski.de]
> Sent: Sunday, 6 July 2014 7:04 AM
> To: ETH Oberon and related systems
> Subject: Re: [Oberon] Why macros were not implemented in oberon language?
> On Sat, 2014-07-05 at 10:32 -0400, Nemo wrote:
> > On 5 July 2014 06:03, <oberon at moravcik.info> wrote (in part):
> > > Sometimes I am asking myself why prof. Wirth did not implement macros
> his language?
> > Macros are of dubious value and the source of much error. (For
> > example, Misra C places very tight restrictions on their use.)
> You should not confuse C's simple text replacing of the preprocessor with
> real Macros of modern languages.
I am also confused. That is exactly what I thought the original poster was
I just checked three 'modern languages' that I am aware of: C# (Microsoft),
Go (Google), and Swift (Apple) and it appears that none supports macros.
What 'modern languages' do you mean?
More information about the Oberon