3 ms·
Having moved to PHP nine years ago after being unable to find .NET work I have to say it was the right thing to do. The jobs are STILL bountiful, and I can knoc
by donatj 11y ago
Having moved to PHP nine years ago after being unable to find .NET work I have to say it was the right thing to do. The jobs are STILL bountiful, and I can knock out a prototype in PHP in no time flat. There have been a couple instances in the last few months where I built a prototype in a couple hundred lines of PHP then take what I learned and rewrite it as a several thousand line Go application.
I'd argue PHP truly shines on the command line, when I need a script that does what I need and quick. OS X comes with PHP built in and this is wonderful. The invention of phar's akin to Java Jars has made these even more portable, such that you can include all dependencies in a single file.
- hyperpape 11y agoWhy does PHP shine on the command line? OS X ships with Python, Ruby and Perl, Linux ships with Python and Perl (not sure about Ruby).
- mschuster91 11y agoBecause it's fast and easy. Python is a nightmare especially when you copy and paste stuff together from the internet because spaces and tabs are a different thing, Perl is next to unreadable (but immensely powerful) and Ruby is exotic at best. Then there are bash scripts, a drama in itself and only to be used when you want cross-platform/cross-distribution compatibility.