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

Which programming language should I choose?

Hello

I am a keen learner. I have the passion of learning new languages and new codes.

But nowadays, I am facing a serious problem. I am not able to understand which language should I master in? I know a number of languages but I am not a master of any one.

This is the time I need to create my career but I'm confused. I have tried in PHP, Python, C, C++, Java, Ruby.

These days I was learning AngularJS which is not my field. I am good at backend.

Can you please advice which language should I opt for earning a better job in Canada?

I respect your views. Please also tell me how to start with my life as a programmer and become a dedicated successful programmer.

Thank You

3 Answers

It's hard to completely "master" a language, but you should attempt to do so with at least one. Once you learn a language in depth, you have the ability to learn others. If you are interested in back-end development, I would suggest PHP or python. Go through the PHP track here at Treehouse, buy a good php book, etc.

The main key here is to never give up! Say you are going to choose PHP. Once you begin learning, keep going. Go as deep as possible into PHP, practice and practice. Once you have gone through some tutorials and book examples, try writing your own PHP application. I think this is a stage that all aspiring programmers go through, since it is almost overwhelming the amount of languages out there.

In my case, I learned JAVA at school. We went as far as getting into the basics of object oriented applications, didn't really get into GUI's or anything like that. However, I now know the basics of programming. My goal is to apply my JAVA knowledge to PHP and Javascript. I am going to learn Javascript first, because I want to start with the front-end side of things.

Good luck!

Hello

Thanks for your valuable reply. I understood what you want to say.

Just one question: PHP or Python?

Thank You

That's up to you! I'm choosing PHP, because most Content Management Systems are built in PHP(Wordpress, Drupal, etc.). If you want to develop your own Wordpress themes or Drupal themes, I would learn PHP.

Okay! Thank You :)

My best advice would to focus more on the computer science aspect of programming vs which language you should learn. Being able to understand types, objects, variables, methods, classes, etc will go a long way towards learning any language. Syntax is going to differ among languages but those concepts typically remain the same or close enough so that you aren't relearning them very often. There are a lot of books out there that focus on all of these concepts, without going into language specific details.

With that being said, you still need to start somewhere and that somewhere really depends on what you plan on doing. PHP and/or Javascript are great places to start as others have said because they are used in so many places. There has been a huge resurgence of Javascript which is used on the web, natively on devices, and embedded systems too. It sounds like you really like working on the backend of systems so PHP, NodeJS, Ruby on Rails would all be good places for that type of work, Python is also a good choice.

I've personally hopped around with languages and have built extensive APIs, Angular based apps, WordPress commerce sites, intranets, but the one thing that was always a constant is the basic fundamentals of computer programming. All of those languages have been easier to pick up because of the prior knowledge I had.

Hi

Thanks for your valuable feedback. I really appreciate your views.

I completely agree with you. Is it a good start to work with Python and PHP both? I have been working on PHP since last two years but didn't have a very good experience yet.

Thank You

I don't typically recommend learning more than one language at a time, with the exception of HTML,CSS, and maybe a little JS but even then it's hard to. Working with any language is going to take time, and you have to constantly put forth time and energy to learn new and more advance features.

I've been working with PHP for 10 years now and I am still learning things, on top of that new features come out and you have to learn those as well. Using courses like Treehouse are a great way to learn some of those features you might not normally come across or need in your projects. The rest just comes with time.

Your experience is going to grow as you use the language more and more, especially if you work for a digital agency that supplies you with work, especially if that work challenges you. That is probably the hardest part, finding ways to challenge yourself to grow. If you can, find some volunteer work and do that too, often times there are non-profits that could use the little extra help, and it is a chance to try out new things.

As far as which to learn, that is entirely up to you. If you want to try to learn both, although I don't recommend it, then go for it, only you know how capable you are of learning multiple things at once. If you see yourself doing more web based programming then PHP and Javascript are going to be a better investment than Python, which used for the web tends to be better at data science.