tenderlove,
@tenderlove@mastodon.social avatar

Worked more on optimizing delegates with @jhawthorn today. There are more edge cases that I thought there would be (of course), but I'm testing it in work CI rn. Anyway, I really hope we can land this in Ruby 3.4 (I'm confident we can)

josephholsten,
@josephholsten@mstdn.social avatar

@tenderlove @jhawthorn Oh, I thought maybe you were working on making stdlib forwardable or delegator things that regular ruby users would use. But that’s good too!

(Is it yet time to finally deprecate delegator? I am skeptical anyone ever used it, except JEG2 when writing the doc.)

tenderlove,
@tenderlove@mastodon.social avatar

@josephholsten @jhawthorn Rails uses SimpleDelegator (I found while working on these patches 😅). Delegate methods seem to be pretty popular internally to Rails, though most of them are using Rails' own delegate

junkman,
@junkman@mastodon.social avatar

@tenderlove @jhawthorn what?! Looks like a giant leap

tenderlove,
@tenderlove@mastodon.social avatar

@junkman @jhawthorn thanks! Hopefully it will be

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • rosin
  • thenastyranch
  • osvaldo12
  • cubers
  • InstantRegret
  • DreamBathrooms
  • cisconetworking
  • magazineikmin
  • Youngstown
  • Durango
  • mdbf
  • slotface
  • ngwrru68w68
  • kavyap
  • JUstTest
  • tacticalgear
  • modclub
  • khanakhh
  • anitta
  • ethstaker
  • tester
  • everett
  • GTA5RPClips
  • normalnudes
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines