You know python (django & flask) , then nodejs will be easy for you, because :
Node.js is dynamic type like python
Flask routes and node-express routes are 90% similer to use
For db(SQL and noSQL) related stuff , nodejs also has some greate ORM like python
Now come to golang :
It is static type and complied lang (different from js and py)
Although golang is not hard as c or c++ , still it may take some time to move from python or js to golang (my personal opinion)
Golang is great and from performance wise can be better than both js and py (in real life those performance are not that much when think about network ,db calls ,cache etc)
If you are going to learn only one (node or go) , then node will be better because you do not have to spend too much time . For long run ,like 3-4 years , make some time to learn golang , it will really payoff oneday in comming years.
See , right now job market for node.js is in the peek , most of the company adopted it , huge number of modules to plug and play , community suport is very good , above all , node js developers are easily available in the market , so from company point of view , the risk of making a product in node is very low.
On the other hand , golang graph is upword but , market share is still not as much as node. Packages are in good amount but not as much as node , also finding a golang developer is 10x harder than node in current market. But it is changing day by day , as more companies are adopting golang also so as candidates are also adopting golang.
But for golang ,to reach the same market share like node , it will take approx 2,3 year or more(still debatable if it will happen or not) . So if till that time like 2 to 4 years ,you manage to learn and master golang , you may be able to get a very good job.
Disclaimer : my answer was from market point of view , not tech point of view. Tech wish golang is already a proven technology that can be used in any production env.
You know python (django & flask) , then nodejs will be easy for you, because :
Now come to golang :
If you are going to learn only one (node or go) , then node will be better because you do not have to spend too much time . For long run ,like 3-4 years , make some time to learn golang , it will really payoff oneday in comming years.
Thank you for the brilliant answer. I have a One question what do u mean by long run for a go and why?
Yes node would be great for velocity, and Go would be great in the 3-5yr timeline, great suggestions
Long run : means 3-4 years.
See , right now job market for node.js is in the peek , most of the company adopted it , huge number of modules to plug and play , community suport is very good , above all , node js developers are easily available in the market , so from company point of view , the risk of making a product in node is very low.
On the other hand , golang graph is upword but , market share is still not as much as node. Packages are in good amount but not as much as node , also finding a golang developer is 10x harder than node in current market. But it is changing day by day , as more companies are adopting golang also so as candidates are also adopting golang.
But for golang ,to reach the same market share like node , it will take approx 2,3 year or more(still debatable if it will happen or not) . So if till that time like 2 to 4 years ,you manage to learn and master golang , you may be able to get a very good job.
Disclaimer : my answer was from market point of view , not tech point of view. Tech wish golang is already a proven technology that can be used in any production env.
Thank you so much.