digitalmars.D.bugs - [Issue 3225] New: std.string function name casing
- d-bugmail puremagic.com (30/30) Aug 04 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3225
- d-bugmail puremagic.com (12/12) Aug 04 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3225
- d-bugmail puremagic.com (12/12) Aug 28 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3225
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: -------
Aug 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
09:33:38 PDT ---
thanks
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 04 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
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: -------
Aug 28 2009









d-bugmail puremagic.com 