Thread overview
[Issue 3225] New: std.string function name casing
August 04, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3225

           Summary: std.string function name casing
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: johnch_atms@hotmail.com


Most function names in Phobos use camel casing, but std.string seems to be a mix of all lowercase and camel case. Here's a list of offending functions and their more correct names.

tolower -> toLower
tolowerInPlace -> toLowerInPlace
toupper -> toUpper
toupperInPlace -> toUpperInPlace
iswhite -> isWhite
newline -> newLine
hexdigits -> hexDigits
capwords -> capWords
splitlines -> splitLines
expandtabs -> expandTabs
maketrans -> makeTrans
removechars -> removeChars

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 04, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3225


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei@metalanguage.com
         AssignedTo|nobody@puremagic.com        |andrei@metalanguage.com




--- Comment #1 from Andrei Alexandrescu <andrei@metalanguage.com>  2009-08-04 09:33:38 PDT ---
thanks

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 28, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3225


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |REMIND




--- Comment #2 from Andrei Alexandrescu <andrei@metalanguage.com>  2009-08-28 10:51:52 PDT ---
This makes sense but the names as chosen reflect existing Python and Ruby APIs. I'm not sure how to proceed about this. Thoughts?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------