@yukihiro_matz So you need the magic comment in Ruby 3.0 to get frozen strings?
-
-
Replying to @yukihiro_matz
@yukihiro_matz This could become like Python 3. It can break gems that mutate strings (gsub! even) and will be hard to track down.3 replies 1 retweet 2 likes -
Replying to @yukihiro_matz
@yukihiro_matz old programs, but not old gems.1 reply 0 retweets 1 like -
Replying to @wycats
@yukihiro_matz most programs have dozens or hundreds of third party dependencies.2 replies 0 retweets 1 like -
Replying to @wycats
@yukihiro_matz and a gem returning an immutable string may be fine in isolation, but when passed to another gem,
3 replies 0 retweets 1 like -
Replying to @wycats
@yukihiro_matz in other words, gems don't say "I take a mutable string", they say "I take a string", so the problems will be subtle.3 replies 1 retweet 0 likes -
Replying to @wycats
@wycats@yukihiro_matz This shows that it’s not that a hard work to upgrade existing libraries.1 reply 0 retweets 0 likes -
Replying to @a_matsuda
@a_matsuda@yukihiro_matz it's not always trivial to understand interactions between many libs.2 replies 0 retweets 0 likes
@wycats @a_matsuda @yukihiro_matz See also: NPM. :trollface:
-
-
Replying to @sgrif0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.