This is for you. You should probably do both if you can, because that way you will have more tools in your programmer’s metaphorical belt.
There are several things that, in my opinion, deserve consideration whenever I am in a similar dilemma.
Is a new language (not just unfamiliar, but actually new, like Go) likely to catch? (If so, it will be practically REQUIRED to study it, not just a good idea.)
You will need to spend some time learning an unfamiliar language. Will this time come as a result of some kind of positive comeback? The development time is obvious here (i.e. you can end up getting more results and return the time spent learning it), but if the language outperforms other methods (works faster or with less memory, it’s best for your specific problem domain), which may also matter.
Learning an unfamiliar language will allow you to solve an urgent / important / urgent problem that cannot be solved with the help of what you already know?
Unfortunately, none of us can tell you how to weigh each of these problems. You need to think about this very carefully and come to an answer on your own.
source share