-
Notifications
You must be signed in to change notification settings - Fork 0
devel
Sharad Pratap edited this page Jul 8, 2024
·
1 revision
Code here may be the hell of indirection, but still helping in one way
for accessor or nouns
using prefix “occ-obj-”
for verb
using prefix “occ-do-”
for launcher or runner
could use prefix “occ-run-”
using
(cl-defmethod OCC-OBJ-MARKER ((mrk marker))
mrk)
(cl-defmethod OCC-OBJ-MARKER ((obj OCC-TSK))
(OCC-TSK-MARKER obj)This will cover MARKER and OCC-TSK and its subclassed.
This is reducing code size by reducing number of parameters to functions like #’OR
Yes this requires number of accessors methods.
Mean do not code base and advanced feature together first complete base feature, when it is working then only go for advanced feature.