3 ms·
I treat it pretty much like bash. it's good for scripts. and it's great for serverless tasks like running as an AWS lambda. if you want to run some simple scrip
by itsnowandnever 1y ago
I treat it pretty much like bash. it's good for scripts. and it's great for serverless tasks like running as an AWS lambda. if you want to run some simple script that queries a DB and/or hits an API on a schedule or triggered by an event, Python is arguably the best way to do that because the handler and interpreter work so well together. even still, you'd get better performance with Node.
I don't like Python for "applications" as much. I was at a place almost 10 years ago now that had Python "microservices" running in Kubernetes. managing performance and dependencies for Python in production is just unnecessarily futile compared to something like Go that's also very accessible syntactically.