Welcome to This Week in D! Each week, we'll summarize what's been going on in the D community and write brief advice columns to help you get the most out of the D Programming Language.
The D Programming Language is a general purpose programming language that offers modern convenience, modeling power, and native efficiency with a familiar C-style syntax.
This Week in D has an RSS feed.
This Week in D is edited by Adam D. Ruppe. Contact me with any questions, comments, or contributions.
A long-requested feature got implemented when a patch was merged this week adding file names and line numbers to backtraces printed by D programs on Linux with debug mode enabled. Previously, only addresses were given (which you could convert manually to file and line numbers using the addr2line utility that comes with the C tools).
You will have to compile with the -g option to enable this information.
See more at digitalmars.D.announce.
This week, I want to highlight a tip I wrote about string mixins over on Stack Overflow. The short of it is always use local names in string mixins, avoiding the use of things like T.stringof.
Please see the link for a detailed explanation and example. Also notice the example of an iffy error message in there. A common complaint about D this week has been error messages. I agree a lot of them could use work... but in the mean time, knowing them will help you make quick understanding of them.
To learn more about D and what's happening in D: