November 16, 2010 Re: std.regexp vs std.regex [Re: RegExp.find() now crippled] | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Steve Teale | Steve Teale:
> The current system, where modules of the library can get arbitrarily deprecated and at some point removed because they are unfashionable, is very unfriendly.
We are in the initial phase of Phobos develpment, so frequent large changes are expected. Surely one year from now Phobos will be more careful in its changes.
The other things you have said are too much silly to comment.
And thank you to Andrei to the improvements to the D regex API, I'd love to see other good people give other similar improvements to Phobos :-) We must be grateful with Andrei for improving that API.
Bye,
bearophile
| |||
November 17, 2010 Re: std.regexp vs std.regex [Re: RegExp.find() now crippled] | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Steve Teale | On Tue, 16 Nov 2010 14:24:32 -0500, Steve Teale <steve.teale@britseyeview.com> wrote: > Steven Schveighoffer Wrote: > >>> >> I'm guessing you are referring to php's pcre vs posix regex? I think >> posix is marked as deprecated... >> > Steve, > > No. I just meant that the library that comes with PHP seems happy to provide different ways of doing the same thing, as in for example, CURL, DOMDocument, and standard file operation wrappers. I don't know much about php's lib because I haven't used it enough to know the tendencies of library acceptance. But two different APIs for doing regex strike me as way more overlapping than CURL and file operation wrappers. > I've been following D on and off for about seven or eight years now, so I don't subscribe too much to the 'when it's finished' argument. By now, it needs to work for real projects. D2 is much younger than that. D1 is complete (to use the term loosely), if you want to use that, its API will not change. There are quite a few projects using D1 for real work (I wrote one a few years ago). D2 is changing monthly, to the point where newer versions of phobos require newer versions of the compiler due to compiler bugs fixed or features added. I can't see how it can be considered finished. Don has recently brought up on the mailing list that we should identify the status of each module in the ddoc so people can understand the plans for that module before basing their work on it. I can see how spending lots of time working with something only to have it disappear can be hugely frustrating. -Steve | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply