Bug 45367

Summary: Find a better word than optional for getters that can return null
Product: WebKit Reporter: Sam Weinig <sam>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, arv
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Sam Weinig
Reported 2010-09-07 22:59:12 PDT
We should think up a better word than optional for getters that can return null (see Element::dataset and Element::optionalDataset). This word has been used in a few places, but we should do better. Some ideas from Maciej include: nullableDataset? maybeDataset? datasetIfExists? datasetNoCreate?
Attachments
Erik Arvidsson
Comment 1 2010-09-08 10:46:07 PDT
"nullable" and "maybe" were the first ones that came to my mind when reading the other bug.
Note You need to log in before you can comment on or make changes to this bug.