Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61457 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19123 invoked from network); 19 Jul 2012 06:31:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jul 2012 06:31:31 -0000 Authentication-Results: pb1.pair.com header.from=shadda@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=shadda@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) X-PHP-List-Original-Sender: shadda@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pb0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:43475] helo=mail-pb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/73-22428-2C9A7005 for ; Thu, 19 Jul 2012 02:31:31 -0400 Received: by pbbrp12 with SMTP id rp12so4193557pbb.29 for ; Wed, 18 Jul 2012 23:31:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=vL9ekcCvja/HO6NCD6Qa88EUFK18JksT13oWbYz3Czw=; b=f5B8f6WbIBNEkxJ4FsSDh5u9yemGPhkxUEi6xtY0qzlC8RGjPl4rTsc56ZLbql/1Rl WgoQ64CFkTv6hIf7Vj+TVSbOhMR0AU5/moRspFLyD8SspoDyjsp+lUhWIiNikcqMLKfV Cv3so0HzV6UYyMk9AnpQU/D3NypyKN7xEeBKlg1XwrHjKZeGqmVxuAIul8k7mkzusDK8 ioR2u9hcs7heS046ZmlnkEplNUGLwtciOlri15Ux6EEtfpEEE0GQtASjzMdC9B9Vibcn p2liAVT/E9/GYZdIsHEw9K26v495fj4eitBJstmBgVdrZAObtVSclmuIrr2c9sC5ImEs 8O6w== Received: by 10.68.192.73 with SMTP id he9mr2728750pbc.17.1342679487649; Wed, 18 Jul 2012 23:31:27 -0700 (PDT) Received: from [192.168.1.104] (108-64-76-109.lightspeed.sntcca.sbcglobal.net. [108.64.76.109]) by mx.google.com with ESMTPS id se9sm1163721pbc.25.2012.07.18.23.31.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jul 2012 23:31:26 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: Date: Wed, 18 Jul 2012 23:31:22 -0700 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <2C7C71C2-5BD9-4B9E-A960-C62BBDFCB6F8@gmail.com> References: To: Ronald Chmara X-Mailer: Apple Mail (2.1278) Subject: Re: [PHP-DEV] A new idea on PHP6. From: shadda@gmail.com (Matt Wilson) I'll start off by saying that I am, personally, a great fan of OO. Pure = OO languages have always tickled me just right. But I question the idea that making something pure OO makes it better. = And in PHP, it wouldn't be a mere revamp of the OOP system like php5 = did, it would fundamentally change the language. It wouldn't be PHP = anymore. Also, it'd be slow. Very slow. There's no real way to keep = PHP's model and go the route you're talking without turning the language = into a vegetable. And that's okay. Because PHP isn't a one-size-fits-all tool. It's a web = language, and it excels at being a web language. Why can't we just keep = it that way, and use the tool appropriate for the job at hand? I wish we = could stop trying to make PHP everything to everyone and just accept = that sometimes java is the answer. Or python. Or ruby. Or any other = language or technology that fits. Making PHP 100% OO won't make it better at web development. In fact, I'd = argue it'd do the opposite, as a once simple language would now inherit = not just the features that go with a pure OO language, but also the same = considerations one has to make when dealing with such a language. = Moreover, a change like this would result in one of two outcomes: PHP = follows through with a solid, feature-complete OO language specification = (unlikely) and thus loses the flexibility of being a dirty little = dynamically typed language that cares little for enforcing type = constraints, or, much more likely, we get a half assed solution because = PHP wouldn't be PHP without that flexibility, and it's largely = incompatible with a true OO architecture. Just my $0.02 On Jul 18, 2012, at 11:17 PM, Ronald Chmara wrote: > With PHP 6, lets start with a: > Pure > Object > Oriented > PHP >=20 > ...idea, and extend it out, so we can have a: > Structured > Heuristic > Idealistic > Taxonomy >=20 > ..so we reduce user confusion, and eliminate the vast majority of our > userbase, (thus cutting down on bug reports, of course) so we can > have a: > Heuristic > Accessible > Readable > Available > Helpful > ...language advance. >=20 > (This is not meant as a serious post, but as a post to increase levity > on this list. Your mileage may vary. Cape does not enable the wearer > to fly.) >=20 > -Ronabop >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20