by ferdterguson · 9y ago · 0 comments
This is especially true if your functions if you have a bunch of functions that do this and they aren't really useful for anything else.
But what if I don't want to mutate the source data? I always wind up writing classes that are largely immutable, and it seems wrong from an OOP perspective. Is there a correct way to marry immutable data with OOP?