eieio命名规范?

我有这么一个类:

(defclass uikit-view (eieio-named)
  (face
    :accessor uikit--face
    :initarg :face
    :initform nil
    :documentation "The face used for this view. Default to nil.
You can set face by property list but this is more convenient.
face in property list will override this. "
    :type (or null (satisfies facep))))

uikit是package前缀。

我不太清楚accsessor应该怎么命名。 思考以后觉得是uikit--face,这样正确吗?

完全随意,如果是我会用 uikit-face 甚至直接 get-face

正常的接口不会用双 dash --

这样啊 ,不需要双dash太好了 :smile:

那么defmethod 定义的private method需要双dash吗?

如果愿意的话当然可以

完全随意, 但是,通常,双dash被用在那些package内部,不希望用户调用的函数,虽然用户想用还是可以用