Skip to content

Why use PowerShell instead python #1309

Closed Answered by halx99
paulocoutinhox asked this question in Q&A
Discussion options

You must be logged in to vote

In the future, will only powershell

why?

  • powershell is more powerful for ci/cd
  • powershell syntax is c-like, make programer life relex
  • powershell can invoke system shell commands as-is, i.g. linux: sudo apt install xxx, windows: where.exe pwsh.exe
  • powershell is .net based and it's also can invoke c/c++ dll module
  • powershell is microsoft offical supported product: https://github.com/PowerShell/PowerShell
  • powershell code more simple, i.e. use 56LOC implement sync_folder, python 100+ LOC, refer https://github.com/axmolengine/axmol/blob/dev/1k/sync_folder.ps1 and implement axmol new project with 100LOC instead python 600+LOC
  • powershell7 also cross platform, and on windows axmol only require s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by halx99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1301 on August 27, 2023 02:09.