An optimization technique where function calls are cached to avoid duplicate computations.
2
votes
0answers
39 views
Making a default value a property
I recently asked a question on StackOverflow, looking for a way to more easily turn a class attribute into a @property, but only if no other value has been provided ...