standard library vs standard interfaces

Lionello Lunesu lio at lunesu.remove.com
Mon Jan 22 00:19:30 PST 2007


Kyle Furlong wrote:
> Lionello Lunesu wrote:
>> "Hasan Aljudy" <hasan.aljudy at gmail.com> wrote in message 
>> news:ep0kmq$1csj$1 at digitaldaemon.com...
>>
>>> According to my last char with them on their irc (about 3 weeks ago), 
>>> Tango doesn't conform to Phobos' interface; which is really 
>>> unfortunate IMO.
>>
>> I agree.. It makes a switch to Tango unnecessarily complicated.
>>
>> L.
>>
> 
> On the other hand, Tango was designed from the ground up to have a 
> coherent, logical interface. Perhaps it should be the standard that 
> *Phobos* has to conform to? :-)

In an ideal world, yes :)

The problem is, even if I'm using Tango, I'd have to fix third-party 
code using Phobos to get it to compile. I think that's a real pity.

What's more, there's no real need for this. Tango and Phobos should be 
able to coexist. What's important is that Tango does not depend on 
Phobos (and the other way around).

For example: toString became toUTF8. It may be more logical, but I don't 
think it solves any problems and it might create a new one: compatibility.

L.



More information about the Digitalmars-d mailing list