nunomaduro,
@nunomaduro@mastodon.social avatar

It is unlikely that the RFC for "interface default methods" will be accepted, and that's perfectly alright! If a feature does not gain widespread acceptance, it is best to not have it in the language. https://wiki.php.net/rfc/interface-default-methods

hugot,

@nunomaduro isn't this what abstract classes are for?

alessandrolai,
@alessandrolai@phpc.social avatar

@hugot @nunomaduro with an abstract class you're locked into inheritance, but not with an interface

shaedrich,
@shaedrich@mastodon.online avatar

@alessandrolai @hugot @nunomaduro PHP has its reasons why it doesn't have multiple inheritance. So this looks like kind of a hack to me.

Girgias,
@Girgias@phpc.social avatar

@nunomaduro I'd argue the issue is more how close to feature freeze this is being proposed/voted on rather than the feature itself.

But who knows with internals.

ramsey,
@ramsey@phpc.social avatar

@Girgias @nunomaduro I think this is it. There’s so much back channel discussion going on right now, which means we didn’t really discuss it enough on the mailing list. I’m at fault for not paying attention and raising issues, when it was time to do so.

The good news is that, if it fails this time around, we can take more time with it and vote on it again for 8.4.

Girgias,
@Girgias@phpc.social avatar

@ramsey @nunomaduro I mean, same here. I was busy with pushing (some of) my own RFCs over the line.

But then also there are others (e.g. function autoloading) I/we decided to postpone because it's not like rushing something in is going to make it better.

Now, I do find the release process of a PHP version ridiculously long (alpha 1 is in June and RC is end November/December, that's 6 months...)

ramsey,
@ramsey@phpc.social avatar

@Girgias @nunomaduro I think we could cut out a couple RCs and an alpha and beta, maybe.

timwolla,
@timwolla@phpc.social avatar

@Girgias @nunomaduro Yeah, there are currently 6 votes in progress (which are approximately 4 too many) and that proposal is certainly sufficiently non-trivial to warrant careful consideration.

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