Variables
I had nothing better to do and started inventing a variable factory from where you can request variables of certain specifics.
I have the obstinate
variable, that returns false if you try to set it with the value it already has.
And I have the reluctant
variable that don’t use the value you set it to until the next time you ask for the value.
rel.val = 12
p rel.val # => nil
p rel.val # => 12
rel.val = 'olle'
p rel.val # => 12
p rel.val # => 'olle'
The obstinate variable I can see some use for.. but any case I can think of for the reluctant variable is just bad coding.
(I also have the polyform
variable..)