When comparing Actionscript vs MS PowerShell, the Slant community recommends MS PowerShell for most people. In the question“What is the best programming language to learn first?” MS PowerShell is ranked 64th while Actionscript is ranked 77th. The most important reason people chose MS PowerShell is:
The help system is designed to evolve over time; running `update-help` downloads the latest content. When searching for help on items, you can simply type `help commandname` to get information about a command. If you're not sure what you're looking for, but have a rough idea, you can search on partial command names, or even specify specific verbs to get a list of commands potentially of interest; e.g. `help -verb write`. The information in help gives a good overview of the commands you're looking at, along with code examples, so you can see real-world usage without resorting to the web.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Great for light games
Easy 2D and rich 3D capabilities means ActionScript is a great game prototyping or production tool. Relatively easy to get images on a stage and easy to share with it's wide platform support.
Pro Wide compatability
Runs on all major platforms as an AIR executable or mobile app, as well as in-browser as a FLASH file.
Pro Object-oriented
Teaches strong typed habits and follows many conventions of major programming languages.
Pro Large community
Online games and a colorful history means there are a lot of existing scripts and examples on the internet for available integration as well as tutorials.
Pro Helpful Help
The help system is designed to evolve over time; running update-help
downloads the latest content.
When searching for help on items, you can simply type help commandname
to get information about a command.
If you're not sure what you're looking for, but have a rough idea, you can search on partial command names, or even specify specific verbs to get a list of commands potentially of interest; e.g. help -verb write
.
The information in help gives a good overview of the commands you're looking at, along with code examples, so you can see real-world usage without resorting to the web.
Pro Splatting
When calling a method with multiple parameters, rather than passing one variable per parameter you're able to "splat" one variable to the method, with the parameters taking their values from its properties.
Pro Pipeline
Commands can be chained via the pipeline, allowing output from one to be cleanly fed as input to the next.
Pro Chocolatey Package
PowerShell is installable through Chocolatey.
Pro Extensible
The language can wrap and interact with code written in other language's, making it highly extensible.
Pro Multi-Platform (ish)
Though Windows Powershell only works on Windows, the open source implementation Pash (http://pash.sourceforge.net/) allows the same language to be run on other OSes.
Cons
Con No future
The last stable release is : 3.0 / June 27, 2006. Adobe confirmed there will be no 4.0, ever. This train has stopped long time ago.
Con Not very widely used
Past its hay-day, ActionScript is reserved for more niche products. This in turn means that choosing ActionScript as a career path is often ill-advised. Exceptions include ScaleForm for UI/UX in games (including AAA games) and light apps and games.
Con Waning support
Un-usable in-browser on most mobile devices, ActionScript is used mainly for niche AIR programs, graphical mobile and in-browser apps and games, and in UI/UX using Scaleform.
Con Very verbose
The commands themselves, as well as the output and error messages, are VERY verbose