D is an actively used programming language created in 2001.

18Years Old 20,087Users 41Jobs

Example code from the Hello World Collection:

// Hello World in D

import std.stdio;

void main()
{
   writefln("Hello World!");
}

Example code from Linguist:

unittest
{
}

Example code from Wikipedia:

1 import std.stdio, std.algorithm, std.range, std.string;
 2 
 3 void main()
 4 {
 5     dstring[][dstring] signs2words;
 6 
 7     foreach(dchar[] w; lines(File("words.txt")))
 8     {
 9         w = w.chomp().toLower();
10         immutable key = w.dup.sort().release().idup;
11         signs2words[key] ~= w.idup;
12     }
13 
14     foreach(words; signs2words)
15         if(words.length > 1)
16             writefln(words.join(" "));
17 }
Edit

Last updated February 11th, 2019