noob string concatenation help.
Georg Wrede
georg at nospam.org
Wed May 9 04:26:42 PDT 2007
Frits van Bommel wrote:
> anupam kapoor wrote:
>
>> is there a strict one-to-one relationship between libphobos and D
>> releases i.e.
>> libphobos-ver-X goes _only_ with d-version-X ? it does feel a bit odd
>> to have that kind of restriction though.
>
> You can probably use "close" Phobos versions most of the time, but
> sometimes incompatibilities are introduced. For this reason it's
> typically best to just use the Phobos version corresponding to your DMD
> version, unless you have a good reason not to.
I'd say one should *never* use anything but the compiler's own libphobos
version.
(While some gurus might get away with it, some of the time, I can see no
reason even for them to do it. It's simply asking for trouble.)
Especially when one is learning the language (whether a noob or a
20-year C++ guru), the wrong version would be simply another place
causing unexpected behavior. And even worse if it "seems to work" in the
beginning. Then one forgets about having a wrong version, and people
trying to help here probably can't always guess it's a version problem.
Even if they could, it'd waste everybody's time.
Certainly, Walter has never promised to even think about anybody using
"a wrong libphobos version". This means that subtle changes can and will
be introduced whenever needed, and most of the time they aren't
explained in the changelog. Only some of the bigger things are.
More information about the Digitalmars-d-learn
mailing list