[Issue 19135] New: std.json : JSON_TYPE does not match D Style.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 2 07:00:59 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19135
Issue ID: 19135
Summary: std.json : JSON_TYPE does not match D Style.
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: default_357-line at yahoo.de
std.json.JSON_TYPE is not conformant with the D Style Guidelines
https://dlang.org/dstyle.html :
* The names of user-defined types should be PascalCased
* The members of enums should be camelCased, so their first letter is
lowercase.
* If a name would conflict with a keyword, and it is desirable to use the
keyword rather than pick a different name, a single underscore ‘_’ should be
appended to it. Names should not be capitalized differently in order to avoid
conflicting with keywords.
--
More information about the Digitalmars-d-bugs
mailing list