From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Philippe Vaucher Newsgroups: gmane.emacs.devel Subject: Re: Add some aliases for re-related functions Date: Sun, 3 May 2020 10:05:40 +0200 Message-ID: References: <7976B8C1-AFC7-4662-B750-6492EB70C0D5@gmail.com> <29721725-0696-4dcf-b5de-36924a5de259@default> <3777996c-7b3f-4d44-9636-f18aaff76a65@default> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f2b9c405a4b9e240" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="97025"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , Stefan Monnier , Emacs developers To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 03 10:06:40 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 1jV9e4-000P84-DD for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 10:06:40 +0200 Original-Received: from localhost ([::1]:47292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV9e3-0008Re-GS for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 04:06:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV9dZ-0007t5-Gp for emacs-devel@gnu.org; Sun, 03 May 2020 04:06:09 -0400 Original-Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]:40610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jV9dY-0007Dc-PH for emacs-devel@gnu.org; Sun, 03 May 2020 04:06:09 -0400 Original-Received: by mail-lj1-x233.google.com with SMTP id y4so6571475ljn.7 for ; Sun, 03 May 2020 01:06:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HtJH/2UHQYXiZ3rYbR+4RS32FvMrfJiqn8Wm6b7AVyk=; b=a/2jDOzuxlYyvhfo7wZAJVGxY30ezw8ezxFJbEEiBgx/aCDskonB2bg0ei8J1+1cxt o5Ue67io2SJk6MpgGB6gaZ/Dgnujhp+8QDBUlJNiEdcnTh/nil+eX1e73137RAMR2k/l oS11Ug/XQeyvaHXuqCoZN+ZaznpH9Oxp4IZzN3Pc54Le7rd9Yt4sAddlISru8licwwv5 BXfuIftRyCBUbigHnGEWqtL4t1Jfu0QwZFg1uoHieY+L6eG0tC49uXZokgvY4nsJK1Ur UbqbMcb00Rgi33teJk4xiPwKxJTYVlhLTSPnnxE8BGpgwe2EOGWivyer6GHHiB2HPO5I mAvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HtJH/2UHQYXiZ3rYbR+4RS32FvMrfJiqn8Wm6b7AVyk=; b=jYXocWCVPo1gwgbBUs5KpwUl1R0JKn96XZ+vxexJ8189iI1vE3qhrNtaReCKk1O0CX JTqsJLovERMZnr+Q2ym5D/Xenib5bUBPHtCesnt3a0W5es9Pf1REFNZoozOr65tau66B lpbAP8rsXyzpT+d+zxGJHRM26TYLQ23TrpNjSJKCaQEPy/KRehQjnUc5wea/h1AnfX4X BTbkwbvsPmDNYBAm77sS0ORMR+OyERin29xGfovs1dpl7OFqacqh7O2AGWVdxGfDaxhz VZg/FBq5XxOdcaayk4kQoo4Xk21ML4kS4ytD3FuRMWFfEpNFpsOvKzJ4i1nmL2E2j8OC 98Ww== X-Gm-Message-State: AGi0PuZJZAqkq97btNX3nM7DGQHkfyeBS8GYQJAw70HlA8XazhmXrlTG YvAhM220LHVVoGzS31qdnE5ZrW2jNlQmKTfywZc= X-Google-Smtp-Source: APiQypLL5IS2BxjHPeC1wQJFxFgE7/95716pBwTV9UTs11chalI5KctIR0lPeH3speQ6qm3PmdwhCT+5NnfzE+sgQkg= X-Received: by 2002:a2e:700e:: with SMTP id l14mr7252641ljc.135.1588493167015; Sun, 03 May 2020 01:06:07 -0700 (PDT) In-Reply-To: <3777996c-7b3f-4d44-9636-f18aaff76a65@default> Received-SPF: pass client-ip=2a00:1450:4864:20::233; envelope-from=philippe.vaucher@gmail.com; helo=mail-lj1-x233.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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:248648 Archived-At: --000000000000f2b9c405a4b9e240 Content-Type: text/plain; charset="UTF-8" > > It wasn't intended to be taken literally. But > the point behind it (there was one) was just > that naming is hard. It's not easy to find a > reasonable and consistent way to name things, > including functions. (I think we agree about > that, at least.) Yes, naming is one of the hardest thing. Still when we see names that could be improved and where most agree shouldn't we try? You make it sound like because naming is hard bad names are ok, or that any new name will be barely better as naming is hard. If I strawman your position we could name every new function as function5318759 with an incremental number because hey naming is hard we might as well give up :-) I'm joking of course :-) Philippe --000000000000f2b9c405a4b9e240 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It wasn't intended to be taken literally.=C2=A0 But<= br> the point behind it (there was one) was just
that naming is hard.=C2=A0 It's not easy to find a
reasonable and consistent way to name things,
including functions.=C2=A0 (I think we agree about
that, at least.)

Yes, naming is one of the = hardest thing. Still when we see names that could be improved and where mos= t agree shouldn't we try?

You make it sound li= ke because naming=C2=A0is hard bad names are ok, or that any new name will = be barely better as naming is hard. If I strawman your position we could na= me every new function as function5318759 with an incremental number because= hey naming is hard we might as well give up :-)

I= 'm joking of course :-)

Philippe
--000000000000f2b9c405a4b9e240--