December 10, 2004 Re: What do you love about D? Hate? (OT - Phobos) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Yea that is cool hadn't thought of it that way. ( but i still think phobos shouldnt have any conflicts :D ). Sean Kelly and the Ares crew are making some serious headway with a re-organized phobos at http://www.dsource.org/forums/viewforum.php?f=31& , looks very promising! Charlie In article <co8gkp$1p92$1@digitaldaemon.com>, Walter says... > > >"Charlie" <Charlie_member@pathlink.com> wrote in message news:cnua47$1u8f$1@digitaldaemon.com... >> And I've really grown to like the import system , but I think its a sign >of bad >> design when i cant import std.c.stdlib and std.random w/o conflicts ( >function >> rand() conflicts ). Maybe phobos's rand() should be renamed to random() , >or >> the std.c.stdlib needs to be renamed. I think all of phobos should be >conflict >> free. > >If they are accessed as std.c.stdlib.rand() and std.random.rand(), there isn't a conflict. That's the beauty of using modules instead of #include, you don't have to give everything a unique name across the board. > > |
Copyright © 1999-2021 by the D Language Foundation