Re: C++ sucks for games

From: Christopher C. Stacy (cstacy_at_news.dtpq.com)
Date: 11/08/04


Date: Mon, 08 Nov 2004 18:56:56 GMT

chris <caj@cs.york.ac.uk> writes:

> Gareth McCaughan wrote:
> > "Chris" <caj@cs.york.ac.uk> writes:
> > [Greg Menke:]
> >
> >>>There are no "member functions" in Lisp, all functions exist outside
> >>>the definition of classes. That will sound strange to people only
> >>>familiar with the C++ style of OO, but it works very nicely once you
> >>>get used to it.
> > [Chris:]
> >
> >>In that case, you could simply write C++ and not use member
> >>functions. Arguing that C++'s member functions don't look like normal
> >>function calls and in lisp they do sounds stupid if in fact lisp
> >>doesn't have member functions.
> > I think you may have misunderstood Greg. Although it's true
> > that Lisp doesn't have "member functions", it isn't true that
> > Lisp is like C++-without-member-functions. If you abandon
> > member functions in C++, then inheritance becomes impossible.
> > Lisp's "generic functions" *do* support inheritance.
> >
>
> Ah, sorry. I know a (little) lisp, so I should have realised the point.
>
> I find these lisp vs. C++ discussions fun, but also wonder
> if they have any purpose.

No, not really.



Relevant Pages

  • Re: C++ sucks for games
    ... chris writes: ... >> I think you may have misunderstood Greg. ... I know a lisp, so I should have realised the point. ... > if they have any purpose. ...
    (comp.lang.lisp)
  • Re: C++ sucks for games
    ... "Chris" writes: ... [Greg Menke:] ... > function calls and in lisp they do sounds stupid if in fact lisp ... > doesn't have member functions. ...
    (comp.lang.cpp)
  • Re: C++ sucks for games
    ... "Chris" writes: ... [Greg Menke:] ... > function calls and in lisp they do sounds stupid if in fact lisp ... > doesn't have member functions. ...
    (comp.lang.lisp)