[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : Re: Shrinking the C core
From: |
Emanuel Berg |
Subject: |
Re: [External] : Re: Shrinking the C core |
Date: |
Sun, 17 Sep 2023 12:08:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Drew Adams wrote:
> "The functions" can't be "easier to see" than the single
> function
Many functions that each do little are easier to see than few
functions that each do a lot, because with many functions that
each do little, the function names are often enough to
understand what they do and how they work - and they require
none or very little documentation.
But with few functions that each do a lot, one has to check
the documentation for each function, and the documentation
will be huge, because few functions that each do a lot either
have to have an almost endless list of arguments or rely on an
equally long list of possible keywords to control
their behavior.
For example, (+ ...), (- ...) etc are preferable to
(arithmetic :operation 'addition ...),
(arithmetic :operation 'subtraction ...) etc.
--
underground experts united
https://dataswamp.org/~incal
- Re: [External] : Re: Shrinking the C core, (continued)
- RE: [External] : Re: Shrinking the C core, Drew Adams, 2023/09/13
- Re: [External] : Re: Shrinking the C core, Arthur Miller, 2023/09/14
- Re: [External] : Re: Shrinking the C core, Emanuel Berg, 2023/09/15
- RE: [External] : Re: Shrinking the C core, Drew Adams, 2023/09/15
- Re: [External] : Re: Shrinking the C core, Emanuel Berg, 2023/09/16
- RE: [External] : Re: Shrinking the C core, Drew Adams, 2023/09/16
- Re: [External] : Re: Shrinking the C core,
Emanuel Berg <=
- Re: [External] : Re: Shrinking the C core, Yuri Khan, 2023/09/17
- Re: [External] : Re: Shrinking the C core, Emanuel Berg, 2023/09/17
- RE: [External] : Re: Shrinking the C core, Drew Adams, 2023/09/17
- Re: [External] : Re: Shrinking the C core, Emanuel Berg, 2023/09/17
RE: [External] : Re: Shrinking the C core, Drew Adams, 2023/09/15