Re: A question about certain language features
- Posted by Irv Mullins <irvm at ellijay.com> Feb 12, 2002
- 615 views
On Tuesday 12 February 2002 08:34 am, Ed Davis wrote: ! > > Note that the 'standard' definitions of Pascal, Modula-2, > and Oberon, do not allow variables to be initialized when > they are declared, just like Euphoria. So Professor Wirth > perhaps thinks it is a bad thing? I have read several of > his books dealing with the mentioned languages, but I have > not been able to find a justification for not allowing > variables to be initialized when declared. > > But there must be a reason. I can't believe it is just an > arbitrary restriction. Many design decisions were made for the purpose of keeping the parser simple. I expect that is one of them. Regards, Irv