JavaScript聽vs聽PHP聽vs聽Python

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

JavaScript

172.8K
128.4K
+ 1
7.5K
PHP

98.2K
43.5K
+ 1
4.5K
Python

116.2K
90.4K
+ 1
6.4K
Decisions about JavaScript, PHP, and Python

Python has become the most popular language for machine learning right now since almost all machine learning tools provide service for this language, and it is really to use since it has many build-in objects like Hashtable. In C, you need to implement everything by yourself.

C++ is one of the most popular programming languages in graphics. It has many fancy libraries like eigen to help us process matrix. I have many previous projects about graphics based on C++ and this time, we also need to deal with graphics since we need to analyze movements of the human body. C++ has much more advantages than Java. C++ uses only compiler, whereas Java uses compiler and interpreter in both. C++ supports both operator overloading and method overloading whereas Java only supports method overloading. C++ supports manual object management with the help of new and delete keywords whereas Java has built-in automatic garbage collection.

See more
Kirill Mikhailov

Go is a way faster than both Python and PHP, which is pretty understandable, but we were amazed at how good we adapted to use it. Go was a blessing for a team , since strict typing is making it very easy to develop and control everything inside team, so the quality was really good. We made huge leap forward in dev speed because of it.

See more
  • Client-Side: \ The form of our product is a web app because we would also provide a dashboard for displaying data and for some further purpose including data filtering and comparison. Hence, we would definitely use HTML5 for structuring the web, CSS3 for styling the web, and JavaScript for building the front-end logic. As for frameworks, we would use React because it is component-based that can keep our front-end code clean and organized. The virtual DOM of React also provides better efficiency in time when rendering the page. Furthermore, React has a greater number of users than Vue and Angular, thus have active communities for problem-spotting and problem-solving. We would also incorporate Bootstrap into our web app to provide an aesthetic user interface and thus to improve the user experience. The fact that Boostrap supports responsive site would also ease our workload if future adaptation for mobiles is needed.
