• Zak@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    I imagine the tricky part for someone unfamiliar with Lisp would be that there’s no syntactic clue that a particular thing is a macro or special form that’s going to treat its arguments differently from a function call. Someone who knows Scheme may have never seen anything like CLOS, but would see from context that defmethod must not be a function.

      • Zak@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 days ago

        You don’t even need to define a class to define methods. I’m sure that’s surprising to people coming from today’s popular language, but the original comment was about syntax.

        Whether Lisp syntax is ugly is a matter of taste, but it’s objectively not unreadable.