Re: A question (confusion) about closure
- From: pjb@xxxxxxxxxxxxxxxxx (Pascal J. Bourguignon)
- Date: Wed, 07 May 2008 17:29:51 +0200
Didier Verna <didier@xxxxxxxxxxxxx> writes:
"John Thingstad" <jpthing@xxxxxxxxx> wrote:
emacs is a evolved system that worked the whole time while they added
code. If you had 'designed' it with the current features I doubt if it
would ever have worked in the first place.
If not in the first place, emacs lisp code could have evolved if elisp
itself had; but that didn't really happen. At some point (I mean right
now), perhaps starting from scratch again would be better than
refactoring.
Another question is if OO design would have made it 'better' or just
more 'familiar'.
Right. Not all parts would necessarily benefit from object
orientation, but some definitely would. What's more (at least in the
case of XEmacs), some parts already *are* object-oriented; just not in
an OO language which is a real PITA. Refactoring those parts with a
more modern tool underneath would not be difficult, because the design
is already there.
I don't see what's the problem. Lisp is a programmable programming
language. There's nothing easier than to define an OO system in Lisp.
Do Xemacs hackers need to learn about defmacro?
If you already have implemented some OO patterns manually, it would be
quite easy to just define the macros to formalize these patterns, and
progressively replace manual patterns with macro calls. When it'll be
all done, you will be able to change the implementation of these
macros if needed.
--
__Pascal Bourguignon__
.
- Follow-Ups:
- Re: A question (confusion) about closure
- From: Didier Verna
- Re: A question (confusion) about closure
- References:
- Re: A question (confusion) about closure
- From: George Neuner
- Re: A question (confusion) about closure
- From: xahlee@xxxxxxxxx
- Re: A question (confusion) about closure
- From: Tim X
- Re: A question (confusion) about closure
- From: xahlee@xxxxxxxxx
- Re: A question (confusion) about closure
- From: George Neuner
- Re: A question (confusion) about closure
- From: Ken Tilton
- Re: A question (confusion) about closure
- From: Kent M Pitman
- Re: A question (confusion) about closure
- From: xahlee@xxxxxxxxx
- Re: A question (confusion) about closure
- From: Stefan Nobis
- Re: A question (confusion) about closure
- From: xahlee@xxxxxxxxx
- Re: A question (confusion) about closure
- From: Didier Verna
- Re: A question (confusion) about closure
- From: viper-2
- Re: A question (confusion) about closure
- From: Didier Verna
- Re: A question (confusion) about closure
- From: viper-2
- Re: A question (confusion) about closure
- From: Didier Verna
- Re: A question (confusion) about closure
- From: Didier Verna
- Re: A question (confusion) about closure
- From: John Thingstad
- Re: A question (confusion) about closure
- From: Didier Verna
- Re: A question (confusion) about closure
- Prev by Date: Re: Hunchentoot + mod_lisp2
- Next by Date: Re: A question (confusion) about closure
- Previous by thread: Re: A question (confusion) about closure
- Next by thread: Re: A question (confusion) about closure
- Index(es):
Relevant Pages
|
Loading