Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

What is the the real difference between php, python and ruby?

There are lot of web apps and e-commerce sites running based on those. Why did they choose that particular lenguage over the other if the other could also of also done it, what is the difference?

2 Answers

Syntax - mostly. As far as I'm aware, all very powerful server side languages. I do believe you could build just about any site you wanted to with any of the languages.

Facebook- started out as PHP and now is transformed to C++ Twitter - started on Rails now Scala Treehouse - RoR Youtube - Python

My guess is the biggest reason for their choice was what they as a developer were most comfortable writing in. Somebody more wise in backend might correct me on this.

Most people new to programming are often confused by a number of programming languages that exist. There's an old joke, asking what's the best language to write my application is like asking what's the best language to try a book in. The best language is the one you know best. Popularity, mind share & familiarity are 3 major factors of why a founder creates a site in that language.

There's not much point in asking the differences between languages unless you are talking about language design. Designing a programming language is vastly outside the scope an introductory site like Treehouse.