Phobos.testing

div0 div0 at users.sourceforge.net
Sat Oct 10 16:31:37 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

dsimcha wrote:
> I've noticed that it's somewhat difficult to get code into Phobos.  This is
> somewhat understandable--noone wants a standard library full of buggy code
> that noone understands.  On the other hand, it doesn't seem like there's a
> very well-organized process for getting stuff into Phobos if you're not a main
> contributor.
> 
> Should something like a Phobos.testing lib be created?  Such a project would
> be an area of dsource.  The bar for getting stuff checked into here would be
> relatively low.  If you write a module and check it into phobos.testing, it
> indicates that you believe that it would be generally useful enough to go into
> Phobos and are posting it for review/comment/other people to use with the
> caveat that it might not be well tested yet.  This dsource project would use
> its own forums to comment on the code and debate about what does and doesn't
> belong in Phobos.  Every release, Andrei would pick off the best well-tested,
> well-reviewed community-created feature and add it to the "real" phobos.

Sounds like a good idea.

At the mo, my biggest annoyance with D is the lack of a decent set of
container classes in Phobos. Considering how D is supposed to be a
superior c++, not having equivalents of the stl containers is a gob
smackingly stupid omission.

I'd be happy to port all of stl to D if it would be used and tested,
though it would be better if it was redesigned with Andrei's ranges.

> Overall, the point is that there should be a well-defined process for getting
> code into Phobos and a well-defined place to post this code and comment on it.
>  Bugzilla probably doesn't cut it because it's not easy to download, compile
> and test lots of different snippets of code from here.

Yeah, bugzilla sucks ass.

I hate not being able to browse it; you have to search and search only
works if you happen to think in the same words as the person that files
a bug.

- --
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK0RlZT9LetA9XoXwRAstJAKCbJ/RjR/fApG3C+nB5Puc91JnHEwCg0jie
jKvE3ScAAD3FPPKig33NK4A=
=Shgw
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list