Difference between revisions of "Cookbook"

From D Wiki
Jump to: navigation, search
m
m (reduce whitespace; remove notice)
Line 10: Line 10:
 
<!--------></td></tr></table>
 
<!--------></td></tr></table>
  
<div style="background: #eee; padding: 1ex 1em;">
+
 
= Guides =
+
<div style="background: #eee; padding: 0.5ex 0.5em;">
 +
== Guides ==
 
<!--=======================-->
 
<!--=======================-->
 
</div>
 
</div>
<!--------><table cellspacing="20" width="100%"><tr><td style="vertical-align: top; width: 50%;">
+
<!--------><table cellspacing="10" width="100%"><tr><td style="vertical-align: top; width: 50%;">
  
== Compiler ==
+
=== Compiler ===
 
* [[Checklist for optimal portability and performance]]
 
* [[Checklist for optimal portability and performance]]
  
 
<!--------></td><td style="vertical-align: top; width: 50%;">
 
<!--------></td><td style="vertical-align: top; width: 50%;">
  
== Data Handling ==
+
=== Data Handling ===
 
* [[When to use const and immutable]]
 
* [[When to use const and immutable]]
  
Line 27: Line 28:
  
  
<div style="background: #eee; padding: 1ex 1em;">
+
<div style="background: #eee; padding: 0.5ex 0.5em;">
= Recipes =  
+
== Recipes ==
 
<!--=======================-->
 
<!--=======================-->
 
</div>
 
</div>
<!--------><table cellspacing="20" width="100%"><tr><td style="vertical-align: top; width: 50%;">
+
<!--------><table cellspacing="10" width="100%"><tr><td style="vertical-align: top; width: 50%;">
  
== Building ==
+
=== Building ===
 
* [[Minimalistic cross-platform Makefile]]
 
* [[Minimalistic cross-platform Makefile]]
  
== Math ==
+
=== Math ===
 
* [[Custom data type with overloaded operators]]
 
* [[Custom data type with overloaded operators]]
  
== Meta Programming ==
+
=== Meta Programming ===
 
{{#ask: [[Cookbook/Type::Recipe]]  [[Category:Meta Programming]]
 
{{#ask: [[Cookbook/Type::Recipe]]  [[Category:Meta Programming]]
 
| ?Cookbook/Status=
 
| ?Cookbook/Status=
Line 49: Line 50:
 
<!--------></td><td style="vertical-align: top; width: 50%;">
 
<!--------></td><td style="vertical-align: top; width: 50%;">
  
== Parsing ==
+
=== Parsing ===
 
* [[Parse a JSON file, make some changes, and save it again]]
 
* [[Parse a JSON file, make some changes, and save it again]]
  
== Strings and Text ==
+
=== Strings and Text ===
 
{{#ask: [[Cookbook/Type::Recipe]] [[Category:Strings and Text]]
 
{{#ask: [[Cookbook/Type::Recipe]] [[Category:Strings and Text]]
 
| ?Level=
 
| ?Level=

Revision as of 22:18, 20 January 2013

The Cookbook is a community-created collection of practical examples, guides and advice for accomplishing common tasks in D.

Can't find the guide or recipe you're looking for?
Add a Cookbook Request »


Guides

Compiler

Data Handling


Recipes

Building

Math

Meta Programming


Parsing

Strings and Text