See more
Pros of JavaScript
Pros of PHP
Pros of Python
  • 1.6K
    Can be used on frontend/backend
  • 1.5K
    It's everywhere
  • 1.1K
    Lots of great frameworks
  • 881
    Fast
  • 730
    Light weight
  • 408
    Flexible
  • 374
    You can't get a device today that doesn't run js
  • 278
    Non-blocking i/o
  • 227
    Ubiquitousness
  • 182
    Expressive
  • 44
    Extended functionality to web pages
  • 40
    Relatively easy language
  • 37
    Executed on the client side
  • 22
    Relatively fast to the end user
  • 18
    Pure Javascript
  • 13
    Functional programming
  • 6
    Async
  • 4
    Full-stack
  • 4
    Because I love functions
  • 4
    Setup is easy
  • 4
    JavaScript is the New PHP
  • 3
    Like it or not, JS is part of the web standard
  • 3
    Can be used in backend, frontend and DB
  • 3
    Its everywhere
  • 3
    Expansive community
  • 3
    Future Language of The Web
  • 2
    Evolution of C
  • 2
    For the good parts
  • 2
    Love-hate relationship
  • 2
    Popularized Class-Less Architecture & Lambdas
  • 2
    Everyone use it
  • 2
    Easy to hire developers
  • 2
    Supports lambdas and closures
  • 1
    Versitile
  • 1
    Powerful
  • 1
    1.6K Can be used on frontend/backend
  • 1
    Can be used both as frontend and backend as well
  • 1
    Agile, packages simple to use
  • 1
    Can be used on frontend/backend/Mobile/create PRO Ui
  • 1
    No need to use PHP
  • 1
    It's fun
  • 1
    Its fun and fast
  • 1
    Most Popular Language in the World
  • 1
    Hard not to use
  • 1
    Stockholm Syndrome
  • 1
    Photoshop has 3 JS runtimes built in
  • 1
    Promise relationship
  • 1
    It let's me use Babel & Typescript
  • 1
    Function expressions are useful for callbacks
  • 1
    Scope manipulation
  • 1
    What to add
  • 1
    Clojurescript
  • 1
    Client processing
  • 1
    Everywhere
  • 1
    Only Programming language on browser
  • 1
    Nice
  • 0
    Client side JS uses the visitors CPU to save Server Res
  • 0
    Because it is so simple and lightweight
  • 0
    Easy to make something
  • 0
    Easy
  • 938
    Large community
  • 800
    Open source
  • 754
    Easy deployment
  • 480
    Great frameworks
  • 384
    The best glue on the web
  • 230
    Continual improvements
  • 180
    Good old web
  • 141
    Web foundation
  • 130
    Community packages
  • 123
    Tool support
  • 31
    Used by wordpress
  • 30
    Excellent documentation
  • 25
    Used by Facebook
  • 23
    Because of Symfony
  • 16
    Dynamic Language
  • 14
    Awesome Language and easy to implement
  • 12
    Fast development
  • 11
    Cheap hosting
  • 11
    Very powerful web language
  • 9
    Flexibility, syntax, extensibility
  • 9
    Composer
  • 9
    Because of Laravel
  • 7
    Easy to learn
  • 7
    Short development lead times
  • 7
    Worst popularity quality ratio
  • 7
    Fastestest Time to Version 1.0 Deployments
  • 7
    Readable Code
  • 6
    Easiest deployment
  • 6
    Fast
  • 6
    Faster then ever
  • 5
    Most of the web uses it
  • 4
    Open source and large community
  • 4
    I have no choice :(
  • 3
    Easy to learn, a big community, lot of frameworks
  • 3
    Is like one zip of air
  • 3
    Has the best ecommerce(Magento,Prestashop,Opencart,etc)
  • 3
    Cheap to own
  • 3
    Simple, flexible yet Scalable
  • 3
    Easy to use and learn
  • 2
    Hard not to use
  • 2
    Large community, easy setup, easy deployment, framework
  • 2
    Safe the planet
  • 2
    Walk away
  • 2
    Great flexibility. From fast prototyping to large apps
  • 2
    Used by STOMT
  • 2
    Great developer experience
  • 2
    Open source and great framework
  • 2
    Fault tolerance
  • 2
    FFI
  • 2
    Interpreted at the run time
  • 1.1K
    Great libraries
  • 921
    Readable code
  • 815
    Beautiful code
  • 764
    Rapid development
  • 669
    Large community
  • 414
    Open source
  • 375
    Elegant
  • 264
    Great community
  • 257
    Object oriented
  • 206
    Dynamic typing
  • 68
    Great standard library
  • 51
    Very fast
  • 47
    Functional programming
  • 33
    Scientific computing
  • 31
    Easy to learn
  • 29
    Great documentation
  • 25
    Matlab alternative
  • 22
    Productivity
  • 21
    Easy to read
  • 19
    Simple is better than complex
  • 17
    Imperative
  • 17
    It's the way I think
  • 15
    Very programmer and non-programmer friendly
  • 14
    Free
  • 14
    Powerful
  • 13
    Fast and simple
  • 13
    Powerfull language
  • 12
    Scripting
  • 9
    Explicit is better than implicit
  • 9
    Machine learning support
  • 8
    Unlimited power
  • 8
    Ease of development
  • 7
    Import antigravity
  • 7
    Clear and easy and powerfull
  • 6
    Print "life is short, use python"
  • 6
    It's lean and fun to code
  • 5
    Great for tooling
  • 5
    Fast coding and good for competitions
  • 5
    There should be one-- and preferably only one --obvious
  • 5
    Python has great libraries for data processing
  • 5
    High Documented language
  • 5
    I love snakes
  • 5
    Although practicality beats purity
  • 5
    Flat is better than nested
  • 4
    Readability counts
  • 3
    Multiple Inheritence
  • 3
    Complex is better than complicated
  • 3
    Plotting
  • 3
    Rapid Prototyping
  • 3
    Lists, tuples, dictionaries
  • 3
    Socially engaged community
  • 3
    Great for analytics
  • 3
    CG industry needs
  • 3
    Beautiful is better than ugly
  • 2
    Easy to learn and use
  • 2
    List comprehensions
  • 2
    Generators
  • 2
    Special cases aren't special enough to break the rules
  • 2
    Now is better than never
  • 2
    If the implementation is hard to explain, it's a bad id
  • 2
    If the implementation is easy to explain, it may be a g
  • 2
    Simple and easy to learn
  • 2
    Import this
  • 2
    No cruft
  • 1
    It is Very easy , simple and will you be love programmi
  • 1
    Batteries included
  • 1
    Because of Netflix
  • 1
    Web scraping
  • 1
    Easy to setup and run smooth
  • 1
    Pip install everything
  • 1
    Only one way to do it
  • 1
    A-to-Z
  • 1
    Many types of collections
  • 1
    Flexible and easy
  • 1
    Better outcome
  • 0
    Powerful
  • 0
    Pro

Sign up to add or upvote prosMake informed product decisions

Cons of JavaScript
Cons of PHP
Cons of Python
  • 21
    A constant moving target, too much churn
  • 20
    Horribly inconsistent
  • 13
    Javascript is the New PHP
  • 8
    No ability to monitor memory utilitization
  • 5
    Shows Zero output in case of ANY error
  • 4
    Can be ugly
  • 3
    Thinks strange results are better than errors
  • 1
    No GitHub
  • 19
    So easy to learn, good practices are hard to find
  • 16
    Inconsistent API
  • 8
    Fragmented community
  • 5
    Not secure
  • 2
    No routing system
  • 1
    Hard to debug
  • 1
    Old
  • 48
    Still divided between python 2 and python 3
  • 26
    Performance impact
  • 26
    Poor syntax for anonymous functions
  • 18
    Package management is a mess
  • 18
    GIL
  • 13
    Too imperative-oriented
  • 12
    Hard to understand
  • 10
    Dynamic typing
  • 8
    Very slow
  • 8
    Not everything is expression
  • 7
    Indentations matter a lot
  • 7
    Explicit self parameter in methods
  • 6
    Poor DSL capabilities
  • 6
    No anonymous functions
  • 6
    Requires C functions for dynamic modules
  • 5
    The "lisp style" whitespaces
  • 5
    Hard to obfuscate
  • 4
    The benevolent-dictator-for-life quit
  • 4
    Lack of Syntax Sugar leads to "the pyramid of doom"
  • 4
    Threading
  • 4
    Fake object-oriented programming
  • 4
    Incredibly slow
  • 3
    Not suitable for autocomplete
  • 3
    Official documentation is unclear.
  • 2
    Circular import
  • 1
    Training wheels (forced indentation)
  • 1
    Meta classes

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is JavaScript?

JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.

What is PHP?

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

What is 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.

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

What companies use JavaScript?
What companies use PHP?
What companies use Python?

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

What tools integrate with JavaScript?
What tools integrate with PHP?
What tools integrate with Python?

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

Blog Posts

Sep 29 2020 at 7:36PM
https://img.stackshare.io/company/165617/cbd54fc70c90bdc732b07283f2a61ca8fb8980bd.png logo

WorkOS

PythonSlackG Suite+17
6
2104
PythonDockerKubernetes+7
3
597
May 6 2020 at 6:34AM
https://img.stackshare.io/stack/637945/default_422005e66f7e4963dbcd1f37cfb90fb3d562758a.png logo

Pinterest

JavaScriptC++Varnish+6
3
1774
PythonDockerAmazon S3+14
11
1880
JavaScriptGitHubReact+12
5
2995
Oct 24 2019 at 7:43PM
https://img.stackshare.io/stack/513891/default_86b138c409d64e353c3d509121b4ac1dd9cf31c4.png logo

AppSignal

JavaScriptNode.jsJava+8
5
658
What are some alternatives to JavaScript, PHP, and Python?
TypeScript
TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
Dart
Dart is a cohesive, scalable platform for building apps that run on the web (where you can use Polymer) or on servers (such as with Google Cloud Platform). Use the Dart language, libraries, and tools to write anything from simple scripts to full-featured apps.
CoffeeScript
It adds syntactic sugar inspired by Ruby, Python and Haskell in an effort to enhance JavaScript's brevity and readability. Specific additional features include list comprehension and de-structuring assignment.
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!
See all alternatives
Interest over time