Difference between revisions of "Tutorials"
(→Common Idioms) |
(→Common Idioms: link to specific section that talks about idiomatic use rather than general topic) |
||
Line 11: | Line 11: | ||
* [[Declaring constants]] | * [[Declaring constants]] | ||
* [[Looping over integers]] | * [[Looping over integers]] | ||
− | * [[Unittest]] | + | * [[Unittest#Placement|Unittest placement]] |
* [[Voldemort types]] | * [[Voldemort types]] | ||
Revision as of 22:23, 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.