Bug 227766 - Code Style Guidelines: Don't precede functions returning values with "get"
Summary: Code Style Guidelines: Don't precede functions returning values with "get"
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Website (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-07-07 13:17 PDT by Fujii Hironori
Modified: 2021-07-14 13:18 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.07 KB, patch)
2021-07-07 13:39 PDT, Fujii Hironori
Hironori.Fujii: review?
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2021-07-07 13:17:13 PDT
Code Style Guidelines: Don't precede functions returning values with "get"

(In reply to Darin Adler from comment bug#227502 #21)
> (In reply to Fujii Hironori from comment bug#227502 #18)
> > I think the guildline rules getters, but not free functions.
> 
> Good point about how the guideline is written.
> 
> The intention was to apply the rule to all functions, but the guidelines are
> not written that way. I agree that we should revise the guidelines at some
> point.
Comment 1 Fujii Hironori 2021-07-07 13:18:07 PDT
See bug#227502 comment#21
Comment 2 Fujii Hironori 2021-07-07 13:39:38 PDT
Created attachment 433067 [details]
Patch
Comment 3 Radar WebKit Bug Importer 2021-07-14 13:18:24 PDT
<rdar://problem/80593452>