programming languages

Rank

O'Caml vs C++

  1. If my code in this language successfully compiles, there is a good chance my code is correct.

    95% 5%
    O'Caml 45 out of 47 picked O'Caml over C++ C++
  2. This is a high level language

    92% 8%
    O'Caml 104 out of 113 picked O'Caml over C++ C++
  3. This language has a strong static type system

    89% 11%
    O'Caml 115 out of 128 picked O'Caml over C++ C++
  4. This language excels at symbolic manipulation

    89% 11%
    O'Caml 97 out of 108 picked O'Caml over C++ C++
  5. This language has unusual features that I often miss when using other languages

    88% 12%
    O'Caml 108 out of 122 picked O'Caml over C++ C++
  6. I find code written in this language very elegant

    88% 12%
    O'Caml 103 out of 117 picked O'Caml over C++ C++
  7. Code written in this language tends to be very reliable

    87% 13%
    O'Caml 102 out of 116 picked O'Caml over C++ C++
  8. When I write code in this language I can be very sure it is correct

    87% 13%
    O'Caml 94 out of 107 picked O'Caml over C++ C++
  9. This language has a very coherent design

    86% 14%
    O'Caml 95 out of 110 picked O'Caml over C++ C++
  10. This language is built on a small core of orthogonal features

    85% 15%
    O'Caml 85 out of 99 picked O'Caml over C++ C++
  11. This language is easier to use for it's problem domain by removing unneeded expressiveness (such as not being Turing complete).

    85% 15%
    O'Caml 24 out of 28 picked O'Caml over C++ C++
  12. This language is expressive

    85% 15%
    O'Caml 105 out of 123 picked O'Caml over C++ C++
  13. This language would be good for teaching children to write software

    85% 15%
    O'Caml 34 out of 40 picked O'Caml over C++ C++
  14. This language is well suited for an agile development approach using short iterations.

    85% 15%
    O'Caml 34 out of 40 picked O'Caml over C++ C++
  15. This language encourages writing code that is easy to maintain.

    84% 16%
    O'Caml 37 out of 44 picked O'Caml over C++ C++
  16. I would like to write more of this language than I currently do

    83% 17%
    O'Caml 98 out of 117 picked O'Caml over C++ C++
  17. I find this language easy to prototype in

    82% 18%
    O'Caml 96 out of 117 picked O'Caml over C++ C++
  18. This language is minimal

    81% 19%
    O'Caml 94 out of 115 picked O'Caml over C++ C++
  19. I enjoy using this language

    80% 20%
    O'Caml 106 out of 131 picked O'Caml over C++ C++
  20. I would use this language as a scripting language embedded inside a larger application

    80% 20%
    O'Caml 82 out of 102 picked O'Caml over C++ C++
  21. It is easy to tell at a glance what code in this language does

    80% 20%
    O'Caml 81 out of 101 picked O'Caml over C++ C++
  22. Code written in this language tends to be terse

    80% 20%
    O'Caml 85 out of 106 picked O'Caml over C++ C++
  23. Code written in this language is very readable

    79% 21%
    O'Caml 89 out of 112 picked O'Caml over C++ C++
  24. This language is good for beginners

    78% 22%
    O'Caml 88 out of 112 picked O'Caml over C++ C++
  25. I would use this language for casual scripting

    78% 22%
    O'Caml 87 out of 111 picked O'Caml over C++ C++
  26. I would use this language for a web project

    77% 23%
    O'Caml 80 out of 103 picked O'Caml over C++ C++
  27. Learning this language improved my ability as a programmer

    75% 25%
    O'Caml 87 out of 115 picked O'Caml over C++ C++
  28. This language encourages writing reusable code.

    75% 25%
    O'Caml 31 out of 41 picked O'Caml over C++ C++
  29. The semantics of this language are much different than other languages I know.

    74% 26%
    O'Caml 32 out of 43 picked O'Caml over C++ C++
  30. This language matches it's problem domain particularly well.

    74% 26%
    O'Caml 29 out of 39 picked O'Caml over C++ C++
  31. I rarely have difficulty abstracting patterns I find in my code

    73% 27%
    O'Caml 75 out of 102 picked O'Caml over C++ C++
  32. I would recommend most programmers learn this language, regardless of whether they have a specific need for it

    73% 27%
    O'Caml 44 out of 60 picked O'Caml over C++ C++
  33. I use this language out of choice

    72% 28%
    O'Caml 78 out of 107 picked O'Caml over C++ C++
  34. This language is likely to have a strong influence on future languages

    72% 28%
    O'Caml 85 out of 118 picked O'Caml over C++ C++
  35. Learning this language significantly changed how I use other languages.

    71% 29%
    O'Caml 28 out of 39 picked O'Caml over C++ C++
  36. This language excels at text processing

    68% 32%
    O'Caml 71 out of 103 picked O'Caml over C++ C++
  37. Code written in this language will usually run in all the major implementations if it runs in one of them.

    67% 33%
    O'Caml 25 out of 37 picked O'Caml over C++ C++
  38. If this language didn't exist, I would have trouble finding a satisfactory replacement

    67% 33%
    O'Caml 64 out of 95 picked O'Caml over C++ C++
  39. It is easy to debug programs written in this language when it goes wrong

    66% 34%
    O'Caml 67 out of 101 picked O'Caml over C++ C++
  40. This language has a niche in which it is great

    65% 35%
    O'Caml 70 out of 107 picked O'Caml over C++ C++
  41. This language is very flexible

    64% 36%
    O'Caml 64 out of 99 picked O'Caml over C++ C++
  42. This language is best for very large projects

    64% 36%
    O'Caml 64 out of 100 picked O'Caml over C++ C++
  43. I usually use this language on solo projects

    63% 37%
    O'Caml 73 out of 115 picked O'Caml over C++ C++
  44. This language has a very rigid idea of how things should be done

    63% 37%
    O'Caml 74 out of 117 picked O'Caml over C++ C++
  45. I enjoy playing with this language but would never use it for "real code"

    63% 37%
    O'Caml 55 out of 87 picked O'Caml over C++ C++
  46. This language is best for very small projects

    63% 37%
    O'Caml 60 out of 95 picked O'Caml over C++ C++
  47. I would use this language to write a command-line app

    61% 39%
    O'Caml 65 out of 105 picked O'Caml over C++ C++
  48. This language is good for scientific computing

    61% 39%
    O'Caml 71 out of 115 picked O'Caml over C++ C++
  49. This language is likely to be a passing fad

    61% 39%
    O'Caml 68 out of 111 picked O'Caml over C++ C++
  50. It's unusual for me to discover unfamiliar features

    59% 41%
    O'Caml 57 out of 96 picked O'Caml over C++ C++
  51. This language has a wide variety of agreed-upon conventions, which are generally adhered to reasonably well, and which increase my productivity

    57% 43%
    O'Caml 51 out of 88 picked O'Caml over C++ C++
  52. This language is good for distributed computing

    56% 44%
    O'Caml 57 out of 101 picked O'Caml over C++ C++
  53. This language has well-organized libraries with consistent, carefully thought-out interfaces

    56% 44%
    O'Caml 58 out of 103 picked O'Caml over C++ C++
  54. I would use this language for writing server programs

    56% 44%
    O'Caml 59 out of 105 picked O'Caml over C++ C++
  55. This language has a very dogmatic community

    51% 49%
    O'Caml 46 out of 89 picked O'Caml over C++ C++
  56. This language has a good library distribution mechanism.

    51% 49%
    O'Caml 21 out of 41 picked O'Caml over C++ C++
  57. I often write things in this language with the intent of rewriting them in something else later

    51% 49%
    O'Caml 51 out of 100 picked O'Caml over C++ C++
  58. This language has a good community

    50% 50%
    O'Caml 48 out of 95 picked O'Caml over C++ C++
  59. I find it easy to write efficient code in this language

    48% 52%
    O'Caml 60 out of 116 picked C++ over O'Caml C++
  60. This language excels at concurrency

    47% 53%
    O'Caml 54 out of 103 picked C++ over O'Caml C++
  61. I can imagine using this language in my day job

    46% 54%
    O'Caml 61 out of 115 picked C++ over O'Caml C++
  62. This language is good for numeric computing

    45% 55%
    O'Caml 56 out of 102 picked C++ over O'Caml C++
  63. This language is well documented

    44% 56%
    O'Caml 59 out of 106 picked C++ over O'Caml C++
  64. I am sometimes embarrassed to admit to my peers that I know this language

    43% 57%
    O'Caml 55 out of 98 picked C++ over O'Caml C++
  65. I still discover new features of this language on a fairly regular basis

    43% 57%
    O'Caml 54 out of 96 picked C++ over O'Caml C++
  66. I can imagine this will be a popular language in twenty years time

    43% 57%
    O'Caml 58 out of 103 picked C++ over O'Caml C++
  67. The resources for learning this language are of high quality

    43% 57%
    O'Caml 53 out of 94 picked C++ over O'Caml C++
  68. This language has a high quality implementation

    42% 58%
    O'Caml 24 out of 42 picked C++ over O'Caml C++
  69. This language has a niche outside of which I would not use it

    42% 58%
    O'Caml 63 out of 109 picked C++ over O'Caml C++
  70. I am reluctant to admit to knowing this language

    41% 59%
    O'Caml 54 out of 93 picked C++ over O'Caml C++
  71. I would use this language for mobile applications

    40% 60%
    O'Caml 63 out of 105 picked C++ over O'Caml C++
  72. I regularly use this language

    39% 61%
    O'Caml 73 out of 121 picked C++ over O'Caml C++
  73. This language allows me to write programs where I know exactly what they are doing under the hood

    39% 61%
    O'Caml 69 out of 114 picked C++ over O'Caml C++
  74. Programs written in this language tend to be efficient

    38% 62%
    O'Caml 68 out of 110 picked C++ over O'Caml C++
  75. I would use this language for a desktop GUI project

    38% 62%
    O'Caml 65 out of 105 picked C++ over O'Caml C++
  76. I would list this language on my resume

    37% 63%
    O'Caml 66 out of 106 picked C++ over O'Caml C++
  77. When I run into problems my colleagues can provide me with immediate help with this language

    37% 63%
    O'Caml 65 out of 104 picked C++ over O'Caml C++
  78. I often feel like I am not smart enough to write this language

    36% 64%
    O'Caml 23 out of 36 picked C++ over O'Caml C++
  79. I know this language well

    33% 67%
    O'Caml 628 out of 949 picked C++ over O'Caml C++
  80. I would use this language for writing embedded programs

    33% 67%
    O'Caml 8 out of 12 picked C++ over O'Caml C++
  81. Programs written in this language will usually work in future versions of the language

    33% 67%
    O'Caml 64 out of 96 picked C++ over O'Caml C++
  82. Programs written in this language tend to play well with others

    30% 70%
    O'Caml 72 out of 103 picked C++ over O'Caml C++
  83. Developers who primarily use this language often burn out after a few years

    29% 71%
    O'Caml 66 out of 94 picked C++ over O'Caml C++
  84. This language has an annoying syntax

    29% 71%
    O'Caml 34 out of 48 picked C++ over O'Caml C++
  85. Libraries in this language tend to be well documented.

    28% 72%
    O'Caml 25 out of 35 picked C++ over O'Caml C++
  86. Third-party libraries are readily available, well-documented, and of high quality

    28% 72%
    O'Caml 72 out of 100 picked C++ over O'Caml C++
  87. I usually use this language on projects with many other members

    27% 73%
    O'Caml 74 out of 102 picked C++ over O'Caml C++
  88. This language is unusually bad for beginners

    25% 75%
    O'Caml 81 out of 109 picked C++ over O'Caml C++
  89. There are many good open-source tools for this language

    25% 75%
    O'Caml 81 out of 109 picked C++ over O'Caml C++
  90. I would use this language for writing programs for an embedded hardware platform

    23% 77%
    O'Caml 86 out of 113 picked C++ over O'Caml C++
  91. This language is frequently used for applications it isn't suitable for

    22% 78%
    O'Caml 74 out of 95 picked C++ over O'Caml C++
  92. This language has many features which feel "tacked on"

    20% 80%
    O'Caml 87 out of 110 picked C++ over O'Caml C++
  93. I know many other people who use this language

    19% 81%
    O'Caml 84 out of 104 picked C++ over O'Caml C++
  94. This language is likely to be around for a very long time

    18% 82%
    O'Caml 90 out of 110 picked C++ over O'Caml C++
  95. I often get angry when writing code in this language

    17% 83%
    O'Caml 23 out of 28 picked C++ over O'Caml C++
  96. I use many applications written in this language

    17% 83%
    O'Caml 95 out of 115 picked C++ over O'Caml C++
  97. I learned this language early in my career as a programmer

    17% 83%
    O'Caml 39 out of 47 picked C++ over O'Caml C++
  98. There is a wide variety of open source code written in this language

    17% 83%
    O'Caml 83 out of 100 picked C++ over O'Caml C++
  99. This language is large

    16% 84%
    O'Caml 89 out of 107 picked C++ over O'Caml C++
  100. There are many good tools for this language

    15% 85%
    O'Caml 85 out of 100 picked C++ over O'Caml C++
  101. This language is suitable for real-time applications

    14% 86%
    O'Caml 91 out of 107 picked C++ over O'Caml C++
  102. This is a low level language

    14% 86%
    O'Caml 93 out of 109 picked C++ over O'Caml C++
  103. The thought that I may still be using this language in twenty years time fills me with dread

    13% 87%
    O'Caml 87 out of 101 picked C++ over O'Caml C++
  104. It is too easy to write code in this language that looks like it does one thing but actually does something else

    11% 89%
    O'Caml 90 out of 102 picked C++ over O'Caml C++
  105. There are many good commercial tools for this language

    11% 89%
    O'Caml 83 out of 94 picked C++ over O'Caml C++
  106. Writing code in this language is a lot of work

    11% 89%
    O'Caml 97 out of 109 picked C++ over O'Caml C++
  107. There is a lot of accidental complexity when writing code in this language

    5% 95%
    O'Caml 95 out of 101 picked C++ over O'Caml C++
  108. This language makes it easy to shoot yourself in the foot

    5% 95%
    O'Caml 75 out of 79 picked C++ over O'Caml C++
  109. Code written in this language tends to be verbose

    4% 96%
    O'Caml 123 out of 129 picked C++ over O'Caml C++
  110. This is a mainstream language

    3% 97%
    O'Caml 51 out of 53 picked C++ over O'Caml C++
  111. I use a lot of code written in this language which I really don't want to have to make changes to

    100%
    O'Caml 18 out of 18 picked C++ over O'Caml 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 O'Caml 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.