[webkit-dev] 'final' class specifier and 'final' method specifier
darin at apple.com
Wed Dec 19 13:52:23 PST 2018
Let’s be clear about what we are discussing.
The choice is not be between “final” and “override”.
The choice is between “final override”, “override final”, and “final” for functions which are both overrides and final.
Sent from my iPhone
> On Dec 19, 2018, at 12:27 PM, Michael Catanzaro <mcatanzaro at igalia.com> wrote:
>> On Wed, Dec 19, 2018 at 1:58 PM, Konstantin Tokarev <annulen at yandex.ru> wrote:
>> Adding override to method which already has final specifier doesn't affect anything,
>> because both final and override may ony be used on virtual methods
> FWIW I prefer override because it's much more clear what that keyword is used for.
More information about the webkit-dev