Since Ruby 3.4 freezes strings by default, can we drop # frozen_string_literal: true? #10
Unanswered
aristotelesbr
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm adding support for ruby 3.3+, but maybe we should just go ahead and force 3.4+? 🤔 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With Ruby 3.4, string literals are now frozen by default, even without # frozen_string_literal: true. Given that, do you think it still makes sense to keep this comment in the code? Or maybe it’s time to remove it and simplify things a bit? What do you think?
Beta Was this translation helpful? Give feedback.
All reactions