General

Profile

headius (Charles Nutter)

Issues

Projects

Activity

09/28/2019

04:33 AM Ruby master Feature #16150: Add a way to request a frozen string from to_s
> Not exactly, -@ and +@ makes this much simpler
I do like the unary operators, but they also have some precedence...
headius (Charles Nutter)

09/26/2019

11:53 PM Ruby master Feature #16150: Add a way to request a frozen string from to_s
Oh I should point out another problem with the current situation...
```ruby
some_str.to_s.freeze
```
The abov...
headius (Charles Nutter)
11:49 PM Ruby master Feature #16150: Add a way to request a frozen string from to_s
> But granted that this now cause this somewhat weird situation where to_s might or might not return a frozen string.... headius (Charles Nutter)
09:39 PM Ruby master Feature #16150: Add a way to request a frozen string from to_s
I'm glad to see some smaller parts of this are moving forward. A few updates from my end (JRuby):
* Frozen strings...
headius (Charles Nutter)

09/19/2019

01:26 PM Ruby master Feature #16131: Remove $SAFE, taint and trust
I look forward to removing all tainting logic! headius (Charles Nutter)
03:52 AM Ruby master Feature #11473: Immutable String literal in Ruby 3
> Is there a reason why the existing frozen-string-literal: false is not good enough?
My understanding of `frozen-...
headius (Charles Nutter)

09/18/2019

01:00 AM Ruby master Feature #11473: Immutable String literal in Ruby 3
> This depends on the ruby code. Some projects will be semi-dormant due to various reasons.
That's for us to addre...
headius (Charles Nutter)

09/17/2019

04:28 PM Ruby master Feature #11473: Immutable String literal in Ruby 3
I regret missing this "final" decision, but I believe we should reconsider.
> I am sure introducing this could cau...
headius (Charles Nutter)

09/08/2019

02:19 AM Ruby master Feature #16150: Add a way to request a frozen string from to_s
> For example, String#to_s returns itself and mutating sth.to_s is therefore not safe if sth can be a String.
This...
headius (Charles Nutter)

09/07/2019

08:51 AM Ruby master Feature #16150: Add a way to request a frozen string from to_s
Another idea: #to_z headius (Charles Nutter)

Also available in: Atom