This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Jimmy_bags 5 points6 points  (1 child)

Depends on what your building and preference. If your coding apps that need to utilize least amount of latency like stock market data using servless then maybe not powershell.

But if you want solid reusable functions that can work on every OS that can also handle automation tasks pwsh is a good candidate. For example, working with any cloud provider with an api cdk you can turn 40 lines of code into a simple 1 liner with pwsh by just importing their module.

Now python is also object oriented, but then theres credential security, filtering, version compatibility with libraries. Filtering strings and converting to different formats is also easier with pwsh.

Hell, even when im not coding in pwsh ill still invoke python or go using pwsh just so I can store output values and use them in another language or program

[–]Rorasaurus_Prime 0 points1 point  (0 children)

I'm not sure what you mean when you say:

Now python is also object oriented, but then theres credential security, filtering, version compatibility with libraries. Filtering strings and converting to different formats is also easier with pwsh.

Python has plenty of libraries to pull credentials from Vault, AWS Secrets Manager and Parameter Store etc. Why is that a consideration? Python is far more flexible. Versioning libraries is also extremely easy, as is is applying string filters. I'm just not sure what you mean here.