From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Micha=c5=82_=22phoe=22_Herda?= Newsgroups: gmane.emacs.devel Subject: Re: Why :USE sucks in the Common Lisp package system Date: Sun, 10 May 2020 00:07:37 +0200 Message-ID: <48c04e17-7013-7b83-5021-52558fd9e4e5@disroot.org> References: <87ftcee7td.fsf@tromey.com> <87pnbgzdmx.fsf@tromey.com> <1225997b-648a-068d-7f6b-e1575477a0d0@dancol.org> <875zd62qy7.fsf@t510.orion.oneofus.la> <09ed390e-c735-3a7e-ecfd-504557b192a2@dancol.org> <87368a2d1a.fsf@t510.orion.oneofus.la> <378efe96-8069-2aaa-283f-14edf13445e5@disroot.org> <97d553d0-1d00-05a4-1601-d2b8b110c838@dancol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="27288"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 10 00:08:28 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXXe0-00071z-BK for ged-emacs-devel@m.gmane-mx.org; Sun, 10 May 2020 00:08:28 +0200 Original-Received: from localhost ([::1]:49276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXXdz-0004PN-EC for ged-emacs-devel@m.gmane-mx.org; Sat, 09 May 2020 18:08:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXXdG-0003sT-1h for emacs-devel@gnu.org; Sat, 09 May 2020 18:07:42 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]:41164) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jXXdF-0007aE-58 for emacs-devel@gnu.org; Sat, 09 May 2020 18:07:41 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7B31C23AFA for ; Sun, 10 May 2020 00:07:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iz71PwITDcHE for ; Sun, 10 May 2020 00:07:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1589062058; bh=RLVaHIIcwO0KZy+Uc4eYIwovjg+CxeIgblIl6P2svvk=; h=Subject:To:References:From:Date:In-Reply-To; b=ie6wy2UpRdHrvnyXOv1NJ4hBP+hQ/oz0dRMns5VX2/HT430V6wK19GdCTieLiAway kylaTgIzBgm1vLGjbVdsBam4a3dZZ857wzKz2w0bJsjvA4eT19wEfArxHmpjVhNPxw kqzcTIggAez55dPR+IWTca7LTLjmvPBIzD37Rvu3PSFlJwfdktgsLMvaSj3YnhKTXH h+Ydw6oVm6NHrPY4xbixRgR3SAh6ux9hP1yInoM0Q88l38SSAPxI0v+CE4IjlNv01b DxEgOT04LWvQuPoohBrIBVT+BB4wkRWTNAMk49AwrQpPBHG0mZ4APKsV+KCugIv9nG lSQz7Mv0V/PuA== Autocrypt: addr=phoe@disroot.org; keydata= mQGNBFo+0HQBDAC2cT8vftmYYq/Qnl35kjF7N2jfbjq8h5LbAhyS+2noMQUVEMUBwUHsfHq2 D1FzY8DSt3ekEwOJtQY46QocVVUGm4wokkanN+leSGKSgumOnCpo5drkVBB8qaMqOcO9A1Ty e95laUnSIJBkhJ0chUTzDdBm29hBfkDQxwHviB3QIZjxllHXVLJTBseeWQGVyCrLhLDOJzYi ceKqJe92wBNTmZ3yXwIXmwG5owVm+m0DiVkSYJLiN7MfPuQqfBIdnRWdrc+JDGWEqb3aC+mE 1sCaD30/QFGHQ8X+NCoP96KlZz6dXxvqb0vZSIXOkPdcCLZ/e0GNSL3wYpNAhzWA7+vdQKqv xB2ZEeOmJRJboI45XZn5rr73rqrHdYgif3dtrfYuMYaX0BO9k0YUnJNjvqqieGiQHo/8sdMR DG12yDXnktMDMVmVkGeQQzGnVx6vmdffoEnNLVH2Rbi20uyQMvj71Td2oCO6oBIipHZ2Ht/P OfO2UIUsneBs+gfu0+n7WLkAEQEAAbQlTWljaGHFgiAicGhvZSIgSGVyZGEgPHBob2VAdGVr bmlrLmlvPokBzgQTAQoAOBYhBAHAbWLNZXvsD6EbIb58DGqH3tV8BQJaPtB0AhsDBQsJCAcC BhUKCQgLAgQWAgMBAh4BAheAAAoJEL58DGqH3tV8htEMAILK+ToE4eHsIa/mgeZaem/bqBl5 bfp6Mw2aGDJkpoH396+oCNIqy25rrNKbCsYH4RfFcHOuy/uIki8vIrPkiC25+6t4EuefkWGw WZkK+XWnmOq3WUqW0oTWPrr51spy7eubqY2lZZf4sO In-Reply-To: <97d553d0-1d00-05a4-1601-d2b8b110c838@dancol.org> Content-Language: en-US Received-SPF: pass client-ip=178.21.23.139; envelope-from=phoe@disroot.org; helo=knopi.disroot.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/09 16:34:13 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:249591 Archived-At: On 10.05.2020 00:01, Daniel Colascione wrote: > It's just as easy to use local nicknames here though. I still haven't > seen a compelling case for :use that outweighs the risk of imprudent > use. Why is prefix-less import of some internal utils package so > important?  If the utils package and the user of the utils package > have the same author, they can just share a namespace instead of one > using the other. Sure, that is a convincing argument. The single compelling use case for :USE is not needing to type CL:IF everywhere you want to type IF, CL:DEFUN everywhere you want DEFUN, et cetera; literally everything else is achievable via package-local-nicknames instead of that. The big issue is that decades- or even years-old code authors did not have PLNs at their disposal, and even though they were available in SBCL for a long time, they were not widespread in the CL ecosystem. Now the situation has changed and they are close enough to be supported by all contemporary alive implementations - the people who wrote Lisp code back in the day were unable to use such luxuries while maintaining readable code of their own libraries.