On Tue, Jun 29, 2004 at 07:10:17PM +0000, Daniel Crookston wrote:
> Hi all.  Quick question for you guys.
> 
> I brought up PHP once in the chat room a while ago and caught a lot
> of flak for not using a "real" programming language.  I know that it
> was all in good fun; I'm not complaining or asking for apologies, so
> don't think that please.
> 
> What I'm wondering is this - what is it about PHP that gives it the
> rap of not being a "real" programming language?

Heh.  :-)  Anything that is Turing-reduceable is ``real'', but let's
go past that for a bit...

I feel a lot like this guy at the moment:

http://www.lib.uchicago.edu/keith/crisis/

He's in the midst of a personal crisis regarding programming
languages.  And rightfully so.

My very first programming language was BASIC on my Commodore 64, when
I was 8 years old.  I fear that I suffered irreparable damage from
that experience, but it was better than nothing, I suppose.  I then
went on to learn QuickBasic on my MS-DOS 80386; life without line
numbers was liberating.  Then I started playing the Turbo C around the
time I was 13.  That's when I feel that I first started to become a
real programmer.

My freshman year in college (1997), I learned Java.  With the
induction into the world of object orientation, my paradigm shifted
tremendously.  Worlds of options and opportunities opened up to me as
I basked in the beauty of data and functions co-habitating in neat
little objects floating in the digital ether.

Then I was in a mission office for 10 months and I could only program
in Visual Basic for Applications.  I don't want to talk about it.

At BYU, as an EE undergrad, I fell in love with C++ while gaining
further admiration for C and assembly.  Then I realized that I could
just apply C++-like concepts to my C programming and come up with just
about the same results.  I also picked up Perl on the side.  Around my
senior year, I discovered Ruby.

Now, the only non-ML language I can really tolerate is Ruby.  And I do
so grudgingly.  I picked up some LISP fundamentals earlier this year,
but endless concourses on parenthesis start to annoy me after a while.

That is why I am learning Objective caml (Ocaml).  I am sick of non-
or anti-functional languages.  I am sick of malloc and free, seg
faults, null pointer references, slow interpreters and virtual
machines, explicit typing, laborious string and list manipulation, and
unintuitive interative algorithms.  Ocaml fixes all of that.

To answer your question, PHP has all the shortcomings of traditional,
non-ML languages, and is not a serious contender for large
applications.  It does well for certain web apps and what not.  But is
sucks just as much as Perl or Visual Basic or whatever, for the same
basic reason: it's not ML.  We've come a long way in the area of
programming languages in the last 30 years; C and C-like languages
just need to go away now.

If I want to whip up a web app, I'm likely to use Ruby.  At work, I
use C and assembly, because that's what the kernel's written in.  On
my own time, I'm sticking with Ocaml.

Thanks for listening.  We need a good programming language flamefest
everyone once in a while.

Mike
.___________________________________________________________________.
                         Michael A. Halcrow                          
       Security Software Engineer, IBM Linux Technology Center       
GnuPG Fingerprint: 05B5 08A8 713A 64C1 D35D  2371 2D3C FDDA 3EB6 601D

A computer without a Microsoft operating system is like a dog        
without bricks tied to its head. 

Attachment: pgppZHruCEHez.pgp
Description: PGP signature

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to