JavaScript vs. PHP vs. Go

  • 1.43K
  • 4.83K
  • 1.78M
  • 614
  • 10.9K
  • 1.27M
  • 10.3K
  • 9.73K
  • 36.8K
No public GitHub repository stats 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 Go?

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.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose JavaScript?
Why do you like JavaScript?

Why do developers choose PHP?
Why do you like PHP?

Why do developers choose Go?
Why do you like Go?

What are the cons of using JavaScript?
Downsides of JavaScript?

What are the cons of using PHP?
Downsides of PHP?

What are the cons of using Go?
Downsides of Go?

What companies use JavaScript?
6300 companies on StackShare use JavaScript
What companies use PHP?
10320 companies on StackShare use PHP
What companies use Go?
1042 companies on StackShare use Go
What tools integrate with JavaScript?
83 tools on StackShare integrate with JavaScript
What tools integrate with PHP?
56 tools on StackShare integrate with PHP
What tools integrate with Go?
54 tools on StackShare integrate with Go

What are some alternatives to JavaScript, PHP, and Go?

  • HTML5 - 5th major revision of the core language of the World Wide Web
  • Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.
  • Java - A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible
  • ES6 - The next version of JavaScript

See all alternatives to JavaScript

Improved CSS, Extract Vue Component, and More on Jav...
Intro to Javascript debugging with source maps
Stimulus: A modest JavaScript framework for the HTML...
PHP 7.1.27 Released
PHP 7.2.16 Released
PHP 7.3.3 Released
Using Go Modules
The New Go Developer Network
What's new in the Go Cloud Development Kit
Related Stack Decisions
Zach Holman
Zach Holman
at Zach Holman | 18 upvotes 49198 views
JavaScript
Rails
Apollo
React

Oof. I have truly hated JavaScript for a long time. Like, for over twenty years now. Like, since the Clinton administration. It's always been a nightmare to deal with all of the aspects of that silly language.

But wowza, things have changed. Tooling is just way, way better. I'm primarily web-oriented, and using React and Apollo together the past few years really opened my eyes to building rich apps. And I deeply apologize for using the phrase rich apps; I don't think I've ever said such Enterprisey words before.

But yeah, things are different now. I still love Rails, and still use it for a lot of apps I build. But it's that silly rich apps phrase that's the problem. Users have way more comprehensive expectations than they did even five years ago, and the JS community does a good job at building tools and tech that tackle the problems of making heavy, complicated UI and frontend work.

Obviously there's a lot of things happening here, so just saying "JavaScript isn't terrible" might encompass a huge amount of libraries and frameworks. But if you're like me, yeah, give things another shot- I'm somehow not hating on JavaScript anymore and... gulp... I kinda love it.

See more
Hampton Catlin
Hampton Catlin
VP of Engineering at Rent The Runway | 6 upvotes 2021 views
atRent the Runway
React
TypeScript
ES6
JavaScript

We use JavaScript because it's the standard for web development, especially with browser execution. And, over the years, some smart work by the W3C has taken Javascript from the most-hated-language to the okay-I-can-make-that-good. No small feat!

Obviously, using ES6 and TypeScript is what makes it decent in browser contexts. Throw in a bit of React and now we're cooking with gas!

See more
Omid Farhang
Omid Farhang
Sr. Full Stack Developer | 9 upvotes 3301 views
Google Analytics
JavaScript
GitHub
GitHub Pages
gulp
Bootstrap
HTML5

Developing static sites like a landing page for mobile app or just a personal resume using HTML5 and Bootstrap is a lot fun when you are using build tools like gulp . I made a personal resume using above tools and published them on GitHub Pages. It was fast and easy, Thanks to GitHub for the free service. All the JavaScript codes worked perfectly after being concat and minified and uglified by gulp and running perfectly on GitHub Pages. gulp created sitemap and inserted Google Analytics code into all pages and saved about 30% of images size by compressing them during build.

See more


Interest Over Time