Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.
  • use tab indentation
  • use get/set accessors and is for boolean types, not the property syntax
  • it is okay to omit the trailing () when using accessors
  • variableNames
  • TypeNames
  • IInterfaceName
  • if enums define global constants, use all-caps; if the enum is named, just capitalise
  • function args should be like (arg1_, arg2_, arg3_)
  • each function in a module should use it's own public/private attribute
  • make sure your subversion client is configured to set svn:eol-style to native for all new .d files. See http://svnbook.red-bean.com/en/1.1/ch07.html#svn-ch-7-sect-1.3.2 .