Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript or C++? 1

Status
Not open for further replies.

WhoWasMises

Programmer
Feb 26, 2009
16
US
I need to learn a more modern language to develop on both iPhone iOS and Android. Which is better and why? Please tell me of your experience(s).

Thank you.
 
Neither of the two you listed.

For iOS it is ObjectiveC

For Android it is Java (with a capital 'J') or Kotlin



Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.

Never mind this jesus character, stars had to die for me to live.
 
Thanks for the kind reply. However I am a man of reason so I ask again, why?
 
I have no idea which is 'better' per se as that is a subjective term so only you can decide that, but from an objective point of view,;

Java is better for Android, while Obj..C is better for iOS.

However learning both "Obj.. C" and Java would be advantageous if you intend to target both operating systems. The semantics and structure of both languages are broadly similar so knowing either should make learning the other is relatively straightforward.



Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.

Never mind this jesus character, stars had to die for me to live.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top