Java vs PHP vs Stan

Need advice about which tool to choose?Ask the StackShare community!

Java

132.5K
100.2K
+ 1
3.7K
PHP

142.6K
79.7K
+ 1
4.6K
Stan

64
27
+ 1
0
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Java
Pros of PHP
Pros of Stan
  • 599
    Great libraries
  • 445
    Widely used
  • 400
    Excellent tooling
  • 395
    Huge amount of documentation available
  • 334
    Large pool of developers available
  • 208
    Open source
  • 202
    Excellent performance
  • 157
    Great development
  • 150
    Used for android
  • 148
    Vast array of 3rd party libraries
  • 60
    Compiled Language
  • 52
    Used for Web
  • 46
    High Performance
  • 46
    Managed memory
  • 44
    Native threads
  • 43
    Statically typed
  • 35
    Easy to read
  • 33
    Great Community
  • 29
    Reliable platform
  • 24
    Sturdy garbage collection
  • 24
    JVM compatibility
  • 22
    Cross Platform Enterprise Integration
  • 20
    Universal platform
  • 20
    Good amount of APIs
  • 18
    Great Support
  • 14
    Great ecosystem
  • 11
    Backward compatible
  • 11
    Lots of boilerplate
  • 10
    Everywhere
  • 9
    Excellent SDK - JDK
  • 7
    It's Java
  • 7
    Cross-platform
  • 7
    Static typing
  • 6
    Mature language thus stable systems
  • 6
    Better than Ruby
  • 6
    Long term language
  • 6
    Portability
  • 5
    Clojure
  • 5
    Vast Collections Library
  • 5
    Used for Android development
  • 4
    Most developers favorite
  • 4
    Old tech
  • 3
    History
  • 3
    Great Structure
  • 3
    Stable platform, which many new languages depend on
  • 3
    Javadoc
  • 3
    Testable
  • 3
    Best martial for design
  • 2
    Type Safe
  • 2
    Faster than python
  • 0
    Job
  • 951
    Large community
  • 817
    Open source
  • 765
    Easy deployment
  • 487
    Great frameworks
  • 387
    The best glue on the web
  • 235
    Continual improvements
  • 185
    Good old web
  • 145
    Web foundation
  • 135
    Community packages
  • 125
    Tool support
  • 35
    Used by wordpress
  • 34
    Excellent documentation
  • 29
    Used by Facebook
  • 23
    Because of Symfony
  • 21
    Dynamic Language
  • 17
    Cheap hosting
  • 16
    Easy to learn
  • 14
    Awesome Language and easy to implement
  • 14
    Very powerful web language
  • 14
    Fast development
  • 13
    Composer
  • 12
    Flexibility, syntax, extensibility
  • 12
    Because of Laravel
  • 9
    Easiest deployment
  • 8
    Readable Code
  • 8
    Fast
  • 7
    Most of the web uses it
  • 7
    Worst popularity quality ratio
  • 7
    Short development lead times
  • 7
    Fastestest Time to Version 1.0 Deployments
  • 6
    Faster then ever
  • 5
    Open source and large community
  • 5
    Simple, flexible yet Scalable
  • 4
    I have no choice :(
  • 4
    Has the best ecommerce(Magento,Prestashop,Opencart,etc)
  • 4
    Is like one zip of air
  • 4
    Open source and great framework
  • 4
    Large community, easy setup, easy deployment, framework
  • 4
    Great developer experience
  • 4
    Easy to use and learn
  • 4
    Cheap to own
  • 4
    Easy to learn, a big community, lot of frameworks
  • 2
    Walk away
  • 2
    Used by STOMT
  • 2
    Hard not to use
  • 2
    Fault tolerance
  • 2
    Great flexibility. From fast prototyping to large apps
  • 2
    Interpreted at the run time
  • 2
    FFI
  • 2
    Safe the planet
  • 1
    It can get you a lamborghini
  • 1
    Secure
  • 1
    Simplesaml
  • 1
    Bando
  • 0
    Secure
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of Java
    Cons of PHP
    Cons of Stan
    • 33
      Verbosity
    • 27
      NullpointerException
    • 17
      Nightmare to Write
    • 16
      Overcomplexity is praised in community culture
    • 12
      Boiler plate code
    • 8
      Classpath hell prior to Java 9
    • 6
      No REPL
    • 4
      No property
    • 3
      Code are too long
    • 2
      Non-intuitive generic implementation
    • 2
      There is not optional parameter
    • 2
      Floating-point errors
    • 1
      Java's too statically, stronglly, and strictly typed
    • 1
      Returning Wildcard Types
    • 1
      Terrbible compared to Python/Batch Perormence
    • 22
      So easy to learn, good practices are hard to find
    • 16
      Inconsistent API
    • 8
      Fragmented community
    • 6
      Not secure
    • 3
      No routing system
    • 3
      Hard to debug
    • 2
      Old
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is Java?

      Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!

      What is PHP?

      Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

      What is Stan?

      A state-of-the-art platform for statistical modeling and high-performance statistical computation. Used for statistical modeling, data analysis, and prediction in the social, biological, and physical sciences, engineering, and business.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use Java?
      What companies use PHP?
      What companies use Stan?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Java?
      What tools integrate with PHP?
      What tools integrate with Stan?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      Oct 24 2019 at 7:43PM

      AppSignal

      JavaScriptNode.jsJava+8
      5
      957
      Oct 3 2019 at 7:13PM

      Ably Realtime

      JavaScriptPythonNode.js+8
      5
      3829
      Aug 28 2019 at 3:10AM

      Segment

      PythonJavaAmazon S3+16
      7
      2561
      What are some alternatives to Java, PHP, and Stan?
      C lang
      Abstract
      Abstract builds upon and extends the stable technology of Git to host and manage your work.
      Golang
      Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
      Python
      Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
      Scala
      Scala is an acronym for “Scalable Language”. This means that Scala grows with you. You can play with it by typing one-line expressions and observing the results. But you can also rely on it for large mission critical systems, as many companies, including Twitter, LinkedIn, or Intel do. To some, Scala feels like a scripting language. Its syntax is concise and low ceremony; its types get out of the way because the compiler can infer them.
      See all alternatives