Re: MAKE-INSTANCE and STRUCTURE-CLASS
"David McClain (as dbm at refined-audiometrics dot com)" <[email protected]> Mon, 6 Jul 2026 07:23:47 -0700
| Newsgroups | gmane.lisp.lispworks.general,gmane.lisp.cl-pro |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_9E29A223-72F2-4B59-8D8C-BC42041715B3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jul 6, 2026, at 07:05, Tim Bradshaw (as tfb at cley dot com) = <[email protected]> wrote: >=20 > The comment about bureaucracy is aimed at CLOS, not you (and also a = play on a famous quote about racing cars). CLOS provides this giant = bureaucracy around creating instances, and I'm suggesting that just = passing an argument which you call to create whatever it is may often be = a radically simpler approach than trying to persuade make-instance to = deal with structures, or providing some one-true-object-allocator. In = other words I'm suggesting that may be code shouldn't wire in = make-instance at all but accept a parameter. Thank you Tim. I appreciate the elucidation. I really do. - DM --Apple-Mail=_9E29A223-72F2-4B59-8D8C-BC42041715B3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" = content=3D"text/html; charset=3Dus-ascii"></head><body = style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; = line-break: after-white-space;"><br = id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote = type=3D"cite"><div>On Jul 6, 2026, at 07:05, Tim Bradshaw (as tfb at = cley dot com) <[email protected]> wrote:</div><br = class=3D"Apple-interchange-newline"><div><meta charset=3D"UTF-8"><span = style=3D"caret-color: rgb(0, 0, 0); font-family: LucidaGrande; = font-size: 14px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; widows: 2; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;">The comment about = bureaucracy is aimed at CLOS, not you (and also a play on a famous quote = about racing cars). CLOS provides this giant bureaucracy around = creating instances, and I'm suggesting that just passing an argument = which you call to create whatever it is may often be a radically simpler = approach than trying to persuade make-instance to deal with structures, = or providing some one-true-object-allocator. In other words I'm = suggesting that may be code shouldn't wire in make-instance at all but = accept a parameter.</span><br style=3D"caret-color: rgb(0, 0, 0); = font-family: LucidaGrande; font-size: 14px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = orphans: 2; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration-line: none; = text-decoration-thickness: auto; text-decoration-style: = solid;"></div></blockquote></div><br><div><br></div><div>Thank you Tim. = I appreciate the elucidation. I really do.</div><div><br></div><div>- = DM</div><div><br></div></body></html>= --Apple-Mail=_9E29A223-72F2-4B59-8D8C-BC42041715B3-- _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html