From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.tangents Subject: RE: [External] : Re: Shrinking the C core Date: Sat, 16 Sep 2023 20:55:27 +0000 Message-ID: References: <87cyyje7hh.fsf@dataswamp.org> <871qezdw6a.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15343"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , "emacs-tangents@gnu.org" Original-X-From: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Sat Sep 16 22:56:07 2023 Return-path: Envelope-to: get-emacs-tangents@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 1qhcKl-0003jN-1n for get-emacs-tangents@m.gmane-mx.org; Sat, 16 Sep 2023 22:56:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhcKO-00034H-4D; Sat, 16 Sep 2023 16:55:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhcKK-00033h-UR for emacs-tangents@gnu.org; Sat, 16 Sep 2023 16:55:41 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhcKI-0000Pa-Qz for emacs-tangents@gnu.org; Sat, 16 Sep 2023 16:55:40 -0400 Original-Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38GJ03Jg003461; Sat, 16 Sep 2023 20:55:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=NB0kS2SWTnfnfy9fIGQJymQzTlK0pMuUQJ9MIMRpeaA=; b=DoArRiCEH3Zt8AoDZVLUbeNSJY21R6uN1soE+dEmtJuZKP5wN6jLwykfMtCWJPk4S5ci +GO+0cisruZ86toKgeX0M4k4RVKDsSCREEONruAA4qCYMXnWRbTGML7aaQUxXgnxLEA3 S0UMCc2+YdPAQmF1YedmYroNhCvtszX/ZdVcKHvDgkIBZVa7jiZiyM7eSAtWoR7N9CjI x55279jVTC0hGOgU2BLhMQ5DKBWexTOrbB9Js0Br5zc1egxFQ9y7PhWFI8EylaE6vRjr dxSGHOivpEZ2eVZeVfgDvthS59ChsUpWHpPl9qtN6Pad7BqT0sbucJeEetRLtZvtBS/y 6w== Original-Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3t52y1rp9f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 16 Sep 2023 20:55:30 +0000 Original-Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 38GK0sL1030898; Sat, 16 Sep 2023 20:55:30 GMT Original-Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2176.outbound.protection.outlook.com [104.47.57.176]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3t52t2v6nn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 16 Sep 2023 20:55:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TAdS8gyB1a8Rh37aHY0vrcrOFHtZQt5aWDeypN6Tz2l8AZPVX5QptUNbHmsYFWmvNI0nvI35tDjdVx4DZII6TxxIvT8QiEQJ1k+X4+gUsbaBK/kybyQaTL8F1ijK2OovwQkcgd9O68BL5iy+roW4V6y363hdkBCc5Y2/BCsS445Sn0eQQHI08nwZLTYki0JYiItoDXpG1hQVZt6ymq39dYCwi74WLImLEt8z28yhX9tqOUvXxwiIQ5fgRffSHIaXGzc4mlfLmqcKnyKbfhrFg/Gx7cMxSRX5KLFqpHxYTI8dylXAZrygfNZpqXEVdWCvapfapQzr10lMkiG07g395g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NB0kS2SWTnfnfy9fIGQJymQzTlK0pMuUQJ9MIMRpeaA=; b=NJD5rcsz+M9qcvg8+rQsdWzqnPZS1qc9xgMeO83XFI9aTh46zcTY2Is8xox+S3ezGW1Ee5uXbUaS992lvLrr6i642Xa2grt7DizQ/r1MiT/U9Orov57iRPnoZn1nBEuobA2iqBJBgJ3KO+JAEiGyEN8v7xSr5sIv3aTHhN75OBmqLirGRN6TMzeJGwStgZKjU2Ns+b6TW6SOR61DVYxdORvhdTS4Yiw6c+3v1Wz4T1XpnXB5Qi/0tRvkDcFUzovxaNlso0jPKWV4pPExa19SGtmlmWBasjHSLIJ4oq+1m/TeV5y1mlXG0WXC2CxdEhtxqm2Dh/99ZR/T96as06kmKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NB0kS2SWTnfnfy9fIGQJymQzTlK0pMuUQJ9MIMRpeaA=; b=gDtbs0GyYFBUPnWUzW66MxVud0Bt+B0vWQbonwVJkxgKqT+1F1PL2oQxy/BbMh0/QmX2gFZFGoCR3ycpKo7LaAfuIQ4KI4oJD2uxUKAnWieskMiDcO3tR1ZQzdu9aGChdp5m+lzEPqdBTE4FgdcpOX0/cygN+ZsVGOYgGxAavsc= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by IA1PR10MB6218.namprd10.prod.outlook.com (2603:10b6:208:3a5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.20; Sat, 16 Sep 2023 20:55:28 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7c3b:c5a0:5222:69a4]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::7c3b:c5a0:5222:69a4%7]) with mapi id 15.20.6792.021; Sat, 16 Sep 2023 20:55:28 +0000 Thread-Topic: [External] : Re: Shrinking the C core Thread-Index: AQHZ6FzKASmd8/4KjUCNP7PWhuqtfrAd7T6w In-Reply-To: <871qezdw6a.fsf@dataswamp.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|IA1PR10MB6218:EE_ x-ms-office365-filtering-correlation-id: 2de88ca0-e0be-449a-e7b5-08dbb6f741b9 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EgGV0oaDVPNckAx2j0e+K93ok1YNrzc+Gcbs2l9fF+0i421osJRNbhKvTNHztEngWWmgzybJgzPI4bM8Sb+LLQ6bk263wo7NI4UtSOOhxImts5eIEroL1Ot078rSIltJr1qLnrjzh+AKL19RYZQ2NBr5VekDa6FM/WDiugZEqhzB7m7oXwY3nQuxJozpT8qWmG2+1Lk9O4K6ZZQU36F+5Nfi8ueb7peEUc0aKlca4sgl7umeHIWrtVGHc7esWWh50GW3IdiCUCHu/HFjO6Rxq8Edg4A/K9Gkn2bavxw+Cj+jEKUJFgfuEIZ6x1Pir0zUgYD3YbKa+7EGbhX4eDP5F7yiOT+sAzfA92m1igYNb1Ra4niW/IxUCjogqUyPL51xzzBLwTvHWCBkQ0juFg74fiYrYABHbXQoYamRm2WH1j0IRNOLeGQaoBoKt/HO5bUXSIjIUR66beEih8Y9r9D7sPM9P1yx5WP56OSuog19SETEaGJkkzY+f9bBgoij3h0hvQ7KCcmlDfemiAZaXB4G8Bwmrjr6qcx5ELUnHSjiEqBSQM0lRp3Ej3Gm5WKzjuAgxNY/3H7LYM5wPa1/GMXdIJwi7VACrltNxfMpiGa3aTNyA2abnfsj/+NMIMeTrsMs x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(39860400002)(366004)(346002)(376002)(136003)(1800799009)(186009)(451199024)(33656002)(55016003)(44832011)(66899024)(8936002)(5660300002)(52536014)(83380400001)(41300700001)(86362001)(7696005)(71200400001)(6506007)(26005)(9686003)(76116006)(478600001)(122000001)(2906002)(66946007)(38070700005)(8676002)(38100700002)(110136005)(66446008)(66556008)(316002)(64756008)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?2qSJ73335PVz8YVBSTIKfW2Bg6/1AWvikSBc3BnI3VTU42Gp8ucK90qZS0ud?= =?us-ascii?Q?LYtqZjleKDJx+RoNoURboSxBsD08bqDgrHYTm+YtVGXH+D1AS2bIO5E5kxtu?= =?us-ascii?Q?d85etrqjUysDI1YT2W+v40dB4CKDxXggohSu93BZhW27xdO0RmKaSfT/iE+c?= =?us-ascii?Q?dFaJdL7+Deom86Zb/lLL7SyeAmbKzk9qKhRzjDV2EI18lgL2KPuW/wH+GswX?= =?us-ascii?Q?OViCiff9+JLwqcISlDO7ZSxRKRTM/eBTDPL4Rtm15U1TC89lpNfgUT9ezK7B?= =?us-ascii?Q?EiOm+jORPKU0jzltAZFWUhngutU+MunsgGrBLuyDmmbnRSoHBZcVP0zG/cih?= =?us-ascii?Q?UZaR3pYXE3tCijc8jSWTrh5vT0sM9cJlnDkvwD572thOxLTDMaQCXzTHHEj9?= =?us-ascii?Q?ONb19PtJ6e6KHZvpKi8j6n8PjrntMz0aWR+xfagfLoDiFpVoxCKu9uuooWVs?= =?us-ascii?Q?NHSvXin0PcBvf4GMIe3qiOEyIngc0Wdq9K7464HvgtVYEHaP0Gpdzph7UmM3?= =?us-ascii?Q?daQzWgTpEUiEPtl+Nc+RVG4/G+2DHaSAnx21/a3iq1DYSabUEoHPvycL87k8?= =?us-ascii?Q?0A5VLxgEAVV9wcJZv8qgKL80raCDw6rs2b8vbSgTshvlfEPEdFkwS/8JOMLd?= =?us-ascii?Q?L5 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: rvuAp2F4hdxGlHJbcB0IBPuMWKw/NrxlZqW1eguWhhwdjwNkpMyWvL8z4Bqo7prpRzhjLE63McmirbKh6FNe/DM2DFLr+bDLqtCil/jyMEm6ni4doIGzTWqNKQRSw5Xxgal2PVYXQVh1NFAISuNIoBQI7ceTEMR9AhRB2pWueR6EFfRul8IaJ7LSAA+iJIQmREmDxiERiVL6zfRfwN8MCBEbaZMYdVNMFMqAVeQUKMk56dgkYXFCHeGTcfY6S/2DOrCq+jmOLIynPJgtd1YVkTOYfyIkdAhuGkxS5T35BJHCs1FPCq/ETjJotZ0OF+H12BKbbnbmlLWAGPNM0qP1zQlVDt2oTMZFkjD4A/3zsvrGv5e+TdOi+YLJUWeu4gi6U4H9ps2SGfiw97TcAh0Gp2Mtw9lOJFE8FYGpsXoSVjkHT2bItAmXT05Cv9cBAdoHJQprf9YKxuGl5H7ma/5a0EVawkQcAQIJTpmSxGTOHhn7KAR0YuZIt6b+NNJ2hT/FyKIv7DvI0ytQMymuJhHYPbjd0ujMhLpPgwFkH1j+EEnGDtDYPDx8a93XR3v9NkLgRSQL2TnVItLxIILWbbuHdTiAfmeRzsRHXBYvkutJ5zq0zSGbcEnG6WL0XjYzyIrtIRKPCIgxm9ZFs2D6TlYtuJuOpptWGT9rUy+nLGLeg8imYqcI5faRaHwqOZFLjIvOloZL8/nTRCIiOT026ZgUMviRNARyvx0oESyY2/U1mGXQ+x NdZ3wgNz+PGeOC9cnIiUbmlftpRx6ZMybQ1weZGw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2de88ca0-e0be-449a-e7b5-08dbb6f741b9 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Sep 2023 20:55:27.8512 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GmXa0ya87QTOSg7KIPgFNH4iiM/ugv0k39G+r4i2TkJD9JnS83GCZMOQKBDmr2BWo6JFiYV/M3+MKWuF0wAZTw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6218 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-15_20,2023-09-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxscore=0 mlxlogscore=737 bulkscore=0 malwarescore=0 suspectscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309160185 X-Proofpoint-GUID: j2YoXJWqXRZCwnF2We54BPuA7FErfAPH X-Proofpoint-ORIG-GUID: j2YoXJWqXRZCwnF2We54BPuA7FErfAPH Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-tangents@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Emacs news and miscellaneous discussions outside the scope of other Emacs mailing lists List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Original-Sender: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.tangents:1097 Archived-At: > > I think you're missing the point I made about a "family" > > of functions. > > > > Just having separate "many functions, all with few > > arguments" can make it more difficult to understand which is > > which, what's what, and when to use this one or that one. > > > > More generally, it's harder to see what the familial > > relations are. You can't as easily see the forest because of > > all the trees. >=20 > Indeed, you have to be familiar with the functions in order to > use them. Just as you have to be familiar with the optional > arguments and keywords to use them. So there is no difference > in that regard. There is a difference. The doc of for the family, i.e., all the variants of the function, is in one place. And that doc can, and typically does, describe them together, i.e., it describes their relationships. And another, obvious, difference, for things like apropos search and completion of commands. > But I think the functions are easier to see than arguments and > keywords which are inside functions, because when I use > functions, I'm myself outside, not inside of them. "The functions" can't be "easier to see" than the single function, which encompasses the family. Of course, you haven't made clear what you mean by "to see" or your being "outside"/"inside" functions. So maybe you have some unsaid meanings that fit your "easier to see" characterization. =20 > Or put it like this: If I have a computer that can do 100 > things, I prefer 100 functions to 2 functions, one with > 50 optional arguments and the other with 50 keywords. There's no need to exaggerate or deal with such a level of abstraction. The ability to have &optional, &rest, and keyword arguments doesn't prevent anyone from not making use of any of those and instead defining 8000 separate functions (to further the exaggeration). Do you use &optional? &rest? Why, since you apparently have a blanket rule that using multiple separate functions is always better.