home.social

#amop — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #amop, aggregated by home.social.

fetched live
  1. (1) I second that.
    _The Art of the Metaobject Protocol_ is a beautiful book.
    A masterclass.
    Pure magic.

    (2) I am partial to Allen's _The Anatomy of Lisp_.
    I claim that its essence is good and valuable.
    (If you read it, you have to abstract away that it uses Lisp as it was in the now rather distant past.)
    I understood what a continuation is from this book (which presents a continuation "merely" as a register in an abstract Lisp machine).

    (3) The first edition of _Common Lisp: the Language_ can be reconstructed from the second edition, but there is aesthetic value in having the first edition itself.

    #AMOP
    #AnatomyOfLisp
    #ArtOfTheMetaobjectProtocol
    #CLtL
    #CommonLispTheLanguage
    #Lisp

    @zyd @spnw

  2. <"/>
    I found [it] interesting since it says their approach should have wide applicability.

    And very rightly so:
    both
    that you should find it interesting
    and
    that the approach should have wide applicability.

    Just making my opinion explicit, not that present or absent company needs me to know that 🙂.

    #AMOP
    #MetaObjectProtocol

    @dougmerritt

  3. <"/>
    "Metaobject protocols: Why we want them and what else they can do"
    Gregor Kiczales, J.Michael Ashley, Luis Rodriguez, Amin Vahdat, and Daniel G. Bobrow
    ... 1993

    Excellent catch.

    #AMOP
    #MetaObjectProtocol

    @dougmerritt

  4. > I shortened Jim des Rivieres to Rivieres. Is this correct, or am I meant to write des Rivieres?

    I would keep "des" and more importantly I would check what the already established practice for citing this name is in the literature.
    That would also include keeping the accent (des Rivières).

    #AMOP
    #CommonLisp
    #MetaobjectProtocol

    @screwlisp

  5. [Applying the Metaobject Protocol.]

    Needless to say, if you not only read that book, but also put it to use, you will learn a lot and that is priceless.

    What you describe seems like a suitable problem to apply the MOP to and to get a grasp of it.
    Good hunting!

    #AMOP
    #CommonLisp
    #MetaobjectProtocol
    #MOP

    @screwlisp @dougmerritt

  6. [AMOP]
    @dougmerritt @weekend_editor @sigue @abuseofnotation @screwlisp

    Right now I'm thinking that the real value of _The Art of the Metaobject Protocol_ is showing one way to do metaprogramming, and object-oriented programming is merely a demonstration domain.

    Of course, what begat AMOP was a desire for an approach that can cover a large part of the OOP language design space, not just one point in that space, in order to be attractive to different schools of thought.

    #AMOP
    #CLOS
    #CommonLisp

  7. @dougmerritt @weekend_editor @sigue @abuseofnotation @screwlisp

    > no one else has been mentioning (so far as I've noticed) "The Art of the Metaobject Protocol"

    Not in this thread.
    Indeed, this book is a tour de force (et de magique).

    > uncertain that the topic deserved such a deep analysis

    The topic—maybe, maybe not, but the book is really about the metatopic, i.e. about metaprogramming, if I may abuse this prefix.
    (I know this ought to be formulated more carefully.)

    #AMOP
    #CLOS
    #CommonLisp

  8. @Seanleblanc

    WRT #CommonLisp Object System (#CLOS):

    The seminal book ›The Art of the Metaobject protocol‹ (1991, #AMOP) by #Kiczales, #Rivieres & #Bobrow demonstrates & discusses many design patterns for #ObjectSystem|s with #metaobject protocol, in which methods are not part of classes, due to #multimethod, #multipledispatch paradigms.

    It also contributed much to #DylanLang.

    🌺

    🦎 telegram.me/FamilyOfLisp
    🦎 matrix.to/#/#family-of-lisp:ma

    🏷️ #Lisp #FamilyOfLisp #CLtL2 #CLHS #ELSConf #XEROXParc

  9. @phoe

    Note that the #PrettyPrinting dispatch tables of #CommonLisp conceptionally are a #GenericFunction with #ParametricDispatch.

    The function SET-PPRINT-DISPATCH is essentially an ADD-METHOD to the pretty printing parametric dispatch.

    (Unfortunatly, the canonical, #ProofOfConcept implementation of PP by #RichardWaters is one single convoluted mess; basically a negative example of software design, even by standards of its time.)

    🌺

    🏷️ #Lisp #Scheme #CLOS #AMOP #MetaObject #MetaObjectSystem

  10. @rml

    I am guilty of combining #FunctionalProgramming with the #CommonLisp Object System. 🏄‍♀️

    What will my fate be? 🚀

    🌺

    🏷️ #CLOS #AMOP #Scheme