Difference between revisions of "Tutorials"
(→Common Idioms) |
|||
Line 9: | Line 9: | ||
* [[Initializing variables]] | * [[Initializing variables]] | ||
+ | * [[Declaring constants]] | ||
* [[Voldemort types]] | * [[Voldemort types]] | ||
Revision as of 17:56, 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.