3 ms·
Ruby dev since early 00's. WTF. There's #frozen. It signals something is immutable. Why add another type this late into the game, add complexity, do it a comple
by sacnoradhq 4y ago
Ruby dev since early 00's. WTF. There's #frozen. It signals something is immutable. Why add another type this late into the game, add complexity, do it a completely different way, and break everything that came before with this unnecessary shit?
- debaserab2 4y agoer... whats #frozen?
- psychoslave 4y agoI guess it refers to {ENV,Module,Object,String}#freeze and #frozen. - https://ruby-doc.org/core-3.1.1/Object.html#method-i-freeze https://ruby-doc.org/core-3.1.1/Object.html#method-i-freeze - https://www.rubyguides.com/2016/01/ruby-mutability/ https://www.rubyguides.com/2016/01/ruby-mutability/
- JohnBooty 4y agobreak everything that came before How is this breaking anything, let alone everything? I'm not sure I see the value of Data either, but I also don't see how it breaks anything. One of us is severely misunderstanding it.