[Webkit-unassigned] [Bug 192844] New: Update code style guidelines for using 'final' specifier for all classes which has no derived classes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 18 21:42:49 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=192844

            Bug ID: 192844
           Summary: Update code style guidelines for using 'final'
                    specifier for all classes which has no derived classes
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Website
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com
                CC: jond at apple.com

Update code style guidelines for using 'final' specifier for all classes which has no derived classes

It seems a good practice to mark all non-base classes with 'final' specifier.

(In reply to Darin Adler from bug #165903 comment #3)
> Another thing that would be nice to do would be marking more classes final.
> Lots of these classes seem to be final. Any class that has no classes
> deriving from it should probably get marked that way. We can always remove
> it later if we want to derive a class from it.

Bug 136540 – Make hash table classes final

Bug 159802 – Add final keyword to WebCore/svg classes

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181219/a070591d/attachment.html>


More information about the webkit-unassigned mailing list