D

Join the D Track
TODO: The maintainers have not provided an introduction for this track.
Join the D Track
Track mentors

0 Mentors

Our mentors are friendly, experienced D developers who will help teach you new techniques and tricks.
Track students

210 Students

Join hundreds of students who have enjoyed learning and improving their skills by taking this track.
Track exercises

34 Exercises

Hundreds of hours have gone into making these exercises fun, useful, and challenging to help you enjoy learning.

About D

module helloworld;

import std.format;

string hello(const char[] s = "World") {
    return format("Hello, %s!", s);
}

D is a systems programming language with C-like syntax and static typing. It combines efficiency, control and modeling power with safety and programmer productivity. The language was developed originally by Walter Bright and Andrei Alexandrescu since D version 2.

D is the culmination of decades of experience implementing compilers for many diverse languages and has a large number of unique features:

  • high level constructs for great modeling power
  • high performance, compiled language
  • static typing
  • evolution of C++ (without the mistakes)
  • direct interface to the operating system API's and hardware
  • blazingly fast compile-times
  • allow memory-safe programming (SafeD)
  • maintainable, easy to understand code.
  • short learning curve (C-like syntax, similar to Java and others)
  • compatible with C application binary interface
  • multi-paradigm (imperative, structured, object oriented, generic, functional programming purity, and even assembly)
  • built-in error prevention (contracts, unittests)

The D Language Foundation is the organization devoted to developing and advancing the D language.

Join the D track

Exercism is a great website

What I like about it is that I am able to solve the challenges in a TDD way working in a environment that I am familiar (my own PC not a browser IDE) and the cherry on the top of the cake is that I have access to code reviews.

Fun. Challenging. Interesting

Community-sourced D exercises

These are a few of the 34 exercises on the D track. You can see all the exercises here.

Collatz Conjecture
easy
loops
math
Prime Factors
easy
integers
math
Roman Numerals
easy
conversions
functional
string manipulation
Sum Of Multiples
easy
integers
math
Raindrops
easy
control flow if statements
language basics
Bob
easy
control flow if statements
string manipulation

Get started with the D track. As with everything on Exercism, it's 100% free!

Join the D Track