Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
August 24, 2010 [Issue 4718] New: Few Phobos modules renames | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4718 Summary: Few Phobos modules renames Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2010-08-23 17:36:17 PDT --- There are some Phobos modules that, for different reasons, I'd like to see renamed: std.stdio => std.io (commonly used, shorter, remove useless duplication of std). std.bitmanip => std.bits (because bitmanip is a not nice abbreviation). std.cover => std.coverage (not commonly used, to remember its purpose better). std.regex/std.regexp => std.re (is enough, as in Python) std.traits => std.meta -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 24, 2010 [Issue 4718] Few Phobos modules renames | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=4718 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2010-08-23 18:02:32 PDT --- > std.stdio => std.io (commonly used, shorter, remove useless duplication of > std). Although I agree, this would invalidate pretty much all of the examples in TDPL (not to mention blow up the errata). If it were renamed, it would be good to introduce an alias to std.io in one way or another. > std.regex/std.regexp => std.re (is enough, as in Python) std.regex is fine imo. But why are there two modules? > std.traits => std.meta This is voted here: http://d.puremagic.com/issues/show_bug.cgi?id=3702 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 24, 2010 [Issue 4718] Few Phobos modules renames | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=4718 --- Comment #2 from bearophile_hugs@eml.cc 2010-08-23 18:10:39 PDT --- > Although I agree, this would invalidate pretty much all of the examples in TDPL I think Andrei agrees with me about this change. I think Walter doesn't agree. I have written this bug report to have a place where to focus this (vague) discussion, regardless the final name decisions. Until a book on Phobos is done (and maybe Andrei is writing it) Phobos is more free to change. > But why are there two modules? I think one of them is deprecated and will be removed, hopefully soon. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 24, 2010 [Issue 4718] Few Phobos modules renames | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=4718 Masahiro Nakagawa <repeatedly@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |repeatedly@gmail.com --- Comment #3 from Masahiro Nakagawa <repeatedly@gmail.com> 2010-08-23 20:48:09 PDT --- (In reply to comment #1) > > > std.regex/std.regexp => std.re (is enough, as in Python) > > std.regex is fine imo. But why are there two modules? > std.regexp is old implementation(as bearophile says, this module is deprecated). std.regex is Range-based implementation by Andrei. See also: http://lists.puremagic.com/pipermail/digitalmars-d/2009-February/050338.html -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 24, 2010 [Issue 4718] Few Phobos modules renames | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=4718 Austin Hastings <ah08010-d@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ah08010-d@yahoo.com --- Comment #4 from Austin Hastings <ah08010-d@yahoo.com> 2010-09-24 08:36:58 PDT --- std.stdio -> std.io : I disagree. I know what "io" means, and stdio is the opposite of it. There is an <io.h> and a <stdio.h> and they are different. std.bitmanip -> .bits: Ambivalent. Shorter is not better, but there is a bunch of stuff in this file - bitfields, bitwise access to floats, bit vectors. Bits is a "truer" name than bitmanip, in this case, but it still isn't a very good name. The file probably needs to be split up. std.cover -> .coverage: strongly agree. std.regex -> .re : disagree. Regex is more searchable than "re", and a little more newbie-friendly. std.traits -> .meta: This is another case where a bunch of stuff needs to be reorganized. There's a lot type-related stuff that should maybe get re-shuffled, either together or apart. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 24, 2010 [Issue 4718] Few Phobos modules renames | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=4718 --- Comment #5 from bearophile_hugs@eml.cc 2010-09-24 09:46:14 PDT --- See also this post by L. T. Kyllingstad, "Phobos has way too many modules" : http://article.gmane.org/gmane.comp.lang.d.phobos/2472 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 30, 2011 [Issue 4718] Few Phobos modules renames | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=4718 --- Comment #6 from bearophile_hugs@eml.cc 2011-06-30 15:15:36 PDT --- KennyTM~: > But std.cover no longer exists in D2. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation