programming languages

Rank

D vs C++

  1. This language has a very coherent design

    91% 9%
    D 61 out of 67 picked D over C++ C++
  2. Code written in this language is very readable

    89% 11%
    D 60 out of 67 picked D over C++ C++
  3. This language encourages writing reusable code.

    88% 12%
    D 44 out of 50 picked D over C++ C++
  4. This language encourages writing code that is easy to maintain.

    87% 13%
    D 55 out of 63 picked D over C++ C++
  5. It is easy to tell at a glance what code in this language does

    87% 13%
    D 61 out of 70 picked D over C++ C++
  6. This language would be good for teaching children to write software

    86% 14%
    D 38 out of 44 picked D over C++ C++
  7. I would use this language as a scripting language embedded inside a larger application

    84% 16%
    D 44 out of 52 picked D over C++ C++
  8. This language is well suited for an agile development approach using short iterations.

    83% 17%
    D 41 out of 49 picked D over C++ C++
  9. This language excels at text processing

    83% 17%
    D 49 out of 59 picked D over C++ C++
  10. I would like to write more of this language than I currently do

    82% 18%
    D 61 out of 74 picked D over C++ C++
  11. This language is good for beginners

    81% 19%
    D 54 out of 66 picked D over C++ C++
  12. I find code written in this language very elegant

    81% 19%
    D 60 out of 74 picked D over C++ C++
  13. I find this language easy to prototype in

    80% 20%
    D 59 out of 73 picked D over C++ C++
  14. This language is minimal

    80% 20%
    D 58 out of 72 picked D over C++ C++
  15. If my code in this language successfully compiles, there is a good chance my code is correct.

    80% 20%
    D 37 out of 46 picked D over C++ C++
  16. This is a high level language

    79% 21%
    D 54 out of 68 picked D over C++ C++
  17. This language is built on a small core of orthogonal features

    79% 21%
    D 49 out of 62 picked D over C++ C++
  18. This language has unusual features that I often miss when using other languages

    78% 22%
    D 56 out of 71 picked D over C++ C++
  19. This language excels at concurrency

    78% 22%
    D 48 out of 61 picked D over C++ C++
  20. Code written in this language tends to be terse

    78% 22%
    D 50 out of 64 picked D over C++ C++
  21. When I write code in this language I can be very sure it is correct

    77% 23%
    D 56 out of 72 picked D over C++ C++
  22. This language is expressive

    77% 23%
    D 51 out of 66 picked D over C++ C++
  23. This language is likely to be a passing fad

    75% 25%
    D 41 out of 54 picked D over C++ C++
  24. This language has a strong static type system

    75% 25%
    D 59 out of 78 picked D over C++ C++
  25. I enjoy using this language

    74% 26%
    D 62 out of 83 picked D over C++ C++
  26. This language matches it's problem domain particularly well.

    73% 27%
    D 31 out of 42 picked D over C++ C++
  27. I would use this language for casual scripting

    73% 27%
    D 56 out of 76 picked D over C++ C++
  28. This language is best for very small projects

    73% 27%
    D 39 out of 53 picked D over C++ C++
  29. This language is easier to use for it's problem domain by removing unneeded expressiveness (such as not being Turing complete).

    73% 27%
    D 19 out of 26 picked D over C++ C++
  30. I enjoy playing with this language but would never use it for "real code"

    71% 29%
    D 43 out of 60 picked D over C++ C++
  31. Code written in this language tends to be very reliable

    71% 29%
    D 50 out of 70 picked D over C++ C++
  32. This language is very flexible

    70% 30%
    D 47 out of 67 picked D over C++ C++
  33. I would use this language for a web project

    69% 31%
    D 41 out of 59 picked D over C++ C++
  34. This language excels at symbolic manipulation

    69% 31%
    D 38 out of 55 picked D over C++ C++
  35. I can imagine this will be a popular language in twenty years time

    66% 34%
    D 41 out of 62 picked D over C++ C++
  36. This language has a wide variety of agreed-upon conventions, which are generally adhered to reasonably well, and which increase my productivity

    64% 36%
    D 35 out of 54 picked D over C++ C++
  37. I rarely have difficulty abstracting patterns I find in my code

    64% 36%
    D 44 out of 68 picked D over C++ C++
  38. I would use this language to write a command-line app

    64% 36%
    D 42 out of 65 picked D over C++ C++
  39. I usually use this language on solo projects

    64% 36%
    D 49 out of 76 picked D over C++ C++
  40. I would recommend most programmers learn this language, regardless of whether they have a specific need for it

    64% 36%
    D 34 out of 53 picked D over C++ C++
  41. This language has a good library distribution mechanism.

    63% 37%
    D 28 out of 44 picked D over C++ C++
  42. I still discover new features of this language on a fairly regular basis

    62% 38%
    D 35 out of 56 picked D over C++ C++
  43. I would use this language for writing server programs

    61% 39%
    D 43 out of 70 picked D over C++ C++
  44. The semantics of this language are much different than other languages I know.

    60% 40%
    D 25 out of 41 picked D over C++ C++
  45. If this language didn't exist, I would have trouble finding a satisfactory replacement

    60% 40%
    D 36 out of 60 picked D over C++ C++
  46. This language has well-organized libraries with consistent, carefully thought-out interfaces

    59% 41%
    D 36 out of 61 picked D over C++ C++
  47. Code written in this language will usually run in all the major implementations if it runs in one of them.

    57% 43%
    D 24 out of 42 picked D over C++ C++
  48. This language is good for scientific computing

    57% 43%
    D 36 out of 63 picked D over C++ C++
  49. Learning this language significantly changed how I use other languages.

    56% 44%
    D 29 out of 51 picked D over C++ C++
  50. I use this language out of choice

    56% 44%
    D 35 out of 62 picked D over C++ C++
  51. This language is best for very large projects

    54% 46%
    D 33 out of 61 picked D over C++ C++
  52. It is easy to debug programs written in this language when it goes wrong

    54% 46%
    D 33 out of 61 picked D over C++ C++
  53. This language is good for distributed computing

    53% 47%
    D 31 out of 58 picked D over C++ C++
  54. This language is likely to have a strong influence on future languages

    53% 47%
    D 34 out of 64 picked D over C++ C++
  55. This language has a niche in which it is great

    53% 47%
    D 35 out of 66 picked D over C++ C++
  56. I find it easy to write efficient code in this language

    52% 48%
    D 37 out of 70 picked D over C++ C++
  57. This language has a good community

    51% 49%
    D 32 out of 62 picked D over C++ C++
  58. This language has a very rigid idea of how things should be done

    51% 49%
    D 32 out of 62 picked D over C++ C++
  59. This language has a niche outside of which I would not use it

    50% 50%
    D 28 out of 56 each for C++ and D C++
  60. I can imagine using this language in my day job

    49% 51%
    D 42 out of 83 picked C++ over D C++
  61. I am reluctant to admit to knowing this language

    48% 52%
    D 30 out of 58 picked C++ over D C++
  62. This language is good for numeric computing

    46% 54%
    D 35 out of 65 picked C++ over D C++
  63. I would use this language for a desktop GUI project

    45% 55%
    D 39 out of 71 picked C++ over D C++
  64. Learning this language improved my ability as a programmer

    44% 56%
    D 37 out of 67 picked C++ over D C++
  65. This language allows me to write programs where I know exactly what they are doing under the hood

    44% 56%
    D 38 out of 68 picked C++ over D C++
  66. This language has a very dogmatic community

    43% 57%
    D 30 out of 53 picked C++ over D C++
  67. Programs written in this language tend to play well with others

    41% 59%
    D 36 out of 62 picked C++ over D C++
  68. I would list this language on my resume

    41% 59%
    D 41 out of 70 picked C++ over D C++
  69. I am sometimes embarrassed to admit to my peers that I know this language

    41% 59%
    D 37 out of 63 picked C++ over D C++
  70. It's unusual for me to discover unfamiliar features

    40% 60%
    D 34 out of 57 picked C++ over D C++
  71. Programs written in this language tend to be efficient

    39% 61%
    D 38 out of 63 picked C++ over D C++
  72. I regularly use this language

    39% 61%
    D 43 out of 71 picked C++ over D C++
  73. I would use this language for mobile applications

    36% 64%
    D 39 out of 61 picked C++ over D C++
  74. I often write things in this language with the intent of rewriting them in something else later

    34% 66%
    D 34 out of 52 picked C++ over D C++
  75. I use a lot of code written in this language which I really don't want to have to make changes to

    34% 66%
    D 23 out of 35 picked C++ over D C++
  76. Libraries in this language tend to be well documented.

    31% 69%
    D 32 out of 47 picked C++ over D C++
  77. When I run into problems my colleagues can provide me with immediate help with this language

    28% 72%
    D 45 out of 63 picked C++ over D C++
  78. This language is suitable for real-time applications

    28% 72%
    D 48 out of 67 picked C++ over D C++
  79. This language is likely to be around for a very long time

    27% 73%
    D 49 out of 68 picked C++ over D C++
  80. I know this language well

    27% 73%
    D 399 out of 550 picked C++ over D C++
  81. This language has a high quality implementation

    27% 73%
    D 37 out of 51 picked C++ over D C++
  82. This language is well documented

    26% 74%
    D 44 out of 60 picked C++ over D C++
  83. Developers who primarily use this language often burn out after a few years

    26% 74%
    D 37 out of 50 picked C++ over D C++
  84. I usually use this language on projects with many other members

    25% 75%
    D 44 out of 59 picked C++ over D C++
  85. I would use this language for writing programs for an embedded hardware platform

    25% 75%
    D 48 out of 64 picked C++ over D C++
  86. The resources for learning this language are of high quality

    24% 76%
    D 44 out of 58 picked C++ over D C++
  87. The thought that I may still be using this language in twenty years time fills me with dread

    22% 78%
    D 46 out of 59 picked C++ over D C++
  88. Writing code in this language is a lot of work

    18% 82%
    D 53 out of 65 picked C++ over D C++
  89. This language has many features which feel "tacked on"

    17% 83%
    D 60 out of 73 picked C++ over D C++
  90. Third-party libraries are readily available, well-documented, and of high quality

    17% 83%
    D 51 out of 62 picked C++ over D C++
  91. There are many good open-source tools for this language

    17% 83%
    D 61 out of 74 picked C++ over D C++
  92. Programs written in this language will usually work in future versions of the language

    16% 84%
    D 50 out of 60 picked C++ over D C++
  93. This language is frequently used for applications it isn't suitable for

    16% 84%
    D 52 out of 62 picked C++ over D C++
  94. This language is large

    16% 84%
    D 52 out of 62 picked C++ over D C++
  95. I often get angry when writing code in this language

    15% 85%
    D 43 out of 51 picked C++ over D C++
  96. There are many good tools for this language

    15% 85%
    D 62 out of 73 picked C++ over D C++
  97. Code written in this language tends to be verbose

    15% 85%
    D 68 out of 80 picked C++ over D C++
  98. There is a lot of accidental complexity when writing code in this language

    13% 87%
    D 63 out of 73 picked C++ over D C++
  99. This is a low level language

    12% 88%
    D 68 out of 78 picked C++ over D C++
  100. This language is unusually bad for beginners

    12% 88%
    D 63 out of 72 picked C++ over D C++
  101. I know many other people who use this language

    12% 88%
    D 51 out of 58 picked C++ over D C++
  102. I often feel like I am not smart enough to write this language

    11% 89%
    D 37 out of 42 picked C++ over D C++
  103. There is a wide variety of open source code written in this language

    10% 90%
    D 49 out of 55 picked C++ over D C++
  104. There are many good commercial tools for this language

    10% 90%
    D 49 out of 55 picked C++ over D C++
  105. It is too easy to write code in this language that looks like it does one thing but actually does something else

    10% 90%
    D 59 out of 66 picked C++ over D C++
  106. This is a mainstream language

    8% 92%
    D 41 out of 45 picked C++ over D C++
  107. I learned this language early in my career as a programmer

    7% 93%
    D 47 out of 51 picked C++ over D C++
  108. This language has an annoying syntax

    7% 93%
    D 48 out of 52 picked C++ over D C++
  109. I use many applications written in this language

    7% 93%
    D 63 out of 68 picked C++ over D C++
  110. This language makes it easy to shoot yourself in the foot

    3% 97%
    D 58 out of 60 picked C++ over D C++
  111. I would use this language for writing embedded programs

    100%
    D 2 out of 2 picked C++ over D C++

What's going on here?

The absolute rankings are interesting for large scale comparisons but when you want to know about two specific languages it's much more informative to look at how the two fare when they go directly head to head.

Here are all the statements which we've got enough comparisons between D and C++ to be meaningful and which of the two our users picked.

The order in which we're presenting them is a little arbitrary (sorry), but we've tried to put the things which they're both good at first so as to give you the most interesting picture of it.