programming languages

Rank

Javascript vs Ruby

  1. This is a mainstream language

    84% 16%
    Javascript 198 out of 233 picked Javascript over Ruby Ruby
  2. This language has an annoying syntax

    80% 20%
    Javascript 179 out of 223 picked Javascript over Ruby Ruby
  3. Code written in this language tends to be verbose

    76% 24%
    Javascript 274 out of 358 picked Javascript over Ruby Ruby
  4. Writing code in this language is a lot of work

    75% 25%
    Javascript 275 out of 362 picked Javascript over Ruby Ruby
  5. I learned this language early in my career as a programmer

    75% 25%
    Javascript 180 out of 239 picked Javascript over Ruby Ruby
  6. This language is likely to be around for a very long time

    74% 26%
    Javascript 249 out of 335 picked Javascript over Ruby Ruby
  7. There is a lot of accidental complexity when writing code in this language

    72% 28%
    Javascript 251 out of 345 picked Javascript over Ruby Ruby
  8. Developers who primarily use this language often burn out after a few years

    72% 28%
    Javascript 172 out of 237 picked Javascript over Ruby Ruby
  9. This language has a niche outside of which I would not use it

    72% 28%
    Javascript 234 out of 324 picked Javascript over Ruby Ruby
  10. The thought that I may still be using this language in twenty years time fills me with dread

    70% 30%
    Javascript 247 out of 350 picked Javascript over Ruby Ruby
  11. I use many applications written in this language

    68% 32%
    Javascript 239 out of 348 picked Javascript over Ruby Ruby
  12. I would use this language for mobile applications

    68% 32%
    Javascript 238 out of 347 picked Javascript over Ruby Ruby
  13. I often get angry when writing code in this language

    67% 33%
    Javascript 146 out of 216 picked Javascript over Ruby Ruby
  14. I know many other people who use this language

    67% 33%
    Javascript 246 out of 366 picked Javascript over Ruby Ruby
  15. This language makes it easy to shoot yourself in the foot

    66% 34%
    Javascript 181 out of 273 picked Javascript over Ruby Ruby
  16. This language is minimal

    65% 35%
    Javascript 229 out of 348 picked Javascript over Ruby Ruby
  17. This language has a niche in which it is great

    64% 36%
    Javascript 226 out of 348 picked Javascript over Ruby Ruby
  18. Programs written in this language will usually work in future versions of the language

    63% 37%
    Javascript 213 out of 335 picked Javascript over Ruby Ruby
  19. I use a lot of code written in this language which I really don't want to have to make changes to

    63% 37%
    Javascript 115 out of 181 picked Javascript over Ruby Ruby
  20. This language is unusually bad for beginners

    62% 38%
    Javascript 231 out of 367 picked Javascript over Ruby Ruby
  21. There are many good commercial tools for this language

    59% 41%
    Javascript 184 out of 310 picked Javascript over Ruby Ruby
  22. I can imagine this will be a popular language in twenty years time

    58% 42%
    Javascript 202 out of 344 picked Javascript over Ruby Ruby
  23. When I run into problems my colleagues can provide me with immediate help with this language

    58% 42%
    Javascript 188 out of 322 picked Javascript over Ruby Ruby
  24. It is too easy to write code in this language that looks like it does one thing but actually does something else

    57% 43%
    Javascript 166 out of 290 picked Javascript over Ruby Ruby
  25. If this language didn't exist, I would have trouble finding a satisfactory replacement

    57% 43%
    Javascript 164 out of 287 picked Javascript over Ruby Ruby
  26. I am sometimes embarrassed to admit to my peers that I know this language

    56% 44%
    Javascript 151 out of 265 picked Javascript over Ruby Ruby
  27. This language has many features which feel "tacked on"

    56% 44%
    Javascript 166 out of 296 picked Javascript over Ruby Ruby
  28. Programs written in this language tend to be efficient

    56% 44%
    Javascript 200 out of 357 picked Javascript over Ruby Ruby
  29. I am reluctant to admit to knowing this language

    55% 45%
    Javascript 168 out of 301 picked Javascript over Ruby Ruby
  30. This language is frequently used for applications it isn't suitable for

    55% 45%
    Javascript 164 out of 295 picked Javascript over Ruby Ruby
  31. I would use this language for a web project

    55% 45%
    Javascript 216 out of 392 picked Javascript over Ruby Ruby
  32. This language is built on a small core of orthogonal features

    55% 45%
    Javascript 136 out of 247 picked Javascript over Ruby Ruby
  33. It's unusual for me to discover unfamiliar features

    54% 46%
    Javascript 168 out of 309 picked Javascript over Ruby Ruby
  34. I would use this language as a scripting language embedded inside a larger application

    54% 46%
    Javascript 194 out of 357 picked Javascript over Ruby Ruby
  35. I regularly use this language

    53% 47%
    Javascript 219 out of 410 picked Javascript over Ruby Ruby
  36. This language matches it's problem domain particularly well.

    53% 47%
  37. This language is suitable for real-time applications

    52% 48%
    Javascript 165 out of 312 picked Javascript over Ruby Ruby
  38. I know this language well

    52% 48%
    Javascript 1982 out of 3770 picked Javascript over Ruby Ruby
  39. I usually use this language on projects with many other members

    51% 49%
    Javascript 170 out of 332 picked Javascript over Ruby Ruby
  40. This is a low level language

    50% 50%
    Javascript 177 out of 349 picked Javascript over Ruby Ruby
  41. This language has a very rigid idea of how things should be done

    50% 50%
    Javascript 180 out of 359 picked Javascript over Ruby Ruby
  42. I often feel like I am not smart enough to write this language

    50% 50%
    Javascript 92 out of 184 each for Ruby and Javascript Ruby
  43. The semantics of this language are much different than other languages I know.

    49% 51%
    Javascript 100 out of 199 picked Ruby over Javascript Ruby
  44. I enjoy playing with this language but would never use it for "real code"

    49% 51%
    Javascript 137 out of 270 picked Ruby over Javascript Ruby
  45. I would use this language for writing embedded programs

    49% 51%
  46. This language allows me to write programs where I know exactly what they are doing under the hood

    48% 52%
    Javascript 169 out of 330 picked Ruby over Javascript Ruby
  47. This language excels at concurrency

    48% 52%
    Javascript 169 out of 327 picked Ruby over Javascript Ruby
  48. This language is easier to use for it's problem domain by removing unneeded expressiveness (such as not being Turing complete).

    46% 54%
  49. There is a wide variety of open source code written in this language

    44% 56%
    Javascript 190 out of 345 picked Ruby over Javascript Ruby
  50. I would recommend most programmers learn this language, regardless of whether they have a specific need for it

    44% 56%
    Javascript 146 out of 261 picked Ruby over Javascript Ruby
  51. I would list this language on my resume

    43% 57%
    Javascript 179 out of 319 picked Ruby over Javascript Ruby
  52. I can imagine using this language in my day job

    43% 57%
    Javascript 233 out of 412 picked Ruby over Javascript Ruby
  53. Code written in this language will usually run in all the major implementations if it runs in one of them.

    43% 57%
    Javascript 106 out of 186 picked Ruby over Javascript Ruby
  54. This language has a high quality implementation

    42% 58%
    Javascript 131 out of 229 picked Ruby over Javascript Ruby
  55. There are many good tools for this language

    42% 58%
    Javascript 192 out of 334 picked Ruby over Javascript Ruby
  56. I would use this language for writing programs for an embedded hardware platform

    42% 58%
    Javascript 175 out of 302 picked Ruby over Javascript Ruby
  57. If my code in this language successfully compiles, there is a good chance my code is correct.

    41% 59%
    Javascript 116 out of 198 picked Ruby over Javascript Ruby
  58. I find it easy to write efficient code in this language

    41% 59%
    Javascript 227 out of 386 picked Ruby over Javascript Ruby
  59. This language is good for distributed computing

    40% 60%
    Javascript 194 out of 327 picked Ruby over Javascript Ruby
  60. I often write things in this language with the intent of rewriting them in something else later

    40% 60%
    Javascript 147 out of 247 picked Ruby over Javascript Ruby
  61. It is easy to debug programs written in this language when it goes wrong

    40% 60%
    Javascript 212 out of 356 picked Ruby over Javascript Ruby
  62. There are many good open-source tools for this language

    39% 61%
    Javascript 225 out of 371 picked Ruby over Javascript Ruby
  63. This language has a strong static type system

    39% 61%
    Javascript 211 out of 347 picked Ruby over Javascript Ruby
  64. Programs written in this language tend to play well with others

    38% 62%
    Javascript 198 out of 320 picked Ruby over Javascript Ruby
  65. This language is well documented

    36% 64%
    Javascript 219 out of 347 picked Ruby over Javascript Ruby
  66. I still discover new features of this language on a fairly regular basis

    35% 65%
    Javascript 188 out of 293 picked Ruby over Javascript Ruby
  67. Learning this language improved my ability as a programmer

    35% 65%
    Javascript 244 out of 379 picked Ruby over Javascript Ruby
  68. This language is best for very small projects

    35% 65%
    Javascript 216 out of 335 picked Ruby over Javascript Ruby
  69. I usually use this language on solo projects

    35% 65%
    Javascript 233 out of 360 picked Ruby over Javascript Ruby
  70. This language is good for beginners

    34% 66%
    Javascript 248 out of 376 picked Ruby over Javascript Ruby
  71. The resources for learning this language are of high quality

    33% 67%
    Javascript 233 out of 351 picked Ruby over Javascript Ruby
  72. When I write code in this language I can be very sure it is correct

    33% 67%
    Javascript 240 out of 360 picked Ruby over Javascript Ruby
  73. I would like to write more of this language than I currently do

    33% 67%
    Javascript 238 out of 356 picked Ruby over Javascript Ruby
  74. This language is likely to have a strong influence on future languages

    33% 67%
    Javascript 215 out of 321 picked Ruby over Javascript Ruby
  75. Libraries in this language tend to be well documented.

    32% 68%
    Javascript 153 out of 227 picked Ruby over Javascript Ruby
  76. This language is large

    32% 68%
    Javascript 211 out of 312 picked Ruby over Javascript Ruby
  77. This language has a very coherent design

    32% 68%
    Javascript 216 out of 318 picked Ruby over Javascript Ruby
  78. Third-party libraries are readily available, well-documented, and of high quality

    31% 69%
    Javascript 239 out of 350 picked Ruby over Javascript Ruby
  79. I would use this language for a desktop GUI project

    31% 69%
    Javascript 268 out of 391 picked Ruby over Javascript Ruby
  80. Learning this language significantly changed how I use other languages.

    31% 69%
    Javascript 166 out of 242 picked Ruby over Javascript Ruby
  81. This language has unusual features that I often miss when using other languages

    30% 70%
    Javascript 216 out of 311 picked Ruby over Javascript Ruby
  82. This language is good for numeric computing

    30% 70%
    Javascript 199 out of 286 picked Ruby over Javascript Ruby
  83. I rarely have difficulty abstracting patterns I find in my code

    30% 70%
    Javascript 225 out of 322 picked Ruby over Javascript Ruby
  84. I use this language out of choice

    30% 70%
    Javascript 235 out of 336 picked Ruby over Javascript Ruby
  85. This language has a wide variety of agreed-upon conventions, which are generally adhered to reasonably well, and which increase my productivity

    29% 71%
    Javascript 229 out of 326 picked Ruby over Javascript Ruby
  86. This language would be good for teaching children to write software

    29% 71%
    Javascript 148 out of 210 picked Ruby over Javascript Ruby
  87. This language is likely to be a passing fad

    29% 71%
    Javascript 167 out of 236 picked Ruby over Javascript Ruby
  88. Code written in this language tends to be very reliable

    29% 71%
    Javascript 231 out of 326 picked Ruby over Javascript Ruby
  89. I enjoy using this language

    28% 72%
    Javascript 285 out of 401 picked Ruby over Javascript Ruby
  90. It is easy to tell at a glance what code in this language does

    28% 72%
    Javascript 263 out of 368 picked Ruby over Javascript Ruby
  91. This language excels at symbolic manipulation

    28% 72%
    Javascript 208 out of 291 picked Ruby over Javascript Ruby
  92. This language has a good community

    27% 73%
    Javascript 252 out of 349 picked Ruby over Javascript Ruby
  93. This is a high level language

    27% 73%
    Javascript 270 out of 371 picked Ruby over Javascript Ruby
  94. I would use this language for writing server programs

    26% 74%
    Javascript 271 out of 368 picked Ruby over Javascript Ruby
  95. This language is very flexible

    26% 74%
    Javascript 274 out of 371 picked Ruby over Javascript Ruby
  96. I find this language easy to prototype in

    26% 74%
    Javascript 277 out of 375 picked Ruby over Javascript Ruby
  97. This language has a very dogmatic community

    25% 75%
    Javascript 225 out of 303 picked Ruby over Javascript Ruby
  98. Code written in this language tends to be terse

    24% 76%
    Javascript 277 out of 367 picked Ruby over Javascript Ruby
  99. This language encourages writing code that is easy to maintain.

    24% 76%
    Javascript 162 out of 214 picked Ruby over Javascript Ruby
  100. This language is good for scientific computing

    24% 76%
    Javascript 241 out of 318 picked Ruby over Javascript Ruby
  101. I would use this language for casual scripting

    24% 76%
    Javascript 276 out of 364 picked Ruby over Javascript Ruby
  102. This language has well-organized libraries with consistent, carefully thought-out interfaces

    23% 77%
    Javascript 214 out of 281 picked Ruby over Javascript Ruby
  103. Code written in this language is very readable

    23% 77%
    Javascript 305 out of 397 picked Ruby over Javascript Ruby
  104. I find code written in this language very elegant

    21% 79%
    Javascript 320 out of 407 picked Ruby over Javascript Ruby
  105. This language is expressive

    19% 81%
    Javascript 289 out of 360 picked Ruby over Javascript Ruby
  106. This language is well suited for an agile development approach using short iterations.

    19% 81%
    Javascript 163 out of 203 picked Ruby over Javascript Ruby
  107. This language is best for very large projects

    18% 82%
    Javascript 261 out of 322 picked Ruby over Javascript Ruby
  108. This language encourages writing reusable code.

    17% 83%
    Javascript 181 out of 220 picked Ruby over Javascript Ruby
  109. This language has a good library distribution mechanism.

    17% 83%
    Javascript 174 out of 211 picked Ruby over Javascript Ruby
  110. This language excels at text processing

    13% 87%
    Javascript 284 out of 328 picked Ruby over Javascript Ruby
  111. I would use this language to write a command-line app

    12% 88%
    Javascript 326 out of 373 picked Ruby over Javascript Ruby

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 Javascript and Ruby 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.