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: Fri, 15 Sep 2023 20:04:14 +0000 Message-ID: References: <87cyyje7hh.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="16659"; 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 Fri Sep 15 22:04:47 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 1qhF3T-0003wl-87 for get-emacs-tangents@m.gmane-mx.org; Fri, 15 Sep 2023 22:04:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhF3G-00005E-QN; Fri, 15 Sep 2023 16:04:31 -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 1qhF3E-0008Pu-F4 for emacs-tangents@gnu.org; Fri, 15 Sep 2023 16:04:28 -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 1qhF3A-0002RJ-AB for emacs-tangents@gnu.org; Fri, 15 Sep 2023 16:04:28 -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 38FIereF022944; Fri, 15 Sep 2023 20:04:17 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=jJsjzoYJe285ZTfdh+qVXue5sbcAAxqFv5KUI4rOk3k=; b=YJxtagrJMhXZheGZpU1528YXhXYTZzU8/SYdFFEZx1bHD6dN0S2vowZdlmEmWWQQeSbW qp3BiSn3k8ujQJjJIM8D1t+VmFIFNnZ/M7G8HiyElGQ9agSzX32ov2+WFaDCyeB1zKX1 fky4iuQdF0rMVI958/PyLJwpKn7Fc/9FcJumKfWENGACfDTbm+bDmtfXlZ23+FK547TQ hQzL/yF7/hXNhrIwx4zNTUrf0qdQhU0Jj/JFkSeNDj1vlwkhfpdTXK/6esQf0M9cjtdb MPoySA1nOgHajerHzOgs0gCnbGquUVqZmG1EMavLzDId0SNenDaHmWwATCyCn4dOjFGY sA== Original-Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3t2y7krg09-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Sep 2023 20:04:17 +0000 Original-Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 38FInNXL028250; Fri, 15 Sep 2023 20:04:16 GMT Original-Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3t0f5guprw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Sep 2023 20:04:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EsegemqlFBmERSnryTCs6VtmnMpaDyzzwxjUVZKxrav45T8x2j2i4YbkSevintmoiTdXmppMc0NA/uYXM0VsvsJW3F6pliku1oFjpECG9oBIIW2dat5KnRpf9mm50/kYKotB9ZdZEBa2nNeWIGUMdKJE7T/cqIJaQvDjlkZvLOuVzvIoFHdu6BnSvklT2UpygwNk3DU4fqlxCGpgUm/lOZCCt5GLF96+h9zPdYURHEd1uL9ZB/SjxVPV7dXXvVOwUeWcmU/+HYXndV1UNgVqz8ue4CtLm6FaZGsT3OBKGkqfjLUAgYOJl7u7VsmKtr73xw6WXtVABSY8DmL2gcKpVw== 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=jJsjzoYJe285ZTfdh+qVXue5sbcAAxqFv5KUI4rOk3k=; b=lCjmYTM3NxGV9MiATQKaasib0MzjGm7V1cbiTNtkw2hgikSQnL3WC9Lz3Y+/yyZjMlYvNHxGa2adIA4YckFRVxIqgI5nNLyBmpNmSfUa4MjV6jVTutUqsw/RZFxp2cMeTh1bcp9Mgk+kouAshISLxl1npTyWvU96PP2F4SYo/dSJbFZXp7yW37Xh+pPuGGHKzh7QX4Eujb0+UeBbYT/3qwxhhlPOOWdQ2xkJNv48Dglk3ig2lruRsuSgFZnM+ha/PdwIrPA14FqNxVbr7ajpM5zXVIEr5n/R1Q/qZzRj00Yzj8vnanHSBWsSWFd5hUl22INDnHuvyxM+A0u3VLOUFg== 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=jJsjzoYJe285ZTfdh+qVXue5sbcAAxqFv5KUI4rOk3k=; b=fNbvi+QTTGN1sSGrqi47p6JiGhQszbpSbv/9enDCYu2AB0aA7tpC5bRTelTUQOLXnwMbZ1D6wTqIxVzddmyKVTI/znbxZotu5vIsjvw6pmj9yxKPVuErVuLk362ENCCz9viTXNALlmLNsWJNutL1dPxXqP2IYRDJ43p1v6JR50Y= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by SJ0PR10MB6303.namprd10.prod.outlook.com (2603:10b6:a03:477::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.19; Fri, 15 Sep 2023 20:04:14 +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; Fri, 15 Sep 2023 20:04:14 +0000 Thread-Topic: [External] : Re: Shrinking the C core Thread-Index: AQHZ6ANRac2eVoIvvUOP3sVj/pbDPrAcTbcg In-Reply-To: <87cyyje7hh.fsf@dataswamp.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|SJ0PR10MB6303:EE_ x-ms-office365-filtering-correlation-id: 1a8be533-8730-4df2-812b-08dbb626ef78 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NuEqXYXKSTNe7RFjYbxkErJcOYEnWni0i5esC0ev02Z1lq6bJx2ndVvUreJBwSv1CKye19bFibxg0uaYbbnXTtIThmIX05QNRKOdX/Fjrr9QFNV8a18EsUoyO50ePEjlfsZCqbOwM7xaRUN+5Nbzeix4e152thSDNwQ0d5eTh9IDknQrQp1OmmjWW+LBXz/0HBt3WHVXcZYpGbcTT50u3T5JS2etnnO3KTPOTNRnQnG2l5TAcx6noiTTT/CNcsEY/NQQjuXFTMo+A/x9uyHyAWXiE+wNiHzB2E1NwWMChcOL+kRqa+PJplZGUmTzX74G6OncoaInTGxYeJjclm8X9c1PxaZC2+3ZkP5IX2CvZxxCalwQjn/jDtZhUENsB1KSINt36YtPyFB7uyelVILiN/mJpsX4GRNctEXcN2Y3re0u0fQ09MGX9y779gQxAike0tVbmoV6BxiXDQePJ0w41DC9FgQDVsFuSaOXHxdlwvPBqmrOovXvquyW09OuVE4oSgbVd/bcW419TpmBO9anRLtuBZHeucEGEpsitw1OPU4IHFuL1Wt08LsR8mQAScxZ3fRzxWvxv/trFflvJZVus1DzDWLHOo5bCbqdiu5RQNKGjYpBV7argF5iDZlvz0wx 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)(346002)(136003)(39860400002)(396003)(366004)(376002)(186009)(1800799009)(451199024)(38100700002)(33656002)(55016003)(86362001)(38070700005)(41300700001)(6506007)(66556008)(66446008)(8936002)(64756008)(66946007)(76116006)(122000001)(8676002)(316002)(71200400001)(7696005)(26005)(478600001)(9686003)(44832011)(2906002)(66476007)(110136005)(83380400001)(5660300002)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?c5GUx8l1erx+XjS0U1mEfpScnRdaHScRILRgojr5TT2c5uhw5HdAl+gY0mWF?= =?us-ascii?Q?u7LUZ+Q9gICP5EbibY4+sj5snljh0HaRKC+febRBvGQYazifkqljX9uYGAFQ?= =?us-ascii?Q?5UXUIQSsNGxTkJeR8vx6Jz/wDnEYvgw6ToeY/CmCzUTFTy2OwKjwsOKzaQIw?= =?us-ascii?Q?1co22U2zhPQOYSNjzlMw9mmdhR0Gl/LcGLHhkYNwYrZ9txHEju+qDlM7c9bT?= =?us-ascii?Q?uVii4MrtZczQ6fDoZAcQY8R9rDMDbziP04F9UThjLKCBGXkP0ZOoo3XgAf78?= =?us-ascii?Q?zRhl9Pxk/w1CmBoT2WlH/8dmgxEiS75r2Og6xUBQffaLopd9GHmC/mAXTtuZ?= =?us-ascii?Q?KpFQx8W8Ut+ml895zmBQ240d+2HTaMo7my9g+MhTd5pGdVlKAMZrdRRPhLVN?= =?us-ascii?Q?74hkaVFYmOsq9wkRjSennsdnSccgzssr+ALW2+tUewUL77GCTTvz4m1fCVBL?= =?us-ascii?Q?zA4hOx/msUnk3oAwNygC30Cb3ywPJXQaVPAUzAFQYjqCtNken4XarxLjkUL5?= =?us-ascii?Q?Rp4vyZpueFpKk8DPXT+j9dYLlpCNSo5R/uWxKTULd3drEiwp1T/5ypQ12So3?= =?us-ascii?Q?x8u/occ3rLSfSTp3I4wAr5EaYiySkqTdZvRO4ydcMBOZF5cf1qhNlch7WkBd?= =?us-ascii?Q?Lt X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: OG9RSEjW6e21fXyQv1zfbvTKxor5aVH/yMUEjhM+E3vw95CBIugyjPxV2MdTSbNnhEZUzFSawSOpRKYWUgJq9yYEWCtqJt5fzo3xoQzIPUoRzahqyiKrFDHx2nfgTc4Gqp7vQ0VFL63o1E8gmG3tUWeSjVr8+CzCz6bAwqJh2OtLhdvDKJoAbwUy50gKFQ83wRdeuqT8Dk6IBkWa/nMir1WOCm20L5eVAsickQnkuj6TEulItLM1j8YOFq0eE9z3S7m03hD9PGsO55StdCZbYrhUZKu5/OqAAzQaWVYANvKqkuMxcBeuiQD2fidgSunHhqhjrv8aVBXedbpQwXUAcknC/s4nTfq0jiGvWh8bohopIaM9TyTuNX/6cnpuBEmsiOFX+GtTyJ7oiPkFEMT8JDHGDyziGtvnXHNxe2bIMSsN5ZYxirmosk/YD+w8Yp+ZKHaQJAbAJRDkF/Lb03pOgM1Uov5L2qfU2K1518WxXQRuuBaL74b0VrJ8KlI+rMM0edQtQWlHkD4IvRfv2C6gPdADW3YO57I4YOG9+NwimZK4gSUZzAAZWDs7MjRQPzloDVI95i9mntR8rwr5VIOHHT2QMrgYTU2VYl9y3FURxwlGtjLRP5OO4irM2hJRfOzB99H08AdUGFCairrEZbHJYp+rIa1iRDbwMsx8eGUfHsFjMaIWrQgIEAxqZjnSBKucz4b/LWZHGoDeY0xKU6UZBEteH9RWolOc0jkblWDOtcFhvg /HD7k2UbNmGq2L7DCPs5PeotQDYKyQMmBP9I3rJA== 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: 1a8be533-8730-4df2-812b-08dbb626ef78 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2023 20:04:14.5163 (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: Y8KwtebKNebSI9+dWjVVDAN3yiUpOi/2L6Wqp/wmLrjCZikDOrVDKtkI2PtgR7X01QYTX8fUvorED50EAZ5wWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB6303 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_17,2023-09-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 mlxlogscore=582 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309150180 X-Proofpoint-GUID: rS23Sy6IAUk4pZ-EZ8lL7_rgXdRZo2fO X-Proofpoint-ORIG-GUID: rS23Sy6IAUk4pZ-EZ8lL7_rgXdRZo2fO 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:1095 Archived-At: > I think, in general and ranked from best to worse, >=20 > 1. Many functions, all with few arguments > 2. One function with not-that-many optional arguments > 3. One function with keyword arguments > 4. One function with too many optional arguments I don't think any such generalization is very helpful - regardless of how one might choose to order those. > Documentation is not a problem for case 1 since small > functions with clear names and few arguments typically > requires just 1~3 lines of documentation. >=20 > This documentation is also easy to browse, you won't have to > navigate the help buffer or search it for what an argument or > keyword does, written far below somewhere in the text. 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.