programming languages

Rank

D vs C++

  1. This language has a very coherent design

    91% 9%
    D 41 out of 45 picked D over C++ C++
  2. This language encourages writing code that is easy to maintain.

    90% 10%
    D 28 out of 31 picked D over C++ C++
  3. This language would be good for teaching children to write software

    86% 14%
    D 19 out of 22 picked D over C++ C++
  4. Code written in this language is very readable

    85% 15%
    D 36 out of 42 picked D over C++ C++
  5. It is easy to tell at a glance what code in this language does

    83% 17%
    D 41 out of 49 picked D over C++ C++
  6. I would use this language as a scripting language embedded inside a larger application

    82% 18%
    D 29 out of 35 picked D over C++ C++
  7. I would like to write more of this language than I currently do

    82% 18%
    D 37 out of 45 picked D over C++ C++
  8. Code written in this language tends to be terse

    80% 20%
    D 34 out of 42 picked D over C++ C++
  9. This language is well suited for an agile development approach using short iterations.

    80% 20%
    D 20 out of 25 picked D over C++ C++
  10. I find code written in this language very elegant

    79% 21%
    D 39 out of 49 picked D over C++ C++
  11. This language excels at concurrency

    79% 21%
    D 31 out of 39 picked D over C++ C++
  12. This language matches it's problem domain particularly well.

    78% 22%
    D 15 out of 19 picked D over C++ C++
  13. This language is good for beginners

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

    77% 23%
    D 31 out of 40 picked D over C++ C++
  15. This language encourages writing reusable code.

    77% 23%
    D 17 out of 22 picked D over C++ C++
  16. I enjoy playing with this language but would never use it for "real code"

    77% 23%
    D 34 out of 44 picked D over C++ C++
  17. This language is built on a small core of orthogonal features

    76% 24%
    D 33 out of 43 picked D over C++ C++
  18. If my code in this language successfully compiles, there is a good chance my code is correct.

    75% 25%
    D 18 out of 24 picked D over C++ C++
  19. This language has unusual features that I often miss when using other languages

    74% 26%
    D 35 out of 47 picked D over C++ C++
  20. This language excels at text processing

    74% 26%
    D 26 out of 35 picked D over C++ C++
  21. I find this language easy to prototype in

    74% 26%
    D 37 out of 50 picked D over C++ C++
  22. This language is minimal

    73% 27%
    D 33 out of 45 picked D over C++ C++
  23. This is a high level language

    72% 28%
    D 32 out of 44 picked D over C++ C++
  24. This language is best for very small projects

    72% 28%
    D 24 out of 33 picked D over C++ C++
  25. This language has a wide variety of agreed-upon conventions, which are generally adhered to reasonably well, and which increase my productivity

    71% 29%
    D 23 out of 32 picked D over C++ C++
  26. This language has a strong static type system

    71% 29%
    D 38 out of 53 picked D over C++ C++
  27. This language is expressive

    70% 30%
    D 34 out of 48 picked D over C++ C++
  28. I enjoy using this language

    70% 30%
    D 41 out of 58 picked D over C++ C++
  29. When I write code in this language I can be very sure it is correct

    68% 32%
    D 31 out of 45 picked D over C++ C++
  30. This language excels at symbolic manipulation

    64% 36%
    D 24 out of 37 picked D over C++ C++
  31. I would use this language for a web project

    63% 37%
    D 23 out of 36 picked D over C++ C++
  32. This language is easier to use for it's problem domain by removing unneeded expressiveness (such as not being Turing complete).

    63% 37%
    D 7 out of 11 picked D over C++ C++
  33. I would use this language for casual scripting

    62% 38%
    D 30 out of 48 picked D over C++ C++
  34. Code written in this language tends to be very reliable

    62% 38%
    D 28 out of 45 picked D over C++ C++
  35. This language is very flexible

    62% 38%
    D 23 out of 37 picked D over C++ C++
  36. This language has a very rigid idea of how things should be done

    58% 42%
    D 25 out of 43 picked D over C++ C++
  37. I rarely have difficulty abstracting patterns I find in my code

    57% 43%
    D 23 out of 40 picked D over C++ C++
  38. I can imagine this will be a popular language in twenty years time

    55% 45%
    D 20 out of 36 picked D over C++ C++
  39. This language is good for scientific computing

    55% 45%
    D 22 out of 40 picked D over C++ C++
  40. I would use this language to write a command-line app

    54% 46%
    D 23 out of 42 picked D over C++ C++
  41. I still discover new features of this language on a fairly regular basis

    53% 47%
    D 17 out of 32 picked D over C++ C++
  42. I usually use this language on solo projects

    53% 47%
    D 26 out of 49 picked D over C++ C++
  43. This language has well-organized libraries with consistent, carefully thought-out interfaces

    52% 48%
    D 19 out of 36 picked D over C++ C++
  44. Code written in this language will usually run in all the major implementations if it runs in one of them.

    52% 48%
    D 11 out of 21 picked D over C++ C++
  45. I would recommend most programmers learn this language, regardless of whether they have a specific need for it

    51% 49%
    D 14 out of 27 picked D over C++ C++
  46. I am reluctant to admit to knowing this language

    51% 49%
    D 20 out of 39 picked D over C++ C++
  47. This language is likely to have a strong influence on future languages

    51% 49%
    D 21 out of 41 picked D over C++ C++
  48. I would use this language for writing server programs

    51% 49%
    D 23 out of 45 picked D over C++ C++
  49. This language has a very dogmatic community

    50% 50%
    D 15 out of 30 each for C++ and D C++
  50. The semantics of this language are much different than other languages I know.

    50% 50%
    D 11 out of 22 each for C++ and D C++
  51. This language has a niche outside of which I would not use it

    50% 50%
    D 20 out of 40 each for C++ and D C++
  52. I use this language out of choice

    50% 50%
    D 19 out of 38 each for C++ and D C++
  53. This language is good for distributed computing

    50% 50%
    D 17 out of 34 each for C++ and D C++
  54. I would use this language for a desktop GUI project

    48% 52%
    D 24 out of 47 picked C++ over D C++
  55. If this language didn't exist, I would have trouble finding a satisfactory replacement

    48% 52%
    D 19 out of 37 picked C++ over D C++
  56. It is easy to debug programs written in this language when it goes wrong

    47% 53%
    D 21 out of 40 picked C++ over D C++
  57. This language has a good library distribution mechanism.

    47% 53%
    D 10 out of 19 picked C++ over D C++
  58. This language is best for very large projects

    45% 55%
    D 19 out of 35 picked C++ over D C++
  59. I use a lot of code written in this language which I really don't want to have to make changes to

    44% 56%
    D 10 out of 18 picked C++ over D C++
  60. This language has a good community

    43% 57%
    D 23 out of 41 picked C++ over D C++
  61. Learning this language significantly changed how I use other languages.

    43% 57%
    D 13 out of 23 picked C++ over D C++
  62. This language has a niche in which it is great

    43% 57%
    D 25 out of 44 picked C++ over D C++
  63. I am sometimes embarrassed to admit to my peers that I know this language

    41% 59%
    D 23 out of 39 picked C++ over D C++
  64. I can imagine using this language in my day job

    39% 61%
    D 34 out of 56 picked C++ over D C++
  65. It's unusual for me to discover unfamiliar features

    37% 63%
    D 25 out of 40 picked C++ over D C++
  66. This language allows me to write programs where I know exactly what they are doing under the hood

    36% 64%
    D 29 out of 46 picked C++ over D C++
  67. I find it easy to write efficient code in this language

    36% 64%
    D 28 out of 44 picked C++ over D C++
  68. This language is good for numeric computing

    36% 64%
    D 28 out of 44 picked C++ over D C++
  69. I would use this language for mobile applications

    34% 66%
    D 27 out of 41 picked C++ over D C++
  70. Developers who primarily use this language often burn out after a few years

    33% 67%
    D 20 out of 30 picked C++ over D C++
  71. Learning this language improved my ability as a programmer

    33% 67%
    D 28 out of 42 picked C++ over D C++
  72. I would list this language on my resume

    33% 67%
    D 30 out of 45 picked C++ over D C++
  73. Libraries in this language tend to be well documented.

    31% 69%
    D 15 out of 22 picked C++ over D C++
  74. Programs written in this language tend to play well with others

    31% 69%
    D 28 out of 41 picked C++ over D C++
  75. Programs written in this language tend to be efficient

    30% 70%
    D 25 out of 36 picked C++ over D C++
  76. I often write things in this language with the intent of rewriting them in something else later

    29% 71%
    D 22 out of 31 picked C++ over D C++
  77. I usually use this language on projects with many other members

    26% 74%
    D 28 out of 38 picked C++ over D C++
  78. This language is well documented

    26% 74%
    D 28 out of 38 picked C++ over D C++
  79. I regularly use this language

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

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

    24% 76%
    D 28 out of 37 picked C++ over D C++
  82. I often get angry when writing code in this language

    24% 76%
    D 19 out of 25 picked C++ over D C++
  83. This language has many features which feel "tacked on"

    23% 77%
    D 39 out of 51 picked C++ over D C++
  84. I know this language well

    22% 78%
    D 319 out of 411 picked C++ over D C++
  85. Programs written in this language will usually work in future versions of the language

    20% 80%
    D 31 out of 39 picked C++ over D C++
  86. Writing code in this language is a lot of work

    20% 80%
    D 35 out of 44 picked C++ over D C++
  87. This language is large

    19% 81%
    D 32 out of 40 picked C++ over D C++
  88. I would use this language for writing programs for an embedded hardware platform

    19% 81%
    D 34 out of 42 picked C++ over D C++
  89. When I run into problems my colleagues can provide me with immediate help with this language

    19% 81%
    D 34 out of 42 picked C++ over D C++
  90. Third-party libraries are readily available, well-documented, and of high quality

    18% 82%
    D 35 out of 43 picked C++ over D C++
  91. This language is suitable for real-time applications

    16% 84%
    D 35 out of 42 picked C++ over D C++
  92. This language has a high quality implementation

    16% 84%
    D 21 out of 25 picked C++ over D C++
  93. There are many good tools for this language

    15% 85%
    D 43 out of 51 picked C++ over D C++
  94. Code written in this language tends to be verbose

    15% 85%
    D 43 out of 51 picked C++ over D C++
  95. There is a lot of accidental complexity when writing code in this language

    15% 85%
    D 38 out of 45 picked C++ over D C++
  96. This language is unusually bad for beginners

    15% 85%
    D 38 out of 45 picked C++ over D C++
  97. This language is likely to be around for a very long time

    13% 87%
    D 37 out of 43 picked C++ over D C++
  98. There are many good commercial tools for this language

    13% 87%
    D 31 out of 36 picked C++ over D C++
  99. This language is frequently used for applications it isn't suitable for

    13% 87%
    D 32 out of 37 picked C++ over D C++
  100. It is too easy to write code in this language that looks like it does one thing but actually does something else

    12% 88%
    D 34 out of 39 picked C++ over D C++
  101. There are many good open-source tools for this language

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

    11% 89%
    D 32 out of 36 picked C++ over D C++
  103. I often feel like I am not smart enough to write this language

    9% 91%
    D 20 out of 22 picked C++ over D C++
  104. This is a low level language

    8% 92%
    D 51 out of 56 picked C++ over D C++
  105. This is a mainstream language

    7% 93%
    D 23 out of 25 picked C++ over D C++
  106. This language has an annoying syntax

    7% 93%
    D 23 out of 25 picked C++ over D C++
  107. I know many other people who use this language

    7% 93%
    D 35 out of 38 picked C++ over D C++
  108. I use many applications written in this language

    4% 96%
    D 39 out of 41 picked C++ over D C++
  109. I learned this language early in my career as a programmer

    4% 96%
    D 23 out of 24 picked C++ over D C++
  110. This language makes it easy to shoot yourself in the foot

    2% 98%
    D 36 out of 37 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.