Re: Object Oriented Programming

new topic     » goto parent     » topic index » view thread      » older message » newer message

------=_NextPart_000_0042_01BEC2D5.CC951EE0
        charset="iso-8859-1"


-----Original Message-----
From: Joe Otto <jotto at NETZERO.NET>
To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU>
Date: Tuesday, June 29, 1999 7:57 PM
Subject: Object Oriented Programming


Joe Otto wrote:

>When I first learn a new programming language I usually pick a project to
>get accustomed to the syntax, etc.  When I started learning Euphoria I
>decided to write an OOP library.  I'm getting close to completing the alpha
>version.  It's loosely modeled after the way C++ handles objects.  Here's a
>preliminary feature list:
>
>        Reasonably straightforward syntax
>        Virtual methods that can be overloaded by child classes
>        Inheritance from multiple base classes
>        Class-wide common variables and constants
>        Data hiding through the use of Public, Protected, and Private
access
>        Type-checking
>        User-defined object persistence
>        Accessed by reference
>        Passing as arguments to subroutines by reference is implied and
automatic
>
>If anyone's interested:
>
>        1) Let me know and I'll post it when it's usable
>        2) I'll probably need help writing a demo using it
>        3) Feel free to suggest features I may have forgotten
>

I am very interested in this.  I am the current version of my own Eclasses.e
which
is based on the JAVA model of single inheritance with interfaces.  Please
feel free to mine it for ideas.  An area I intentionally deviated from
C++/JAVA was to separately specify read and write access for data
members--this can allow, for example, pubic read access but private write
access.  This also allows a special write-access specifier:  read-only.  A
read-only member may be initialized but not thereafter changed.

I would love to see Joe's code when available!

--Mike Nelson

------=_NextPart_000_0042_01BEC2D5.CC951EE0
        name="Eclasses.zip"

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu