October 14, 2013
Thanks everyone for your comments.
I went ahead and ordered TDPL.

But could anyone give me a concrete example, how Tango was better than Phobos and what improved now? I just would like to see what the main differences were and so on ..... just something short :)
October 14, 2013
First of all, "Learn to Tango with D", while being a very good book (I
have it right here on my bookshelf) is rather old at this point, much
older than "The D Programming Language". It's based on D1, which
is mostly outdated and replaced by D2 at this point.

On Mon, 14 Oct 2013 23:12:56 +0200
"alex" <alessino@gmail.com> wrote:
> So Tango replaced Phobos, just to be replaced by Phobos later?
> 
> What are/were the fundamental differences? Why two libraries? This admittedly kind of confused me :-D

Phobos has always been the "official" standard library.
Historically (for D1), Tango *was* an incompatible alternate standard
library (and very good for its time) created at a time when Phobos was
still severely underdeveloped.

That rift and incompatibility was a big PR disaster for D (and confused basically everybody new to D), so now, for D2, the incompatibility has been fixed: Tango is simply an optional third party library now, just like any other, that does NOT conflict with Phobos. And Phobos itself has grown considerably so there's no longer a need for a full replacement.

That's all historical information, though. Bottom line, Phobos is the standard library. Tango is an optional third party library like any other, which you can use, or not, however you wish.

October 14, 2013
On Monday, 14 October 2013 at 21:47:39 UTC, Nick Sabalausky wrote:
>
> That's all historical information, though.

History very often helps to understand the present :)

Thanks for the insight, especially concerning "Tango with D"
October 15, 2013
On Mon, 14 Oct 2013 23:41:10 +0200
"alex" <alessino@gmail.com> wrote:

> Thanks everyone for your comments.
> I went ahead and ordered TDPL.
> 
> But could anyone give me a concrete example, how Tango was better than Phobos

Tango had things and features and stuff to use. Phobos...didn't. Phobos had things like writeln and not a whole lot else.

> and what improved now?

Phobos has useful stuff to use now ;)

> I just would like to see what the main differences were and so on ..... just something short :)

At this point I'd say the main difference is that Tango is very Java-like where everything involves using a plethora of modules and classes, whereas Phobos is very simple and straightforward to use.

1 2
Next ›   Last »