Bradley Schaefer
- 1y ·
-
Public·
-
ruby.social
> I think you should be defining all these value constants as methods
That’s interesting. I can see that for a lot of constants, but not for ones that depend on identity like `Object.new`
I had a good conversation recently about how a Class is modified by being assigned to a constant - that’s a spooky behavior.