Difference between revisions of "Cookbook"

From D Wiki
Jump to: navigation, search
m (Building)
m (Recipes and Examples)
Line 28: Line 28:
== Math ==
== Math ==
* [[A custom data type with overloaded operators]]
* [[Custom data type with overloaded operators]]
== Meta Programming ==
== Meta Programming ==
* [[A small and simple compile-time DSL]]
* [[Small and simple compile-time DSL]]
<!--------></td><td style="vertical-align: top; width: 50%;">
<!--------></td><td style="vertical-align: top; width: 50%;">

Revision as of 13:30, 24 November 2012

The Cookbook is a community-created collection of practical examples, guides and advice for accomplishing common tasks in D. Here you can find knowledge and insight based on experience and "what works".

One should keep in mind that, while the goal of the Cookbook is certainly to establish best-practices and inspire developers to write proper D code, it also strives to help get things done, and as such may take a more pragmatic approach than normal documentation. The Cookbook is not a short-cut to learning D. The reader is adviced to read the official D documentation as well.

Guides and Advice


Data Handling

Recipes and Examples



Meta Programming


Strings and Text