Python vs Ruby vs Php

PHP – Hypertext Preprocessor

Difficulty ∗∗         Popularity ∗∗∗∗    Created in 1994

PHP is a server side scripting language designed for web development but also used  as a general purpose programming language.

What is PHP used for?

  • WordPress plugins
  • Web development
  • Creating database enabled pages

Pros of PHP

  • Easy and versatile- It’s a quick and easy server-side scripting language for web development and general use.
  • Large community- Large active community, widely used. Most problems faced by a web developer have pre-existing solutions.
  • Databases- It works well with databases, file systems, images etc.

Cons of PHP

  • Too easy to learn- Lots of atrocious code. It’s a combination of lots of novice developers since PHP is easy to learn) and the fact that some open source code out there is 10+ years old.
  • Speed- PHP language is interpreted and proves to be generally slower than most of its competitors.
  • Error handling- PHP error handling is traditionally considered poor when compared to other programming languages, mainly because of PHP’s development history and its support for older functions.

PHP Job Market

  1. Average salary-$89000
  2. Job count-32589
  3. Top job location- new York city Seattle San Francisco
  4. Top employers of PHP programmers

PHP was used to build…

  • Facebook
  • WordPress

PHP fascinating facts-

PHP originally stood for the personal home page, it now stands for PHP; hypertext pre-processor, which is a recursive acronym.

Rasmus lerdorf created PHP in 1994. He developed a series of common gateway interface (CGI) perl scripts, which he used to maintain his personal homepage.

What can PHP do?

PHP is very versatile and can support the following-

Php, Html5, Css3, JS, Text etc

PHP can also,

  • Collect form data
  • Create, open, read, write and close files on the server.
  • Generate dynamic page content.
  • Restrict users to access some pages on your website.
  • Add, delete, modify, data in your database.
  • Output HTML, images, pdf, swf files, and XHTML.
  • Encrypt data.
  • Send and receive cookies.

python vs ruby


RUBY

Difficulty ∗∗     Popularity ∗∗∗     Created in 1995

Ruby is a dynamic, reflective, object-oriented, general purpose programming language. It’s one of the best languages to start with when you’re first learning to code.

What is ruby used for?

  • Desktop GUIs (Graphic User Interface)
  • Web application
  • Web Development

Pros of ruby

  • Easy to learn- Ruby, like python, is widely regarded as one of the easiest programming languages to learn.
  • Libraries- Extensive and library of amazing tools and functionality that makes building things really easy. Check out RubyGems.org.
  • Large and Growing community- Every major city in the world has a ruby community that runs regular meetups. It’s one of the most popular languages on social coding site Github.

Cons of Ruby

  • Runtime Speed- The most cited argument against Ruby on Rails is that it’s “slow”.
  • Documentation- It can be hard to find good documentation. Particularly for the less popular gems and for libraries which make heavy use of mixins.
  • Performance- RoR apps are not as fast as apps are written in the java or C languages. However, the truth is that for the majority of Ruby on Rails apps are fast enough.

Ruby job market-

  • Average salary-$102000
  • Job count-15287
  • Top job location-  new York city Seattle San Francisco
  • Top employer of Ruby programmers.

Ruby was used to building…

  • Hulu
  • Groupon
  • Airbnb

Ruby fascinating facts

The aim of ruby was to “help every programmer in the world to be productive, and to  enjoy programming, and to be happy.”

Ruby was designed and developed in the mid-1990s by yukihiro “Matz” Matsumoto in japan.

Initially, two names  were proposed :

“Coral” and “ruby” but Yukihiro went with ruby as it was the birthstone of one of his colleagues.

Ruby rails?

Ruby on Rails or simply Rails, is a web app framework written in Ruby under MIT license. Rails is a model-view-controller(MVC) framework, providing default structures for a database, a web service, and web pages.

Ruby is a blend of these programming languages:

  • LISP
  • SmallTalk
  • Ada
  • Perl
  • Eiffel

JAVA vs JavaScript vs Objective C – What to learn first?

C vs C++ vs C# – What to learn first?


python vs ruby

PYTHON

Difficulty ∗         Popularity  ∗∗∗∗       Created in..1991

Python is a server-side interpreted, open-source, non-compiled, scripting language. It can be used on its own, or as part of another framework, like Django.

WHAT IS PYTHON USED FOR?

  • Web Development
  • Video Game Development
  • Desktop GUIs (GRAPHIC USER INTERFACE)
  • Software Development
Pros of Python+
  • Easy to learn: Python is widely regarded as the easiest programming language to learn.
  • Library: Extensive & library of amazing tools & functionality that makes building things really easy.
  • Internet of things: Python may become popular for the internet of things, as new platforms such as Raspberry Pi are based on it.
Cons of Python
  • Speed: As it’s an interpreted language, it’s often quite a lot slower than compiled languages.
  • Mobile: Python is weak in mobile computing. Few smartphone apps are developed in Python.
  • Design: Devotees cited several issues with the design of the language. Python is dynamically typed, it requires more testing & has errors that only show up at runtime.

Python Job Market

  • Average salary: $107,000
  • Job Count: 26,856
  • Top Job Location: New York City Mountain View San Francisco
  • Top employers of Python programmers

Python was used to build…

  • Instagram
  • YouTube
  • Spotify

Fascinating Facts About Python

It was named after the TV show Monty Python’s Flying Circus.

Python was created by programmer Guido van Rossum

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.