Skip to content

Calculating min distance between two jagged arrays having different jagged structures #1190

Answered by jpivarski
fleble asked this question in Q&A
Discussion options

You must be logged in to vote

On the larger point of what's easier, for-loops or array-oriented expressions, that's something I've been thinking about since the beginning (my original plans, before 2018, presumed that users would only want explicit loops, albeit in functional map/reduce form). Generally speaking, some things are easier to read (and construct) in an array-oriented way, others are easier with explicit loops. None of this is about what's easier for the computer, it's entirely about what fits with the human mind, and everybody has different subjective ideas about "easy" and "hard." Sometimes it's due to background—what you're more familiar with is going to look easier—but that's not 100% of it: there are …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fleble
Comment options

Answer selected by fleble
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants