Collection uniformity
See original GitHub issueI was checking about Aigle.parallel
and I found at least exist 3 methods for do technically the same, but using different input. Specifically I’m referrencing this methods:
- Aigle.all
- Aigle.props
That basically could be expose just in one
- Aigle.parallel
The think I’m suggesting is avoid expose overhead methods for make easy use the same method all the time, because:
- Technically doing the same, so input is a implementation detail.
- Less methods to learn.
- Tiny API.
For example, taking lodash as example, see lodash.forEach method. You can use it for objects or arrays, and it’s so powerful; the point is it is not distinguishing between two methods; just one for Collection
an abstraction of data type that include array
and object
(like Iterable
).
What do you think?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Fair Debt Collection Practices - PA Attorney General
The Fair Credit Extension Uniformity Act regulates the debt collection activities of debt collectors and creditors in Pennsylvania.
Read more >2000 Act 7 - PA General Assembly
20000007ua. AN ACT. Establishing the Fair Credit Extension Uniformity Act; and providing for debt collection trade practices and penalties. · 20000007u1s.
Read more >ArtI.S8.C1.1.3 Uniformity Clause and Indirect Taxes
Article I, Section 8, Clause 1: The Congress shall have Power To lay and collect Taxes, Duties, Imposts and Excises, to pay the...
Read more >Measurement and optimization of the light collection uniformity ...
The uniformity of the light collection is a crucial parameter for the achievable energy resolution of detectors based on inorganic scintillation ...
Read more >Optimisation of the scintillation light collection ... - IOPscience
This paper presents a comprehensive optimisation study to maximise the light collection efficiency of scintillating cube elements used in the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, @Kikobeats !
Aigle.all
is the same functionality asPromise.all
.Aigle.map
is similar toArray#map
andLodash.map
, but you can take an async iterator as a second argument.Another question:
Aigle.map === Aigle.all === Promise.all
?