www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19135] New: std.json : JSON_TYPE does not match D Style.

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 puremagic.com
          Reporter: default_357-line 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.

--
Aug 02 2018