3 ms·
I would just caution you that, node/JS has a much greater learning curve when starting out. However once you have gained knowledge of the different libraries (i
by tefla 11y ago
I would just caution you that, node/JS has a much greater learning curve when starting out. However once you have gained knowledge of the different libraries (i'm thinking Promises, Async, lodash) and asynchronous patterns, you can write very powerful code in very few lines of code.
Python on the other hand; you will be able to get up and running, and implement large portions of the functionality that you require in your script, very quickly. The downside comes when you need to worry about optimisation. Without a lot of experience, it can be hard to find out how to go about making Python code fast.
At the end of the day, both are great languages, and have great communities.
- brightball 11y agoThank you. Since performance isn't going to be a huge concern with the spots that this code is used but learning curve is, I've settled on Python. Additionally, since the more intensive side of this will be in a database the math and analytics libraries add some real value. We're using Go for the rest of the microservices and can always revisit the Lambda code if performance becomes a real concern. It's going to be so small that rewriting shouldn't be much of a concern.