[Webkit-unassigned] [Bug 216761] New: Need a better name for Gigacage::Config, WTF::Config, and JSC::Config.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 20 23:11:58 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=216761
Bug ID: 216761
Summary: Need a better name for Gigacage::Config, WTF::Config,
and JSC::Config.
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mark.lam at apple.com
Both Darin and Sam Weinig has asked me about the naming of these Config records before. Everyone agrees that the current name is not great. What we don't have yet is a better name we can use.
The Config records have the following properties:
1. They hold values that are mutable at initialization time.
2. These values are frozen at some point before any scripts are executed, and are read-only after the point of freezing.
I had considered ConstData or ReadOnlyData, but those are inaccurate with respect to property (1). They are currently named Config (short for configuration) because they hold values they configures the behavior of the system in one way or another. This is not a requirement for what can be placed in these records though. The only requirement is that the values in them can be permanently frozen before the system starts executing scripts.
Some possible option for an alternative name might be ReadOnlyLateData or LateReadOnlyData. These are still not ideal.
I kind of prefer something like IcedData as in data that has been frozen, although "ice" is not a commonly used term in coding circles. IcedData is short and strongly hints at the properties of the data. Any thoughts?
--
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/20200921/3f7d0c81/attachment-0001.htm>
More information about the webkit-unassigned
mailing list