Difference between revisions of "Tutorials"
m (→How To: grammar) |
(→How To: point redlink to existing page) |
||
Line 27: | Line 27: | ||
* [[Promote D Projects]] | * [[Promote D Projects]] | ||
* [[Tame OPTLINK]] | * [[Tame OPTLINK]] | ||
− | * [[Run unit tests]] | + | * [[Unittest|Run unit tests]] |
Revision as of 23:43, 14 December 2012
Best Practices
- Order of import statements
- Portability and performance
- Conventional module name for importing all modules in a package
Common Idioms
Although D inherited much of its syntax from C and C++, the new features that it introduces lead to some common idioms that are unique to D.
- Initializing variables
- Declaring constants
- Looping over integers
- Unittest placement
- Commenting out code
- Voldemort types