Hacker News new | ask | show | jobs
by Dirlewanger 2018 days ago
>Ruby 3

Oh shit, I didn't realize that that's the scheduled Christmas release. Finally, all strings frozen by default!

1 comments

Ruby 3.0 will not have frozen strings by default:

https://bugs.ruby-lang.org/issues/11473#note-53

I still can't believe they changed their mind about this. It's the cause of so many bugs and security issues.
I was hoping to remove this line from almost every file in a few projects at work:

    # frozen_string_literal: true