Re: What *tasks* are hard for PHP? [message #172144 is a reply to message #172070] |
Tue, 01 February 2011 00:21 |
Curtis Dyer
Messages: 34 Registered: January 2011
Karma:
|
Member |
|
|
On 1/29/2011 5:33 AM, Leonardo Azpurua wrote:
> "P E Schoen" <paul(at)pstech-inc(dot)com> wrote:
> "Curtis Dyer" wrote in message
> news:ii09q8$gi6$1(at)news(dot)eternal-september(dot)org...
>
>> Well, to be honest, I don't feel comfortable with either Perl or PHP.
>> There just seem to be too many arcane and obscure ways to do
>> things, such as the undef of the line by line file read above.
PHP is syntax is more reminiscent of C's. PHP's syntax is generally
more straightforward than Perl's.
One of the guiding principles of Perl is that "There's more than one way
to do it." This means that, while you can use obscure techniques, you
are by no means bound to use them. I very rarely use Perl, but once you
get the basic idea behind a few special variables and learn to look
through the manual efficiently, it's not so bad.
>> I suppose I've been spoiled by integrated development environments
>> like Borland Delphi, where I have the convenience of an extensive help
>> menu with examples and debugger built into the same application
>> as the editor, and I've been able to build upon a rudimentary general
>> knowledge of the programming language to add functionality as I need
>> it.
<snip>
> Don't try to "approach PHP from Perl". They are two completely different
> beasts, even if they are more or less designed for the same purpose.
I may be mistaken, but I don't believe Perl was initially designed with
a primary focus on server-side scripting. PHP, however, was.
<snip>
> I haven't tried the PHP plugins fo either NetBeans or Eclipse, but if
> they are half as good as they are for Java, then they should be quite
> confortable to work with.
I've used the PHP plug-in for Eclipse here and there, although I'm not a
big IDE fan. It seems to be very good, though.
> Some people complains about the many redundant libraries available in
> PHP.
Hm, that's a new one for me. I don't think I've seen any complaints
about redundant libraries. Most of the complaints I've read about PHP's
libraries have been concerning the inconsistent naming conventions.
<snip>
--
"Don't worry about efficiency until you've attained correctness."
- Eric Sosman, c.l.c
|
|
|