Re: Command line PHP
| From: | Joshua Kehn | Date: | Fri, 07 Jan 2011 18:54:42 +0000 |
| Subject: | Re: Command line PHP | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310561@lists.php.net to get a copy of this message | ||
On Jan 7, 2011, at 1:48 PM, Nathan Nobbe wrote:
> shrug, you must not be too familiar with php then. 9 times out of 10 it's the natural,
> perfect choice for a cli program. there are situations where you get past what php is ideal for on
> the cli, typically when you get into heavy forking or require threading.
>
> It does completely depend on your mastery of the language. If you're very good with PHP
> and you don't often do non-web things it might not make sense to learn another language as
> well.
>
> why bother learning 2 languages when 1 will suit most needs perfectly? for most folks who work
> with the web and a typical deployment environment like a linux server, the second language of choice
> most likely would be a client side one like javascript.
>
> -nathan
You can't say that PHP is a more natural CLI choice then bash or Python. Maybe I'm using
PHP too much for web development. Perhaps I am unfamiliar with it.
Why bother learning other languages? Is this a joke? Why should someone stop learning ever? Having a
mastery of multiple languages can only enhance you.
Regards,
-Josh
____________________________________
Joshua Kehn | Josh.Kehn@gmail.com
http://joshuakehn.com