Why double index?
See original GitHub issueIn this image on the docs I see both index.js
and index/
folder.
Why use this approach? Isn’t it bad for the compiler/ambiguous to have both?
Why don’t simply put index/
folder’s contents outside of it? It would look clear and it wouldn’t break encapsulation.
I’m not bashing it, to be clear, I’m just curious about why this solution?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Trying to understand the double index in python - Stack Overflow
It seems like left is an array containing tuples. I.e. Each element of the array is a tuple. Ex: left=[(value1oftuple1,value2oftuple1),( ...
Read more >double indexing - MATLAB Answers - MathWorks
The first index create a new vector and the second index creates a new vector out of the newly created one. It is...
Read more >5.3: Double-Index Arrays - Engineering LibreTexts
Double-index arrays (and more generally, multi-index arrays), are extremely important in the implementation of numerical methods.
Read more >Dual Index Sequencing | Reduce Per-Sample Costs with UDIs
Unique dual indexes allow you to increase the number of samples sequenced per run and reduce per-sample cost compared to other indexing strategies....
Read more >Multiple Entry Indexing and Double Indexing - ResearchGate
entry indexing. Multiple entry indexing is similar to partial indexes ( [9, 10]) in the PostgreSQL DBMS. ... entries for each tuple of...
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 Free
Top 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
@sQVe exactly, you’ll define some root folders and then
destiny
will make each one a fractaldestiny
is in early development stage. The resulting structure thatdestiny
currently outputs is a reflection of some generalization and simplification. I think the next goal is to only rundestiny
on subfolders ofsrc
. Do you agree @benawad?It’s worth noting that the current structure has no implications on a compiler. From a compiler or file system stand point there is a big difference between
index.js
andindex/
.