Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put dimension parameters first #19

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

HarrisonMc555
Copy link
Owner

There are several methods that can be used to create a new Array2D. In the past, these have typically had the "source" (iterator, generator function, etc.) first, followed by the dimensions. However, this can make the source code somewhat awkward if, for example, you use a closure that ends up being moderately large. These functions now put the dimensions first, which makes the "source" parameter last.

There are several methods that can be used to create a new
`Array2D`. In the past, these have typically had the "source"
(iterator, generator function, etc.) first, followed by the
dimensions. However, this can make the source code somewhat awkward
if, for example, you use a closure that ends up being moderately
large. These functions now put the dimensions first, which makes the
"source" parameter last.
@HarrisonMc555 HarrisonMc555 force-pushed the rearrange-parameters branch from 6103137 to 8213b40 Compare May 21, 2024 03:58
@HarrisonMc555 HarrisonMc555 merged commit ab64d6f into master May 21, 2024
1 check passed
@HarrisonMc555 HarrisonMc555 deleted the rearrange-parameters branch May 21, 2024 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant