programming languages

Rank

Java vs Python

  1. This language has a strong static type system

    92% 8%
    Java 714 out of 772 picked Java over Python Python
  2. Code written in this language tends to be verbose

    89% 11%
    Java 707 out of 788 picked Java over Python Python
  3. There are many good commercial tools for this language

    86% 14%
    Java 616 out of 715 picked Java over Python Python
  4. Writing code in this language is a lot of work

    86% 14%
    Java 682 out of 792 picked Java over Python Python
  5. This is a mainstream language

    84% 16%
    Java 452 out of 534 picked Java over Python Python
  6. This language is large

    81% 19%
    Java 550 out of 677 picked Java over Python Python
  7. The thought that I may still be using this language in twenty years time fills me with dread

    80% 20%
    Java 593 out of 737 picked Java over Python Python
  8. There is a lot of accidental complexity when writing code in this language

    80% 20%
    Java 581 out of 723 picked Java over Python Python
  9. This language is unusually bad for beginners

    80% 20%
    Java 643 out of 802 picked Java over Python Python
  10. This language has an annoying syntax

    78% 22%
    Java 416 out of 527 picked Java over Python Python
  11. This is a low level language

    77% 23%
    Java 610 out of 784 picked Java over Python Python
  12. I often get angry when writing code in this language

    77% 23%
    Java 381 out of 494 picked Java over Python Python
  13. If my code in this language successfully compiles, there is a good chance my code is correct.

    76% 24%
    Java 356 out of 463 picked Java over Python Python
  14. Developers who primarily use this language often burn out after a few years

    76% 24%
    Java 405 out of 528 picked Java over Python Python
  15. Programs written in this language will usually work in future versions of the language

    75% 25%
    Java 520 out of 687 picked Java over Python Python
  16. This language is suitable for real-time applications

    75% 25%
    Java 496 out of 659 picked Java over Python Python
  17. This language excels at concurrency

    74% 26%
    Java 530 out of 708 picked Java over Python Python
  18. This language is frequently used for applications it isn't suitable for

    73% 27%
    Java 479 out of 651 picked Java over Python Python
  19. There are many good tools for this language

    73% 27%
    Java 516 out of 702 picked Java over Python Python
  20. I learned this language early in my career as a programmer

    73% 27%
    Java 407 out of 554 picked Java over Python Python
  21. This language is best for very large projects

    72% 28%
    Java 528 out of 727 picked Java over Python Python
  22. I know many other people who use this language

    69% 31%
    Java 546 out of 788 picked Java over Python Python
  23. I am reluctant to admit to knowing this language

    69% 31%
    Java 397 out of 575 picked Java over Python Python
  24. I would use this language for mobile applications

    68% 32%
    Java 536 out of 781 picked Java over Python Python
  25. This language has many features which feel "tacked on"

    68% 32%
    Java 441 out of 647 picked Java over Python Python
  26. Programs written in this language tend to be efficient

    67% 33%
    Java 516 out of 760 picked Java over Python Python
  27. I would use this language for writing embedded programs

    67% 33%
    Java 71 out of 105 picked Java over Python Python
  28. This language has a very rigid idea of how things should be done

    67% 33%
    Java 522 out of 775 picked Java over Python Python
  29. I am sometimes embarrassed to admit to my peers that I know this language

    67% 33%
    Java 422 out of 627 picked Java over Python Python
  30. Code written in this language will usually run in all the major implementations if it runs in one of them.

    66% 34%
    Java 303 out of 457 picked Java over Python Python
  31. I would use this language for writing programs for an embedded hardware platform

    66% 34%
    Java 461 out of 696 picked Java over Python Python
  32. This language is good for distributed computing

    65% 35%
    Java 456 out of 692 picked Java over Python Python
  33. I use a lot of code written in this language which I really don't want to have to make changes to

    64% 36%
    Java 220 out of 341 picked Java over Python Python
  34. I usually use this language on projects with many other members

    63% 37%
    Java 463 out of 724 picked Java over Python Python
  35. This language is likely to be around for a very long time

    62% 38%
    Java 462 out of 739 picked Java over Python Python
  36. Third-party libraries are readily available, well-documented, and of high quality

    60% 40%
    Java 452 out of 746 picked Java over Python Python
  37. When I run into problems my colleagues can provide me with immediate help with this language

    59% 41%
    Java 411 out of 695 picked Java over Python Python
  38. This language is well documented

    58% 42%
    Java 435 out of 740 picked Java over Python Python
  39. I often feel like I am not smart enough to write this language

    58% 42%
    Java 228 out of 389 picked Java over Python Python
  40. It's unusual for me to discover unfamiliar features

    57% 43%
    Java 392 out of 677 picked Java over Python Python
  41. Code written in this language tends to be very reliable

    57% 43%
    Java 425 out of 735 picked Java over Python Python
  42. I use many applications written in this language

    57% 43%
    Java 449 out of 778 picked Java over Python Python
  43. Libraries in this language tend to be well documented.

    57% 43%
    Java 278 out of 482 picked Java over Python Python
  44. This language allows me to write programs where I know exactly what they are doing under the hood

    57% 43%
    Java 438 out of 761 picked Java over Python Python
  45. When I write code in this language I can be very sure it is correct

    57% 43%
    Java 431 out of 750 picked Java over Python Python
  46. It is easy to debug programs written in this language when it goes wrong

    56% 44%
    Java 415 out of 730 picked Java over Python Python
  47. This language has a high quality implementation

    55% 45%
    Java 272 out of 491 picked Java over Python Python
  48. This language has a niche outside of which I would not use it

    54% 46%
    Java 392 out of 713 picked Java over Python Python
  49. I find it easy to write efficient code in this language

    54% 46%
    Java 428 out of 779 picked Java over Python Python
  50. There are many good open-source tools for this language

    54% 46%
    Java 409 out of 749 picked Java over Python Python
  51. This language makes it easy to shoot yourself in the foot

    54% 46%
    Java 328 out of 602 picked Java over Python Python
  52. This language has a very dogmatic community

    53% 47%
    Java 344 out of 638 picked Java over Python Python
  53. I would list this language on my resume

    53% 47%
    Java 399 out of 746 picked Java over Python Python
  54. I know this language well

    53% 47%
    Java 3861 out of 7234 picked Java over Python Python
  55. I would use this language for writing server programs

    52% 48%
    Java 385 out of 733 picked Java over Python Python
  56. I would use this language for a desktop GUI project

    51% 49%
    Java 429 out of 827 picked Java over Python Python
  57. It is too easy to write code in this language that looks like it does one thing but actually does something else

    50% 50%
    Java 323 out of 638 picked Java over Python Python
  58. This language has well-organized libraries with consistent, carefully thought-out interfaces

    49% 51%
    Java 332 out of 653 picked Python over Java Python
  59. There is a wide variety of open source code written in this language

    46% 54%
    Java 402 out of 750 picked Python over Java Python
  60. This language encourages writing reusable code.

    46% 54%
    Java 267 out of 496 picked Python over Java Python
  61. The resources for learning this language are of high quality

    46% 54%
    Java 398 out of 738 picked Python over Java Python
  62. This language is likely to be a passing fad

    45% 55%
    Java 314 out of 573 picked Python over Java Python
  63. I can imagine using this language in my day job

    43% 57%
    Java 467 out of 831 picked Python over Java Python
  64. I enjoy playing with this language but would never use it for "real code"

    43% 57%
    Java 371 out of 652 picked Python over Java Python
  65. This language is good for numeric computing

    42% 58%
    Java 391 out of 685 picked Python over Java Python
  66. I regularly use this language

    41% 59%
    Java 505 out of 863 picked Python over Java Python
  67. This language has a wide variety of agreed-upon conventions, which are generally adhered to reasonably well, and which increase my productivity

    41% 59%
    Java 409 out of 698 picked Python over Java Python
  68. Programs written in this language tend to play well with others

    40% 60%
    Java 406 out of 677 picked Python over Java Python
  69. This language encourages writing code that is easy to maintain.

    37% 63%
    Java 298 out of 476 picked Python over Java Python
  70. This language has a good library distribution mechanism.

    36% 64%
    Java 299 out of 468 picked Python over Java Python
  71. This language has a very coherent design

    35% 65%
    Java 441 out of 688 picked Python over Java Python
  72. I rarely have difficulty abstracting patterns I find in my code

    35% 65%
    Java 453 out of 701 picked Python over Java Python
  73. Learning this language significantly changed how I use other languages.

    34% 66%
    Java 339 out of 521 picked Python over Java Python
  74. This language is likely to have a strong influence on future languages

    34% 66%
    Java 459 out of 705 picked Python over Java Python
  75. If this language didn't exist, I would have trouble finding a satisfactory replacement

    34% 66%
    Java 442 out of 676 picked Python over Java Python
  76. This language is easier to use for it's problem domain by removing unneeded expressiveness (such as not being Turing complete).

    33% 67%
    Java 154 out of 233 picked Python over Java Python
  77. Learning this language improved my ability as a programmer

    33% 67%
    Java 519 out of 782 picked Python over Java Python
  78. I can imagine this will be a popular language in twenty years time

    32% 68%
    Java 485 out of 718 picked Python over Java Python
  79. This language has a niche in which it is great

    31% 69%
    Java 484 out of 710 picked Python over Java Python
  80. This language is good for scientific computing

    31% 69%
    Java 507 out of 742 picked Python over Java Python
  81. This language matches it's problem domain particularly well.

    31% 69%
    Java 302 out of 440 picked Python over Java Python
  82. This language is built on a small core of orthogonal features

    31% 69%
    Java 397 out of 576 picked Python over Java Python
  83. This language has a good community

    31% 69%
    Java 511 out of 741 picked Python over Java Python
  84. I often write things in this language with the intent of rewriting them in something else later

    30% 70%
    Java 380 out of 548 picked Python over Java Python
  85. I usually use this language on solo projects

    30% 70%
    Java 531 out of 760 picked Python over Java Python
  86. I still discover new features of this language on a fairly regular basis

    27% 73%
    Java 464 out of 641 picked Python over Java Python
  87. The semantics of this language are much different than other languages I know.

    26% 74%
    Java 322 out of 440 picked Python over Java Python
  88. I use this language out of choice

    26% 74%
    Java 548 out of 746 picked Python over Java Python
  89. I would recommend most programmers learn this language, regardless of whether they have a specific need for it

    26% 74%
    Java 404 out of 547 picked Python over Java Python
  90. I would use this language for a web project

    25% 75%
    Java 608 out of 815 picked Python over Java Python
  91. It is easy to tell at a glance what code in this language does

    24% 76%
    Java 607 out of 809 picked Python over Java Python
  92. This language is minimal

    23% 77%
    Java 550 out of 716 picked Python over Java Python
  93. I enjoy using this language

    22% 78%
    Java 681 out of 882 picked Python over Java Python
  94. Code written in this language is very readable

    21% 79%
    Java 621 out of 790 picked Python over Java Python
  95. This is a high level language

    21% 79%
    Java 663 out of 843 picked Python over Java Python
  96. I would like to write more of this language than I currently do

    21% 79%
    Java 612 out of 777 picked Python over Java Python
  97. This language is well suited for an agile development approach using short iterations.

    21% 79%
    Java 353 out of 448 picked Python over Java Python
  98. This language excels at symbolic manipulation

    21% 79%
    Java 498 out of 632 picked Python over Java Python
  99. This language is good for beginners

    17% 83%
    Java 686 out of 836 picked Python over Java Python
  100. I would use this language to write a command-line app

    17% 83%
    Java 662 out of 800 picked Python over Java Python
  101. This language is expressive

    17% 83%
    Java 655 out of 790 picked Python over Java Python
  102. This language has unusual features that I often miss when using other languages

    16% 84%
    Java 615 out of 738 picked Python over Java Python
  103. This language is very flexible

    16% 84%
    Java 654 out of 781 picked Python over Java Python
  104. I find code written in this language very elegant

    16% 84%
    Java 697 out of 831 picked Python over Java Python
  105. I find this language easy to prototype in

    15% 85%
    Java 671 out of 798 picked Python over Java Python
  106. This language excels at text processing

    15% 85%
    Java 630 out of 742 picked Python over Java Python
  107. Code written in this language tends to be terse

    14% 86%
    Java 643 out of 754 picked Python over Java Python
  108. This language is best for very small projects

    11% 89%
    Java 641 out of 728 picked Python over Java Python
  109. This language would be good for teaching children to write software

    11% 89%
    Java 461 out of 522 picked Python over Java Python
  110. I would use this language as a scripting language embedded inside a larger application

    8% 92%
    Java 656 out of 717 picked Python over Java Python
  111. I would use this language for casual scripting

    8% 92%
    Java 727 out of 792 picked Python over Java Python

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 Java and Python 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.