unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* eieio question / `dufun'kt Elisp
@ 2024-08-27  9:10 Emanuel Berg
  2024-08-27 12:29 ` Thierry Volpiatto
  0 siblings, 1 reply; 3+ messages in thread
From: Emanuel Berg @ 2024-08-27  9:10 UTC (permalink / raw)
  To: emacs-devel

eieio again, question first thing, is there a better way to
express booleans or just what we call t or nil than to call
them symbols? Since a lot of things are symbols. Example:

(defclass cyclic (borderless)
    <incal>   ((src     :initarg :src     :type list   :initform nil)
    <incal>    (enabled :initarg :enabled :type symbol :initform nil)))

This part of eieio is very useful BTW, we should have
something similar for defuns as well. Check type, set to
default value, validate, associate with useful data and
metadata all in *one* chart, all automated and after it
is done.

Compared to plain Elisp it is a dream. The important thing
isn't is it OO not, is it functional, is it something else,
blaha blaha, rather two questions are important

(1) is there a plan and policy how to handle and reduce the
    complexity that is inevitable? (i.e. a plan that works)

(2) is it optimized for development speed and the
    physical/mental well-being of the coder?

You gotta have "yes" on both those in 2024 to stay relevant.
with eieio - yes, in its own way, absolutely.

-- 
underground experts united
https://dataswamp.org/~incal




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-27 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27  9:10 eieio question / `dufun'kt Elisp Emanuel Berg
2024-08-27 12:29 ` Thierry Volpiatto
2024-08-27 13:56   ` Emanuel Berg

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).