1. Another OOP library
Hello all,
I have written an OOP library for Euphoria. I wrote this lib
for my own purposes but if anyone is interested in yet
another OOP lib then I'll post it. However, before I do, I
need some help with naming conventions. I originally named
the routines used for retrieving and changing a property
as Get() and Set() respectively but realized that this
causes a namespace conflict with get.e's Get() routine.
I changed my Get() to Read() but that might be hard to
remember for users besides the potential conflict with
any number of other I/O library routines. I was wondering if
anyone has any suggestions for naming these two routines in
a way that will be easy to remember, understand, and type
with a minimal chance of causing naming conflicts with other
include files.
TIA and let me know if anyone is possibly interested in
this lib.
later,
Lewis Townsend
. __ _____ __ __ __ __ _____
. /\ \ /\ \|\ \ /\ \ /\ \ /\ \ /\ \
. / \_\ / \____\ \_\/ \_\/ \_\/ \_\/ \____\
. / / / / / ___/ | | / | / / / /\ / __ \
. / / / / / /_\ | | | / | / / / /\_\/ /_ \/
./ / /\ / / ___/ | | |/ | / / / /\ \ \__ \
.\ / /__\\ / /__\ \ | /| |/ /\ / / \/\_\/ /
. \/_____/ \/_____/ \|___/\|___/ \/_/ \_____/
keroltarr at hotmail.com http://geocities.com/keroltarr/
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
2. Re: Another OOP library
On 24 Aug 2000, at 14:31, Lewis Townsend wrote:
> Hello all,
>
> I have written an OOP library for Euphoria. I wrote this lib
> for my own purposes but if anyone is interested in yet
> another OOP lib then I'll post it. However, before I do, I
> need some help with naming conventions. I originally named
> the routines used for retrieving and changing a property
> as Get() and Set() respectively but realized that this
> causes a namespace conflict with get.e's Get() routine.
> I changed my Get() to Read() but that might be hard to
> remember for users besides the potential conflict with
> any number of other I/O library routines. I was wondering if
> anyone has any suggestions for naming these two routines in
> a way that will be easy to remember, understand, and type
> with a minimal chance of causing naming conflicts with other
> include files.
Try MyOOP_get() and MyOOP_set() ?
Kat
3. Re: Another OOP library
On Thu, 24 Aug 2000 14:31:02 CDT, Lewis Townsend <keroltarr at HOTMAIL.COM>
wrote:
>Hello all,
>
>I have written an OOP library for Euphoria. I wrote this lib
>for my own purposes but if anyone is interested in yet
>another OOP lib then I'll post it. However, before I do, I
>need some help with naming conventions. I originally named
>the routines used for retrieving and changing a property
>Get() and Set() respectively but realized that this
Lewis:
Just use Get_() and Set_()
Bernie
4. Re: Another OOP library
> I was wondering if
> anyone has any suggestions for naming these two routines in
OOPGet(), OOPSet() ???
getOOP(), setOOP() ???
GetOOP(), SetOOP()???
GET(), SET() ????
after all, EU *is* case sensitive, but mebbe not the best choices...
typos and such would get gnarly...
Get_OOP(), Set_OOP() ???
OOP_Get(), OOP_Set() ???
--Hawke'
____________NetZero Free Internet Access and Email_________
Download Now http://www.netzero.net/download/index.html
Request a CDROM 1-800-333-3633
___________________________________________________________
5. Re: Another OOP library
Kat,
<chuckle!>
Dan
----- Original Message -----
From: "Kat" <gertie at PELL.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Thursday, August 24, 2000 12:43 PM
Subject: Re: Another OOP library
> On 24 Aug 2000, at 14:31, Lewis Townsend wrote:
>
> > Hello all,
> >
> > I have written an OOP library for Euphoria. I wrote this lib
> > for my own purposes but if anyone is interested in yet
> > another OOP lib then I'll post it. However, before I do, I
> > need some help with naming conventions. I originally named
> > the routines used for retrieving and changing a property
> > as Get() and Set() respectively but realized that this
> > causes a namespace conflict with get.e's Get() routine.
> > I changed my Get() to Read() but that might be hard to
> > remember for users besides the potential conflict with
> > any number of other I/O library routines. I was wondering if
> > anyone has any suggestions for naming these two routines in
> > a way that will be easy to remember, understand, and type
> > with a minimal chance of causing naming conflicts with other
> > include files.
>
> Try MyOOP_get() and MyOOP_set() ?
>
> Kat
6. Re: Another OOP library
Lewis Townsend wrote:
<snip>
> I have written an OOP library for Euphoria. I wrote this lib
> for my own purposes but if anyone is interested in yet
> another OOP lib then I'll post it.
</snip>
Lewis,
I am quite interested in your OOP library--I studied every OOP lib then
existing while writing Object Euphoria and want to keep up. Given the
quality of your work generally, I expect to be impressed. Please post it,
-- Mike Nelson
7. Re: Another OOP library
Hello all,
Hawke' suggested:
OOPGet(), OOPSet() ???
getOOP(), setOOP() ???
GetOOP(), SetOOP()???
GET(), SET() ????
Get_OOP(), Set_OOP() ???
OOP_Get(), OOP_Set() ???
Thanks Hawke' for your suggestions. They got me thinking and I
have decided on "oget()" and "oset()". Just 4 characters each
and no SHIFT key involved. They SHOULD be easy to remember,
the "o" stands for Object...
Michael Nelson Wrote:
>Lewis,
>
>I am quite interested in your OOP library--I studied every OOP lib then
>existing while writing Object Euphoria and want to keep up. Given the
>quality of your work generally, I expect to be impressed. Please post it,
Thanks Michael, I don't know what you base my general work
quality on since my only significant contribution to date
is NeilGUI but thanks anyway ;). I will post the lib very
soon. As soon as I write and test a few demo programs.
later all,
Lewis Townsend.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
8. Re: Another OOP library
Lewis Townsend wrote:
<snip>:>
> Michael Nelson Wrote:
>
> >Lewis,
> >
> >I am quite interested in your OOP library--I studied every OOP lib then
> >existing while writing Object Euphoria and want to keep up. Given the
> >quality of your work generally, I expect to be impressed. Please post
it,
>
> Thanks Michael, I don't know what you base my general work
> quality on since my only significant contribution to date
> is NeilGUI but thanks anyway ;). I will post the lib very
> soon. As soon as I write and test a few demo programs.
Lewis,
Neil qualifies you for such praise all by itself just as Win32lib would
quailfy David Cuny even if he had had noting to do with equal().
-- Mike
9. Re: Another OOP library
Hello All,
My OOP lib is now available at my web site:
http://geocities.com/keroltarr
http://geocities.com/keroltarr/download/LOOP.zip
It includes 2 demos and a comprehensive (IMO) HTML readme.
If another format is required by anyone let me know.
As always let me know what you (all) think about the lib.
later,
Lewis Townsend.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.