https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112019-11-13T13:31:45ZRuby Issue Tracking SystemRuby master - Feature #16347: InmutableObjecthttps://redmine.ruby-lang.org/issues/16347?journal_id=826762019-11-13T13:31:45ZHanmac (Hans Mackowiak)hanmac@gmx.de
<ul></ul><p>i don't think "Functional Programming" works the way you think in ruby.</p>
<p>in Ruby everything is an Object so it is always OOP, even your FP is just fake with OOP</p>
<p>to make an object not changeable you might freeze it after you created it. (or even deep freeze it for all the attributes and instance variables too?)</p>
<p>for Immutable + Ruby i found this:<br>
<a href="https://www.rubypigeon.com/posts/a-review-of-immutability-in-ruby/" class="external">https://www.rubypigeon.com/posts/a-review-of-immutability-in-ruby/</a></p> Ruby master - Feature #16347: InmutableObjecthttps://redmine.ruby-lang.org/issues/16347?journal_id=826932019-11-15T20:39:47Zdvarrui (David Vargas)dvarrui@gmail.com
<ul></ul><p>Thanks!<br>
Good document.</p>
<p>I didnt know deep_freeze. Its nice!</p> Ruby master - Feature #16347: InmutableObjecthttps://redmine.ruby-lang.org/issues/16347?journal_id=826942019-11-15T20:41:02Zdvarrui (David Vargas)dvarrui@gmail.com
<ul></ul><p>dvarrui (David Vargas) wrote:</p>
<blockquote>
<p>Thanks!<br>
Good document.</p>
<p>I didnt know deep_freeze. Its nice!</p>
</blockquote> Ruby master - Feature #16347: InmutableObjecthttps://redmine.ruby-lang.org/issues/16347?journal_id=956042021-12-23T23:44:00Zhsbt (Hiroshi SHIBATA)hsbt@ruby-lang.org
<ul><li><strong>Project</strong> changed from <i>14</i> to <i>Ruby master</i></li></ul>