From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.devel Subject: namespaces Date: Tue, 09 Dec 2014 19:35:26 +0000 Message-ID: <87y4qgipkx.fsf_-_@violet.siamics.net> References: <877fy77zhp.fsf@web.de> <87k326d4ww.fsf@gmail.com> <877fy6rp2o.fsf@web.de> <548230FB.40307@dancol.org> <5482C872.5010304@dancol.org> <5483C537.3010707@dancol.org> <54840719.5080209@dancol.org> <87a92zmnv4.fsf@lifelogs.com> <5484FD09.60603@dancol.org> <9ae6762d-a52a-4a06-b2e9-dab893a22d38@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1418153753 779 80.91.229.3 (9 Dec 2014 19:35:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Dec 2014 19:35:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 09 20:35:49 2014 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 1XyQZW-0008MA-RH for ged-emacs-devel@m.gmane.org; Tue, 09 Dec 2014 20:35:46 +0100 Original-Received: from localhost ([::1]:42167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyQZW-0006xp-98 for ged-emacs-devel@m.gmane.org; Tue, 09 Dec 2014 14:35:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyQZM-0006wy-C6 for emacs-devel@gnu.org; Tue, 09 Dec 2014 14:35:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XyQZL-0008OT-5l for emacs-devel@gnu.org; Tue, 09 Dec 2014 14:35:36 -0500 Original-Received: from fely.am-1.org ([2a01:4f8:d15:1b86::2]:50279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyQZK-0008ON-Po for emacs-devel@gnu.org; Tue, 09 Dec 2014 14:35:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=IijugZfUV6jGRdOyOg/QouMRzWxF02E3+DGy+dza5lE=; b=VDpvi90YOn3XRRP8FysFYlAfHdog1DjOCTmR9uOYbZa6uTRFRTwHwe8O4VQai8U+vSN9P6OC2KBv7bmiTpZGs1zH9ffZTr3e82Hjomb730msadr/3WoYnH1UDFiU+/fAgJzOSewkCC+xkKKWXqpMrWRu5wHFqazxid5s2eOBCxA=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XyQZJ-0003V6-V1 for emacs-devel@gnu.org; Tue, 09 Dec 2014 19:35:34 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XyQZC-0007ad-Ms for emacs-devel@gnu.org; Wed, 10 Dec 2014 02:35:26 +0700 Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: (Stefan Monnier's message of "Mon, 08 Dec 2014 16:48:08 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:4f8:d15:1b86::2 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:179588 Archived-At: >>>>> Stefan Monnier writes: >> I make the conjecture that name space importing is convenient when >> you have lots of small modules, each with its own name space and not >> many names, and each referring to just a few other modules. That's >> not how the Lisp Machine system was written, and it's also mostly >> not how Emacs was written. > In languages like SML, the common style is to always use qualified > names, tho the modules used in a file get locally renamed to use > shorter prefixes. FWIW, my own preference for namespace-aware languages (that=E2=80=99s Scheme 48, Perl 5, and a few others) was always to import only what=E2=80=99s strictly necessary. Typically, of each module, only a few functions are used, so even without a prefix, they don=E2=80=99t really clutter the namespace. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A