Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Immutable function returns over collections #591

Open
markfinal opened this issue Jul 18, 2019 · 1 comment
Open

Immutable function returns over collections #591

markfinal opened this issue Jul 18, 2019 · 1 comment
Assignees
Labels
Backlog For reconsideration at a later date enhancement question

Comments

@markfinal
Copy link
Owner

This is for the next major/minor upgrade.
But functions that return lists, if they are really just to iterate over, and not mutate, should be as fast as possible, and indicate immutability.

For example, https://stackoverflow.com/questions/24880268/ienumerable-vs-ireadonlycollection-vs-readonlycollection-for-exposing-a-list-mem/24881237.

@markfinal markfinal added enhancement question Backlog For reconsideration at a later date labels Jul 18, 2019
@markfinal markfinal self-assigned this Jul 18, 2019
@markfinal
Copy link
Owner Author

Is this still valid? A lot of thing changed to IEnumerable<> in 2.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Backlog For reconsideration at a later date enhancement question
Projects
None yet
Development

No branches or pull requests

1 participant