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

Still Confuse to choose the right programming language

Hello,

I have been working with wordpress for 2 years, but recently many people ask me to create their company website and also with the apps (especially android).

what programming language should I learn more? PHP or Javacsript? or java? or maybe another language?

Thanks.

2 Answers

Alphonso Sensley II
Alphonso Sensley II
8,514 Points

From what you described about creating company websites; you cant go wrong with javaScript. Also if you learn javascript, the syntax(in my opinion) is somewhat similar to Swift(iOS) and Kotlin(Android) so it might make learning those languages a little easier if you want to start developing mobile apps as well.

Hello Alphonso,

Thanks for your advice. At The Moment, I create company website with wordpress. In your best opinion, what should I learn to create wordpress website become a mobile app?

I agree with this as well. Considering that tools such as React Native exist and are becoming increasingly popular, and that Progressive Web Apps are almost on the same level as native apps, why not take up JavaScript? It'll compliment your WordPress skills especially with Gutenberg using React. In addition, we're starting to see more and more headless WP sites where the front end is entirely JS as well.

Alphonso Sensley II
Alphonso Sensley II
8,514 Points

I see, well if you want to create mobile apps for iOS you'll need to learn Swift. Android devices use primarily Java and Kotlin. So Swift for Apple devices; and Java or Kotlin for Android. Best of luck in your goals!

Luc de Brouwer
seal-mask
.a{fill-rule:evenodd;}techdegree
Luc de Brouwer
Full Stack JavaScript Techdegree Student 17,939 Points

Alphonso Sensley II this, as a matter of fact, is not the only possibility. There is something called the ' Xamarin Forms ' platform within .NET that allows you to develop cross-platform apps that use one coding language, c# to build applications for iOS, Android, and UWP. It makes use of the MVVM coding pattern and PCL's to avoid having to use native code. Which in most cases you don't need.

Xamarin is about 80-90 % shared code and 10% targets native code for specific things.