Path: csiph.com!news.nrbbs.org!border-3.nntp.ord.giganews.com!nntp.giganews.com!local-1.nntp.ord.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 05 Oct 2026 23:30:50 +0000 From: steve g Newsgroups: comp.lang.lisp Subject: Re: GNU Emacs native compiled functions (was Re: Malicious Computer Architecture) References: <113ovuj$23t9c$1@dont-email.me> <114f9up$1mm0c$1@dont-email.me> <114ge0v$24ndu$2@dont-email.me> <114h1v7$2b0po$2@dont-email.me> <114h24r$9nm$1@reader1.panix.com> <114h26m$2b0po$3@dont-email.me> <114kain$3erqe$1@dont-email.me> <114oc02$qbqp$1@dont-email.me> <114odai$qp0b$1@dont-email.me> <114piou$14lmv$2@dont-email.me> <114pno3$16g53$1@dont-email.me> <114pqg5$17lne$1@dont-email.me> <5T_bS.71191$4Fu9.56234@fx05.ams4> <27248.58134.739884.512819@parhasard.net> <87v78mz15a.fsf_-_@debian> <87wlsmo83m.fsf@debian> <118kcc1$1mri1$2@dont-email.me> Date: Mon, 05 Oct 2026 19:30:50 -0400 Message-ID: <87wlrvendh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:rZIRDGtbaVBqpm5ETYQn8w19fNI= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Lines: 22 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-i8dSomsfG/6GgoXQbqlHaJ8NEcAqRrtcUtmROPTVfgHo7NQpIxycCIlXpHn5xRAzyUbegycY6nMnQI6!vJTkMyiHmREKBlUi9xf14+7GtZ9IH+NXFuIUUvWt849MOIU= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Xref: csiph.com comp.lang.lisp:61700 Lawrence D’Oliveiro writes: > On Fri, 18 Sep 2026 10:12:07 -0400, Stefan Monnier wrote: > >> Yeah, dynamic scoping is more friendly to funky hacks, so in a sense >> static scoping has a kind of "sad/boring/serious" side to it, >> discouraging you from "walking on the wild side". > > I find quite the opposite. Lexical binding allows you to create such > useful things as function factories and class factories. The biggest problem with dynamic scoping is variable shadowing. (defun this (char str idx) (eql (char str idx) char)) It just drives me nuts thinking about it. Look at some old emacs code and tell me that a defvar is bad thing :) I usually use the same name for the same variables; str, len, pos, epos, idx, rdx; horrifying.