3 ms·
This will probably not be particularly popular with the HN crowd, but PHP is also a surprisingly capable general purpose scripting language. It's pre-installed
by deergomoo 5y ago
This will probably not be particularly popular with the HN crowd, but PHP is also a surprisingly capable general purpose scripting language.
It's pre-installed on a lot of systems, backwards compatibility is good, and despite the inconsistencies, the standard lib can do a lot of stuff.
- tored 5y agoAgree, but it would be nice to have access to the entire composer community without setting up a composer environment, so not to toot my own horn, but I wrote proof of concept script to download PHP composer dependencies by parsing comments from the PHP script itself. https://gist.github.com/tored/b500eb7c10fbabbe2043126e51caf2f7 https://gist.github.com/tored/b500eb7c10fbabbe2043126e51caf2... It would be nice to have something like this more integrated within the shell or maybe composer itself.