Could you clarify the difference between indirect references and references.

And programming without indirection would be like programming without
pointers.  I guess they accomplish it in Java and C#, but it is
certainly central to Delphi and c++, my two languages of choice.

Kevin


On 8/25/05, James Gray <[EMAIL PROTECTED]> wrote:
> Thanks for the clarification.
> Jim
> 
> ----- Original Message ----- 
> From: "Ruben Safir" <[EMAIL PROTECTED]>
> To: <hardhats-members@lists.sourceforge.net>
> Sent: Thursday, August 25, 2005 2:37 PM
> Subject: Re: [Hardhats-members] Re: Indirection/All about programming
> 
> 
> > On Thu, 2005-08-25 at 15:47, James Gray wrote:
> >> Of course that uses indirection which is what Ruben was saying we should
> >> never do.  Indirection is powerful and very useful in Mumps.
> >> Jim
> >>
> >
> > I never said that. What I said was that indirect references was not a
> > great language construction.  And that references are better.  But you
> > have to make do with what you got.
> >
> > Ruben
> >
> >> ----- Original Message ----- 
> >> From: "Kevin Toppenberg" <[EMAIL PROTECTED]>
> >> To: <hardhats-members@lists.sourceforge.net>
> >> Sent: Thursday, August 25, 2005 1:34 PM
> >> Subject: [Hardhats-members] Re: All about programming
> >>
> >>
> >> A while back I posted code that used globals to store object-like
> >> data.  Once can put functions (or references to functions) into a
> >> string (stored in the object) and then executed with the "xecute"
> >> command.
> >>
> >> Thus one could shoe-horn object orientated behavior from M
> >>
> >> Kevin
> >>
> >>
> >> On 8/25/05, Ruben Safir <[EMAIL PROTECTED]> wrote:
> >> > I don't think you can, from what little I've seen
> >> >
> >> > Ruben
> >> >
> >> > On Thu, 2005-08-25 at 12:27, James Gray wrote:
> >> > > Ruben,
> >> > > Can you tell us how to do this in Mumps?
> >> > >
> >> > > Jim Gray
> >> > >
> >> > > ----- Original Message ----- 
> >> > > From: "Ruben Safir" <[EMAIL PROTECTED]>
> >> > > To: <hardhats-members@lists.sourceforge.net>
> >> > > Sent: Wednesday, August 24, 2005 9:12 PM
> >> > > Subject: Re: [Hardhats-members] All about programming
> >> > >
> >> > >
> >> > > > On Wed, 2005-08-24 at 19:41 -0700, Gregory Woodhouse wrote:
> >> > > >> There's always the alternative of "the big switch", but it
> >> > > >> has it's own problems. How would you handle these cases?
> >> > > >
> >> > > > You have real references, real pointers or an associative array
> for
> >> > > > the
> >> > > > dispatch table.  None of these chew up global symbols.
> >> > > >
> >> > > > Ruben
> >> > > >
> >> > > >
> >> > > >
> >> > > > -------------------------------------------------------
> >> > > > SF.Net email is Sponsored by the Better Software Conference & EXPO
> >> > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> >> > > > Practices
> >> > > > Agile & Plan-Driven Development * Managing Projects & Teams * 
> >> > > > Testing
> >> > > > &
> >> > QA
> >> > > > Security * Process Improvement & Measurement *
> >> > http://www.sqe.com/bsce5sf
> >> > > > _______________________________________________
> >> > > > Hardhats-members mailing list
> >> > > > Hardhats-members@lists.sourceforge.net
> >> > > > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> >> > >
> >> > >
> >> > >
> >> > > -------------------------------------------------------
> >> > > SF.Net email is Sponsored by the Better Software Conference & EXPO
> >> > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> >> > Practices
> >> > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing
> 
> >> > > &
> >> > QA
> >> > > Security * Process Improvement & Measurement *
> >> > > http://www.sqe.com/bsce5sf
> >> > > _______________________________________________
> >> > > Hardhats-members mailing list
> >> > > Hardhats-members@lists.sourceforge.net
> >> > > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> >> >
> >> >
> >> >
> >> > -------------------------------------------------------
> >> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> >> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> >> > Practices
> >> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
> 
> >> > QA
> >> > Security * Process Improvement & Measurement * 
> >> > http://www.sqe.com/bsce5sf
> >> > _______________________________________________
> >> > Hardhats-members mailing list
> >> > Hardhats-members@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> >> >
> >>
> >>
> >> -------------------------------------------------------
> >> SF.Net email is Sponsored by the Better Software Conference & EXPO
> >> September 19-22, 2005 * San Francisco, CA * Development Lifecycle 
> >> Practices
> >> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & 
> >> QA
> >> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> >> _______________________________________________
> >> Hardhats-members mailing list
> >> Hardhats-members@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> SF.Net email is Sponsored by the Better Software Conference & EXPO
> >> September 19-22, 2005 * San Francisco, CA * Development Lifecycle 
> >> Practices
> >> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & 
> >> QA
> >> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> >> _______________________________________________
> >> Hardhats-members mailing list
> >> Hardhats-members@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle 
> > Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
> QA
> > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Hardhats-members mailing list
> > Hardhats-members@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/hardhats-members 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to