FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » query: how many use PHP for linux scripts
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: query: how many use PHP for linux scripts [message #185908 is a reply to message #185900] Wed, 14 May 2014 09:58 Go to previous messageGo to previous message
crankypuss is currently offline  crankypuss
Messages: 147
Registered: March 2011
Karma:
Senior Member
On 05/14/2014 03:09 AM, The Natural Philosopher wrote:
> On 14/05/14 09:36, crankypuss wrote:
>> Still, since I can use PHP as my own linux scripting language, and use
>> it to write fullblown applications, and have a bunch of PHP code that
>> works fairly decently, I continue in that direction.
>>
>> Apparently without much company, as I read the replies here. <g>
>
> If the first language you learnt in Linux was PHP, then you are likely
> to actually be more faimliar in that environment.
>
> MOST linux scripts are not shell these days. python and perl are more
> common, which means you have to carry the overheadf of all THOSE
> libraries as well.
>
> I cam me to UNIX when there was only shell or C. or AWK :-)
>
>
> Since I was at that time a full time C programmer, I looked askance at
> people constructing massive shell scripts that took enormous amounts of
> CPU to run and were extremely hard to maintain. I generally found that
> beyond the more simple, C was in fact faster to write and easier to
> maintain and ran 100-1000 time faster.
>
>
> PHP is something I use simply because it is a doddle to integrate with
> websites. Nevertheless I think its a pretty poor language.
>
> I never use it outside a web context because frankly C is to my mind
> better, and neater and more in line with the way the operating system is
> itself constructed.
>
> Having got used to dong my own string manipulations, my own memory
> management and my own library construction over many years of writing
> low level code for non UNIX systems in C, the advantages if knowing
> exactly what you are doing completely outweigh the disadvantages of not
> having it done for you.
>
>
> The context and scope of my variables are what I declare them to be, not
> randomly what the PHP designer thought would be handy.
>
> MY variables are static or stack based ad dont need memory management,
> and if I do use malloc() I know how to free() and when to do it.
>
> If I want the third character out if the string str, its simply str[2];
>
> I don't need to invoke a PHP function to get (a copy of) it.
>
> And if it happens to be a hexadecimal code, I dont need to think about
> whether or not its ascii, UTF or an arbitrary bit pattern. It is after
> all 'just a byte'
>
> This isn't in the end anything more than saying that what you understand
> best is often the best for you.
>
> Accept its a personal thing, and don't try to justify it in objective
> terms, when its really subjective.

I can't find anything in your post to take issue with, oh my! <g>

Still, I don't agree with the bottom line implied, perhaps because
rather than being a programmer in the sense that I choose and use the
best tools available, I tend to build tools that include the features
that I find most useful. I don't love every aspect of PHP, but it has
two qualities that I value highly: the code that I need can be
implemented in PHP, and PHP is sufficiently powerful to allow something
better to be constructed by using it as a bootstrap.

Frankly I have yet to find *any* programming language that I think is
"better" in an overall sense than PDP-11 assembler, but I do have some
ideas about how to make one.

The main reason I posed the question that is the subject of this thread
is that I'm wondering if it would be worth the trouble involved to share
some of the applications that I've been developing, and so far it
appears that there simply isn't any interest in anything PHP-based
because PHP is "icky".

If that's the case it'll save me some effort. I don't have unlimited
time for user handholding, and if nobody much uses PHP for anything but
stuffing a few mySQL queries into their websites, that implies that
nobody much would be interested in taking care of themselves, QED
excessive handholding required. So it goes, eh?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get the POST name of a field in a form that uses a counter
Next Topic: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 06:34:47 GMT 2024

Total time taken to generate the page: 0.06498 seconds