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 trialGabriel Ilie
59 PointsWhat should I learn before Python?
Hi. I would like to learn Python, above the intro course that is currently on Treehouse. So I am pondering between the two main tracks that currently are available Ruby on Rails, and PHP. Which should I choose? since both of them provide ample examples on how to make a project start to finish? PHP is easier, bur Ruby is more complex, flexible and close to Python as target of dev.
Thanks.
6 Answers
Kenneth Love
Treehouse Guest TeacherYou don't need Ruby or PHP to learn Python. They're all perfectly capable standalone programming languages in their own right.
Andrew Molloy
37,259 PointsI agree with wishing it was a first language I'd learned. By it's nature of being white space/tab dependent language it would have set up good habits for me in the other languages I use (I'm a very messy programmer).
Alejandro Ñáñez Ortiz
21,184 PointsI wish I had learnt Python as my first programming language.
Go ahead and learn it!!!
:-)
Gabriel Ilie
59 Pointsfirst of all, I am happy to see that this is such an active and prompt community :) I think I phrased a little wrong my question. I want to follow a track in Treehouse, and unfortunately there is no Python track available. I have to chose between Ruby and PHP. So, which should I chose?
Andrew Molloy
37,259 PointsI don't think either is more beneficial than another to combine with Python. It's going to be more down to your personal preference and what is it you want to achieve in terms of goal?
Kenneth Love
Treehouse Guest TeacherThere isn't a Python track yet. There will be.
Andrew Molloy
37,259 PointsMy personal preference and aim is to do PHP track then Ruby/Rails track after, I feel like PHP gives a broader foundation for web server side stuff and to me makes more sense to become comfortable with PHP and then learn Ruby and Rails on top of that.
Alejandro Ñáñez Ortiz
21,184 PointsIf I have to choose, I'd say Ruby.