|
Posted by Jerry Stuckle on 07/23/05 07:14
SOR wrote:
> <comp.lang.php , Ken Robinson , kenrbnsn@rbnsn.com>
> <1122055165.644465.216020@g43g2000cwa.googlegroups.com>
> <22 Jul 2005 10:59:25 -0700>
>
>>>Why isnt chmod(,) called something like change(,) if the name assigned
>>>to the function isnt important .
>>>
>>>Or do some things only count or have any value when it suits you ? .
>>
>>chmod is a UNIX/Linux command. AFAIK, PHP was first developed on a
>>UNIX/Linux platform, so you would expect some of the familiar commands
>>to be named the same.
>>
>
>
> What a croc of shit .
>
> PHP has been getting developed for how many years ? .
>
> Is putting or adding in something like webpage() beneath them or summit
> and isnt part of php supposed to be about the ease of use .
>
> What do you think the chances are that a newbie will type in headers if
> they want to find out how to goto a new webpage .
I started learning PHP a couple of years ago. It was somewhere around my 18th
or 20th language - I've been programming for close to 40 years, and have
forgotten more languages than I remember.
Even without a Unix background I found PHP quite easy to learn. Like any
language you need to learn the operators, built-in function names and the like.
But it's close enough to C, C++ and Java that I had no real trouble at all.
And yes, I found header() quite easily in the documentation. But I guess that's
because I was already familiar with HTML headers.
As for why chmod() isn't called change() - if you just used change(), what would
you be changing?
Spend a few hours, learn the functions - just like any other language.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|