Subscribe / Unsubscribe Enewsletters | Login | Register

Pencil Banner

Which is the best programming language to learn on my Mac?

Lucy Hattersley | July 6, 2016
Best programming languages for coders. Swift, Python, Java, C & Perl compared

Coding has never been more popular, and learning to program in Mac OS X is a great skill to get. But which programming language is best to learn? There are dozens (if not hundreds) of programming languages around, and each was developed for a purpose.

So choosing a programming language to start out with can be a real challenge. Should you go with Apple's own Swift language, or another popular rival like Python or Java? C-based languages, like C, C++, Objective-C or C#, are used to write many programs. So is C a better choice to learn?

There are far more options to consider: PHP is used widely on the web, and powers big sites like Facebook. And languages like R, MATLAB and Mathematica are used by data scientists

Or should you throw it all in the wind and learn Assembly Language, the language that's closest to the machine hardware (hint: "no")

What's the best programming language to learn on my Mac?

Java is the best programming language to learn in OS X

Picking the best language is a tricky business. Best is a subjective term, and opinion varies wildly on which is the best programming language.

The Stack Exchange Developer Survey is a good place to find what developers thing. The top 12 Most Popular Technologies are:

  1. JavaScript
  2. SQL (or SQL Server)
  3. Java
  4. C#
  5. PHP
  6. Python
  7. C++
  8. C
  9. js
  10. AngularJS
  11. Ruby
  12. Objective-C

That list gives you a pretty good overview of which technologies to learn. Sharp-eyed readers will notice a distinct lack of Apple's new Swift language on that list. Don't assume that Developers don't like Swift (it ranks as the second "most loved" language on Stack Exchange, after Rust).

If developing iOS apps is your game, then Swift is the language you'll need to learn. But it seems that there's more activity in other languages (although Swift is trending highly on Stack Exchange and next year might tell a very different story).

Is JavaScript the best language to learn?

It's important not to confuse JavaScript with Java. JavaScript is a scripting language used to create interactive web pages while Java is a programming language created by Oracle. Java is mainly used to program Android devices.

JavaScript is more limited than Java, or other programming languages. But it's a good place to start if you have zero programming experience. You can learn JavaScript alongside HTML and CSS to create vibrant websites. You can build something pretty stunning with just a little JavaScript, and quickly see results online. And it'll help you move onto Java.

Should I learn Java, Python or Swift on my Mac?

Learn Python in Mac OS X

 

1  2  Next Page 

Sign up for CIO Asia eNewsletters.