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 trialKonrad Pilch
2,435 PointsPHP, C++ or the C family, programming
HI,
I heared from a good programmer i believe, and a good teacher that he reccomend to learn C++ because it will teach you everything you need to know. If your into PHP, C++ would be better because it will give you a better start.
Im just curious, culd i go to Obj-C and go to Laraver or just try Pure PHP still? i need to learn OOP inPHP.
WOuld it be ok if i learn both at the same time? I have some experience with PHP, but its just OOP i need to get in real life.
I did very little of Obj-C .
What do you think?
2 Answers
Jacob Bender
15,300 PointsAlmost every major concept is transferable across languages. For the most part loops, arrays. functions, classes, etc work pretty much the same way in every major language, with the real differences being syntax related. First you should figure out what it is you want to do/build. If you want to make apps, build websites, etc, there is really no reason you need to learn C++. If you want to write your own graphics/physics engine or such, learn C++. Programming languages are like multi-tools. C++ has more "features" but you have to know if they are worth learning it. Also, Comparing Obj-C or C++ to PHP is like comparing apples to oranges. They don't look, write, or even feel the same, and they do different things...
There is nothing wrong with learning several languages at once, but it is more important you learn programming fundamentals before worrying about what language to choose. Many people start with Python because it is "easy" to learn and is fairly forgiving.
You should note also that Obj-C is mainly for Apple products, PHP is for web based applications. I don't think learning C++ will help you build websites, but it will teach you how to program... Once you learn one language, picking up the next won't be nearly as hard.
Ted Sumner
Courses Plus Student 17,967 PointsPrior to Treehouse, I had experience with Basic in the mid 1980s and Fortran in the early 90s. Then I had a big break and started Treehouse. By learning HTML, JavaScript, CSS, and PHP at essentially the same time I found I really had to concentrate on the differences. I think the advise regarding learning a language that will be applicable to what you want to do is very good. Pick the language you will use most and really learn it.
I am not jumping into Java or Python right now because I need to focus on really understanding PHP.