Scope operator like in C++?

TimK qwesxrfvzgb at web.de
Tue Mar 23 05:06:59 PDT 2010


== Quote from Steven Schveighoffer (schveiguy at yahoo.com)'s article
> Second, GDC is horrifically old.  I'd recommend switching to ldc or the
> latest dmd 1.

Unfortunately I'm using Debian Stable 64 Bit right now and switching to either of
those is out of the question (at least for now). Maybe I'll upgrade to Squeeze
(and the LLVM compiler) soon.
Anyway, thanks for the input, I'll keep that in mind if something won't work.


> The D compiler has a builtin documentation
> generator, so someone trying to use your functions will want to turn to
> that instead (much easier to read), and maintenance on two files that have
> to always be in sync is sucky to say the least.
> For an example of what really good generated docs look like, see tango's
> docs: http://www.dsource.org/projects/tango/docs/current
> My recommendation is to simply build your code inline, just like Java and
> C#, and use the doc generation tools to document your functions.  It will
> take some getting used to, but I think you will appreciate the
> single-point-of-editing aspect of it.

Oh, I didn't know that D had a builtin documentation generator... Well if the
documentation will look like that then reading the class itself would become
useless anyway.
Guess I'll use that :)


Thank you for your fast reply.

Regards,
Tim



More information about the Digitalmars-d mailing list