How to choose the perfect programming language for your application

How to choose the perfect programming language for your application

So far we learnt about the difference between programming and programming language. We learnt about the most common programming paradigms. Now a question can arise that there are so many languages and how to choose the perfect programming language among them to create an application right?

Well... let’s breakdown some things -

Let’s consider that we have the following languages as an option for the backend :

  • C++
  • Java
  • Dot Net
  • Go
  • PHP
  • Python
  • Node JS
  • Ruby

In order to choose the perfect language for our application. We must ask ourselves two questions

  1. Will there be heavy computing in our application and will our application follow MVC architecture?

  2. Is our application data driven and does it follow request response model?

Well... Let’s Answer these questions one by one :

  1. If there will be heavy computing happening in our application such as image processing, video streaming or any other heavy functionalities and the application we are building follows MVC architecture then we have to consider two options which are Java Spring Boot and Dot Net.

But If there are only heavy computing happening in our application but do not need MVC architecture , just requires simple REST service then we have to consider Golang for our application

But if there are no heavy computing at all then we must consider PHP Laravel , Python Django, Ruby on Rails and JavaScript Node JS.

Now depending on the answer of first question we need to consider the options and then proceed to the question no 2.

  1. If our application is data driven and it also follows request response model then definitely Node JS will be the best options for our application. Because in terms of request response and data driven Node JS is the best language. Node JS will be the best option if our application requires API gateway.

But if our application is not data driven and also it does not require request response model then we can choose any language from PHP , Python or Ruby.