Re: What *tasks* are hard for PHP? [message #172148 is a reply to message #172144] |
Tue, 01 February 2011 13:19 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to previous message](/forum/theme/default/images/down.png) |
sheldonlg
Messages: 166 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 1/31/2011 7:21 PM, Curtis Dyer wrote:
> 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.
Very much like C.
>
> 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 don't know Perl, and in light of that "enthusiastic" recommendation, I
think I'll pass.
>
>>> 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.
It is excellent. Besides everything else it has great integration with
CMS. Also, it has a memory and you can recover previous editing changes
that were lost. This recovery feature has helped me on more than one
occasion.
>
>> 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.
<sigh>. I always check with the "bible" (php.net) when using many
different functions just for that reason.
--
Shelly
|
|
|