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!

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

Development Tools

Mauricio Duran
Mauricio Duran
6,167 Points

Back-End programming

What is the best programming language for the back-end development of websites

1 Answer

There is no best language. Most people will tell you to use whatever you're most comfortable with. Facebook is written in PHP compiled to C++, Twitter was written in Ruby on Rails but then switched most of it to Scala, and Google uses C++, Java, Python, and Go for their various services. Any backend language can be quite capable, so choose whichever one you know best.

If you don't know any backend languages, PHP is one of the most common language in current deployment, Ruby has a steep learning curve but allows you to write code faster, Python has a shallower learning curve and is highly readable, Node lets you use JavaScript - which you may already know from front-end programming, and Scala is a functional language which makes multithreading simpler.

I have researched this topic while trying to come to a conclusion for myself, and the generalizations above are what I've read most often.