DEV Community

Discussion on: Which programming languages do you use and why?

Collapse
 
petarov profile image
Petar G. Petrov • Edited

To answer the Why did you learn these programming languages? question, I offer my Rule of 3 strategy. It has mostly an economics incentive. At any time I'd like to concentrate on practicing 3 languages.

  1. Tier 1 - A language that you use for your main income, i.e., at your workplace.
  2. Tier 2 - A language to fall back to or use for freelancing projects, i.e., additional income.
  3. Tier 3 - A language to experiment with and write side projects. It might jump to Tier 2 or Tier 1 at some point when you become good enough with it.

At the beginning of my career the tiers were:

1. C++
2. PHP
3. Java

Then at some point I switched to.

1. Java
2. PHP
3. JavaScript

Nowadays it looks like that:

1. Java
2. JavaScript
3. Kotlin

So yeah. That's my Rule of 3.