From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)) Date: Sat, 27 Jul 2013 14:00:20 +0200 Message-ID: <87k3kcusa3.fsf@engster.org> References: <874nbh2z3y.fsf@ferrier.me.uk> <87y58t1cih.fsf_-_@ferrier.me.uk> <87zjt9rwh7.fsf@fleche.redhat.com> <85aa2168-3fd2-42f0-b03f-74c3bc258545@default> <87ppu516qn.fsf@ferrier.me.uk> <87a9l81kvl.fsf@ferrier.me.uk> <87ppu4dy8u.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374926597 18239 80.91.229.3 (27 Jul 2013 12:03:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jul 2013 12:03:17 +0000 (UTC) Cc: tromey@redhat.com, emacs-devel@gnu.org, rms@gnu.org, Nic Ferrier , drew.adams@oracle.com To: Bastien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 27 14:03:17 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V33DQ-0006mA-FB for ged-emacs-devel@m.gmane.org; Sat, 27 Jul 2013 14:03:16 +0200 Original-Received: from localhost ([::1]:56247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V33DQ-0000qu-3q for ged-emacs-devel@m.gmane.org; Sat, 27 Jul 2013 08:03:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V33Ap-0005Es-1G for emacs-devel@gnu.org; Sat, 27 Jul 2013 08:00:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V33An-0005wb-Uf for emacs-devel@gnu.org; Sat, 27 Jul 2013 08:00:34 -0400 Original-Received: from randomsample.de ([83.169.19.17]:44407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V33An-0005vM-In; Sat, 27 Jul 2013 08:00:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=Q+exUDiuwaLtN1GZOIPgWysw0gZObpAY/NK5waUrBuU=; b=QLWUoyCqx+slxuk1N4/HfchWjVLfiv9XKX/FI90z/qkFlNmat2ciuAEBlMBWiV+3Z6tAh06VIHsC0/Y+FkwtDDEtlYTQWcfwiVSycknkWn1uvtVpRnI7kH9rzCGg3tJI; Original-Received: from dslc-082-083-059-227.pools.arcor-ip.net ([82.83.59.227] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1V33Ab-0004iy-GX; Sat, 27 Jul 2013 14:00:21 +0200 In-Reply-To: <87ppu4dy8u.fsf@bzg.ath.cx> (Bastien's message of "Sat, 27 Jul 2013 13:43:29 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Mail-Followup-To: Bastien , Nic Ferrier , tromey@redhat.com, rms@gnu.org, drew.adams@oracle.com, emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.169.19.17 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162199 Archived-At: Bastien writes: > You can have namespaces clashes too, it's purely conventional. > > So to me the only complaint is about symbols' length. > > But is that really such a big problem? > > The common practice for Emacs Lisp seems to favor explicit and long > names over terse and hard-to-decipher ones. I guess the length of > the symbols is more due to this (good) practice than to the length > of prefixes. For me, the main problem with the length of symbols is that I intuitively tend to avoid writing them. For instance, I usually avoid using defstructs for nicely wrapping global state, because always writing things like (setf (my-prefix-struct-somevalue my-prefix--struct) 'foobar) is just verbose and tiresome. -David