Re: Structures; etc.
- Posted by The Johnson Family <thedjs at INAME.COM> Jan 31, 2000
- 513 views
I personally would like EU to be Object Oriented, and the fact that it isnt is just about the only reason I still use Delphi/Object Pascal for much of my programming work. If eu were object oriented, I would use it for just about everything - Since I started OOP, I cant seem to stop programming like that, even in non OOP languages! Nick ----- Original Message ----- From: Michael Nelson <mike-nelson-ODAAT at WORLDNET.ATT.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Sunday, January 30, 2000 10:38 PM Subject: Structures; etc. > There seems to be a recurring demand for structures--in Euphoria terms, > fixed-length sequences with type specified for each element and named access > to the elements, preferably with dot notation. > > I'm not sure I see the point in doing this if we are going to stop there. > No doubt implementing structures in the Eu interpreter would require > extensive reprogramming. If Rob were to invest that much time and effort > into redesigning the language, why only go half way to object orientation? > Add access control, methods, and some form of inheritance and you have a > true OOP language: E++. Is this the direction we want Euphoria to go? > > My inclination is to vote NO--and no one can accuse me of being anti-OOP. > For those of us who want structures without having to hand code types for 20 > to 50 sequence elementsand want dot notation, how about a > preprocessor--perhaps along the lines of David Cuny's Dot preprocessor. > > --Mike Nelson, > author of Object Euphoria, a full-featured Java-style OOP system for > Euphoria. > >