Filtering
Published onFiltering a list can be done in-place just fine. You wouldn’t use an immutable list because you need to filter it, you’d use it because to need to retain the original along with a filtered copy.
Filtering a list can be done in-place just fine. You wouldn’t use an immutable list because you need to filter it, you’d use it because to need to retain the original along with a filtered copy.