Re: Why is PHP not a "real" language?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Steve Litt via PLUG-discuss
Date:  
To: plug-discuss
CC: Steve Litt
Subject: Re: Why is PHP not a "real" language?
On Sun, 2022-08-28 at 08:09 +0000, David Schwartz via PLUG-discuss wrote:

> My take on PHP is that it has been in a stuck-in-the-middle state for >20 years,
> between being a “structured/procedural programming” and “object-oriented”
> language. Kind of like C++ was before V1.1 or so was introduced.
>
> Still, while you can use both to create OO code, you can also use both to write
> horrid code that runs just fine and doesn’t use any of the class-related language
> constructs.


What's wrong with code with no class-related language constructs.

And please, let's stay away from the "that's soooo 1985" stuff. I'm not swayed at
all by the Appeal to Novelty falacy.

Sure, if I need a chunk of code to represent a cannonball, or a piece of code to be
a template (generic definition, not C++ definition) that others will add to, or a
piece of code to represent a data store, OOP is nice or essential. But for other
things, what is wrong with modular structured code designed with functional
decomposition?

SteveT




---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss