There are three kinds of actuaries: those who can count, and those who can't.
Piet Souris wrote:My worry with these things is that if you work with immutable collections, that you get a lot of them while doing the stuff.
Piet Souris wrote:The problem with java is that when you mutate a collection, you get a boolean instead of the mutated collection.
There are three kinds of actuaries: those who can count, and those who can't.
Junilu Lacar wrote:
Piet Souris wrote:My worry with these things is that if you work with immutable collections, that you get a lot of them while doing the stuff.
I'm fairly confident that with languages that have garbage collection, working with immutable collections in a function like fold() is not an issue. Immutability is a cornerstone of functional programming, so any language that supports functional programming constructs would presumably find a way to make reasonable optimizations.
Don't get me started about those stupid light bulbs. |