Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #13671
| From | crankypuss <crankypuss@nomail.invalid> |
|---|---|
| Newsgroups | alt.os.linux, alt.os.linux.ubuntu, comp.lang.php |
| Subject | Re: query: how many use PHP for linux scripts |
| Date | 2014-05-14 03:58 -0600 |
| Organization | A noiseless patient Spider |
| Message-ID | <lkvend$inq$1@dont-email.me> (permalink) |
| References | (3 earlier) <lkthep$a2h$1@news.albasani.net> <lktn4a$n8q$1@news.albasani.net> <130520142135202128%timstreater@greenbee.net> <lkv9u5$lqa$1@dont-email.me> <lkvbs7$grh$1@news.albasani.net> |
Cross-posted to 3 groups.
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?
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-13 02:17 -0600
Re: query: how many use PHP for linux scripts Arno Welzel <usenet@arnowelzel.de> - 2014-05-13 10:37 +0200
Re: query: how many use PHP for linux scripts Tim Streater <timstreater@greenbee.net> - 2014-05-13 11:52 +0100
Re: query: how many use PHP for linux scripts "Auric__" <not.my.real@email.address> - 2014-05-13 13:28 +0000
Re: query: how many use PHP for linux scripts "Jonathan N. Little" <lws4art@gmail.com> - 2014-05-13 10:29 -0400
Re: query: how many use PHP for linux scripts Collin Pruitt <hellow+newsgroup@binenv.com> - 2014-05-13 11:00 -0400
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-13 10:05 -0600
Re: query: how many use PHP for linux scripts Johnny <johnny@invalid.net> - 2014-05-13 11:32 -0500
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-13 19:09 +0100
Re: query: how many use PHP for linux scripts Tim Streater <timstreater@greenbee.net> - 2014-05-13 21:35 +0100
Re: query: how many use PHP for linux scripts JEDIDIAH <jedi@nomad.mishnet> - 2014-05-13 16:10 -0500
Re: query: how many use PHP for linux scripts Tim Streater <timstreater@greenbee.net> - 2014-05-13 23:03 +0100
Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-13 19:55 -0400
Re: query: how many use PHP for linux scripts Chris Ahlstrom <OFeem1987@teleworm.us> - 2014-05-13 20:26 -0400
Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-13 20:37 -0400
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:18 -0600
Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-14 08:20 -0400
PHP Gui Toolkits (was: query: how many use PHP for linux scripts) Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-14 14:58 +0200
Re: PHP Gui Toolkits crankypuss <crankypuss@nomail.invalid> - 2014-05-15 02:04 -0600
Re: PHP Gui Toolkits Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-15 14:38 +0200
Re: PHP Gui Toolkits The Natural Philosopher <tnp@invalid.invalid> - 2014-05-15 13:59 +0100
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 02:01 -0600
Re: query: how many use PHP for linux scripts Chris Ahlstrom <OFeem1987@teleworm.us> - 2014-05-14 06:40 -0400
Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-14 08:23 -0400
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:00 -0600
Re: query: how many use PHP for linux scripts JEDIDIAH <jedi@nomad.mishnet> - 2014-05-14 14:49 -0500
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 02:44 -0600
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 10:17 +0100
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:39 -0600
Re: query: how many use PHP for linux scripts Tim Streater <timstreater@greenbee.net> - 2014-05-14 12:29 +0100
Re: query: how many use PHP for linux scripts JEDIDIAH <jedi@nomad.mishnet> - 2014-05-14 14:54 -0500
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 21:50 +0100
Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-14 22:49 -0400
Re: query: how many use PHP for linux scripts JEDIDIAH <jedi@nomad.mishnet> - 2014-05-15 09:45 -0500
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-15 17:35 +0100
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 02:07 -0600
Re: query: how many use PHP for linux scripts "Jonathan N. Little" <lws4art@gmail.com> - 2014-05-15 07:58 -0400
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 09:55 -0600
Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-15 08:08 -0400
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 10:04 -0600
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 04:42 +0100
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:21 -0600
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 12:32 +0100
Re: query: how many use PHP for linux scripts Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-14 13:39 +0100
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 15:23 +0100
Re: query: how many use PHP for linux scripts Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-14 20:00 +0200
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 21:48 +0100
Re: query: how many use PHP for linux scripts Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-14 22:18 +0100
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 23:10 +0100
Re: query: how many use PHP for linux scripts Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-14 22:05 +0100
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 23:07 +0100
Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-14 22:51 -0400
Re: query: how many use PHP for linux scripts Jasen Betts <jasen@xnet.co.nz> - 2014-05-15 12:34 +0000
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-15 14:52 +0100
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 10:13 -0600
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-15 17:48 +0100
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-16 01:12 -0600
Re: query: how many use PHP for linux scripts Jasen Betts <jasen@xnet.co.nz> - 2014-05-16 11:29 +0000
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-16 13:03 +0100
PHP integers (was: query: how many use PHP for linux scripts) Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-16 14:16 +0200
Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-15 10:03 -0400
Re: query: how many use PHP for linux scripts Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-15 16:26 +0100
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 10:07 -0600
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-15 17:37 +0100
Re: query: how many use PHP for linux scripts Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-15 19:14 +0200
Re: query: how many use PHP for linux scripts Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-16 02:45 +0100
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-16 09:25 +0100
Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-16 09:14 -0400
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-16 01:17 -0600
Re: query: how many use PHP for linux scripts Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-15 19:33 +0200
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 02:36 -0600
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-14 10:09 +0100
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:58 -0600
Re: query: how many use PHP for linux scripts Allodoxaphobia <knock_yourself_out@example.net> - 2014-05-13 21:23 +0000
Re: query: how many use PHP for linux scripts Mike Yetto <unet.lighthouse@xoxy.net> - 2014-05-13 19:02 -0400
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:24 -0600
Re: query: how many use PHP for linux scripts Mike Yetto <unet.lighthouse@xoxy.net> - 2014-05-14 17:23 -0400
Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-14 22:53 -0400
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 02:13 -0600
Re: query: how many use PHP for linux scripts Chris Ahlstrom <OFeem1987@teleworm.us> - 2014-05-15 06:09 -0400
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-15 10:16 -0600
Re: query: how many use PHP for linux scripts Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-15 18:49 +0200
Re: query: how many use PHP for linux scripts Jasen Betts <jasen@xnet.co.nz> - 2014-05-16 12:02 +0000
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-16 08:17 -0600
init-system, bash, etc. (was: query: how many use PHP for linux scripts) Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-16 18:48 +0200
Re: query: how many use PHP for linux scripts Mike Yetto <unet.lighthouse@xoxy.net> - 2014-05-15 08:02 -0400
Re: query: how many use PHP for linux scripts Aragorn <thorongil@telenet.be.invalid> - 2014-05-15 03:16 +0200
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-13 12:20 -0600
Re: query: how many use PHP for linux scripts Johnny <johnny@invalid.net> - 2014-05-13 13:35 -0500
Re: query: how many use PHP for linux scripts Mike Yetto <unet.lighthouse@xoxy.net> - 2014-05-13 19:04 -0400
Re: query: how many use PHP for linux scripts crankypuss <crankypuss@nomail.invalid> - 2014-05-14 03:26 -0600
Re: query: how many use PHP for linux scripts Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-14 08:28 -0400
Re: query: how many use PHP for linux scripts The Natural Philosopher <tnp@invalid.invalid> - 2014-05-13 17:26 +0100
csiph-web