develooper Front page | perl.bootstrap | Postings from July 2000

Re: y/rple/yma/ (was: LALR (was Re: Working Group Proposal))

From:
abigail
Date:
July 24, 2000 20:02
Subject:
Re: y/rple/yma/ (was: LALR (was Re: Working Group Proposal))
Message ID:
20000725030108.5630.qmail@foad.org
On Mon, Jul 24, 2000 at 09:42:43PM -0400, Dan Sugalski wrote:
> On Mon, 24 Jul 2000, Tom Christiansen wrote:
> 
> > >Is it just me, or are these two not supposed to be the same in the C++
> > >world anyway? Just as these are distinct in C++:
> > 
> > >      foo.method()
> > 
> > >      foo->method()
> > 
> > 
> > It's Java and Python that has just the dot.  And, I bet, some BASIC crud.
> 
> ObjectCOBOL too, I think. (And no, I'm not checking. The thought of
> object-oriented COBOL is evil enough, thanks--I don't need details to
> populate my CS nightmares...)

Other languages that use a dot: Eiffel, Ada, Modula-3.
Languages that don't use a dot: Smalltalk-80, which uses whitespace,
and LPC, which uses -> (but that's really syntactical sugar for
a procedurial (sic!) interface to call methods:
call_other (object, method, args...)).

Pike is a decendent from LPC, but I don't know whether it retained the
arrow.


Abigail



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About