BAIC Multimedia, Blog, Just for fun, Tutorials, Windows Support 30.9.2013 Comments Off on Developer Code Wars – Python, Ruby, PHP

Who is this article for? (Developers and non-tech alike)

While watching developers in an IRC channel arguing about their code platform of choice, we realized that most folks don’t know the difference, or why one might be better than another, and then alas…SUBJECTIVITY arises 🙂 -They are all great development languages, but like all tools, you have to use the right one for the job. If you are a developer, realize that this is written from a historical/Sys Admin (server) perspective 🙂 Having said that, let’s talk about the three for a minute:

PHP was designed for web development, and to produce scalable and dynamic web sites. It was created in 1995 by Rasmus Lerdorf. It’s easy to learn if you already have a background in C.

Ruby was designed to make programming fun and flexible for the programmer/developer. It was created in 1995 by Yukihiro “Matz” Matsimoto. It’s designed for ease of use, and ease of finding support documentation.

Python was designed to mostly emphasize productivity and code readability. It was created in 1991 by Guido Van Rossum. Python is designed to be the easiest in terms of reading the code.

For the non-developer, let’s look first at what major sites use what:

code

 

 

 

PHP was influenced by C, PERL, JAVA, C++, and TCL

Ruby was influenced by ADA, C++, CLU, DYLAN, EIFFEL, LISP, PERL, and PYTHON

Python was influenced by ABC, ALGOL 68, C, C++, ICON, JAVA, LISP, and PERL

 

For the developers: Let’s look at the lines of code for each.

Object oriented lines of code, Ruby has the most, where Python and PHP run a close 2nd. Functional, they each seem to run about the same.

Average run time: PHP is considerably slower than Ruby & Python. Python being the fastest of the three (by up to 3 seconds on avg)

Looking for work? The market seems to be FLOODED with PHP developers. They dominate the market, whereas there are quite a few Ruby and Python developers out there.

Conversely, there are more open job positions for good PHP developers than there are for Ruby and Python.

Novice looking to learn? You may just look at websites that you visit just a little differently 🙂 And if you decide to become  developer, you might just change the way that the world sees the web!

 

Comments are closed.