Closed yuki-kimoto closed 2 years ago
I would also like to see some of what Corinna provides be available outside of Corinna, but not now. Corinna is already the biggest change to Perl since the release of Perl 5 in 1994. Given the size of the MVP, the PSC made it clear that they would not accept it in its current form due to the risks it presents. Thus, the MMVP was created. While the steering council is aware that some changes may need to be made to address unforeseen issues, expanding the scope of the MMVP (especially for an untested feature) is violating what the council requested.
Sorry for that. Once the MMVP is released (maybe by 38?) and people can start playing around with it for a while, we'll have a better understanding of what our real needs are and we could potentially revisit this issue.
Is it possible to adjust the class syntax so that the method keyword works with existing codes?
Examples of existing codes:
Examples of existing codes with the class syntax:
I'm glad this is OK (OK means this code works well and the redefine warning doesn't occur).
A sample implementation is shown in pseudo code(this is an idea).
Is it possible to adjust the class syntax so that the method keyword works with existing codes?
Benefit
The benefit is that all existing codes use the class syntax and the method syntax with a little fix.