[webkit-dev] Coding convention of constants
KwangYul Seo
kwangyul.seo at gmail.com
Wed Jul 8 21:06:35 PDT 2009
Hi,
It seems that there are three coding styles regarding "static const int"
constants.
[1] rendering/RenderImage.cpp
static const int maxAltTextWidth = 1024;
static const int maxAltTextHeight = 256;
[2] rendering/RenderVideo.cpp (prefixed with c)
static const int cDefaultWidth = 300;
static const int cDefaultHeight = 150;
[3] storage/SQLTransaction.cpp (start with a capital letter)
static const int DefaultQuotaSizeIncrease = 1048576;
http://webkit.org/coding/coding-style.html
WebKit Coding Style Guidelines does not mention this issue.
All 3 styles are acceptable?
Regards,
Kwang Yul Seo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090709/9dc62197/attachment.html>
More information about the webkit-dev
mailing list