Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63598 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52608 invoked from network); 22 Oct 2012 09:27:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Oct 2012 09:27:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=amaury.bouchard@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=amaury.bouchard@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: amaury.bouchard@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gh0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:48747] helo=mail-gh0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/00-52508-27115805 for ; Mon, 22 Oct 2012 05:27:15 -0400 Received: by mail-gh0-f170.google.com with SMTP id g14so446341ghb.29 for ; Mon, 22 Oct 2012 02:27:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=RPBIfkUTcgC2oZRRdYrtXuYzzqENwxcsHyKU1X/mCfw=; b=jUALgMXVaH/HA8tLFPq4M0xGXZmJaW/5LJIrP24d+Vj79+7U0bvJVSHzTSaaZbjeQO 0MZDvF7HT5gVwKbRZRyFKDGnRviUsn/oH6ty3mEVrYuKiyOaEnMyBeN58DOGvJi2lbGX PCV4uWScF9wO9MUDUoJa36vppMBH+ok0PlW17LNPGRq20AVdPRx0JR4d+rsT6qlot+UQ bCaVmCeWwLSu9GaPZE6YFVTfiT0BlAjQg8Q+cwVc0qzSb43aEYgIE088QofXt/rL/kSV 7iMXVDNoURDHbQYB2M7Q6kTeIrMLdzwgDBbP36oFmuRjFYJZy92Dy5anlAok+kcdRsBQ kK2A== Received: by 10.236.134.18 with SMTP id r18mr7525374yhi.45.1350898031671; Mon, 22 Oct 2012 02:27:11 -0700 (PDT) MIME-Version: 1.0 Sender: amaury.bouchard@gmail.com Received: by 10.147.152.21 with HTTP; Mon, 22 Oct 2012 02:26:51 -0700 (PDT) In-Reply-To: <5084281C.9020507@sugarcrm.com> References: <712F4499-949C-4C6F-A142-736A1B156189@gmail.com> <5084281C.9020507@sugarcrm.com> Date: Mon, 22 Oct 2012 11:26:51 +0200 X-Google-Sender-Auth: ulZUWRawbg8vCHK23pg0jUSYu2Q Message-ID: To: Stas Malyshev Cc: Nikita , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=20cf303a360b4e3b0d04cca275fc Subject: Re: [PHP-DEV] Generics proposal From: amaury@amaury.net (Amaury Bouchard) --20cf303a360b4e3b0d04cca275fc Content-Type: text/plain; charset=ISO-8859-1 Nobody wants to turn PHP into Java. But, even if I agree for generics (or templates), I would like to know where is the border line. Classes, exceptions, interfaces, traits, type hinting in parameters => OK Type hinting in object properties, type hinting of returned values, type templating => KO? Maybe we'd save time if it was clearly defined (and accept my apologies if it was already defined somewhere). 2012/10/21 Stas Malyshev > Hi! > > > Hello, list. I want to propose generics. > > Please no. If you need Java, you know where to find it. Java has a set > of great tools, great books, great community. And it's completely free. > Anybody who needs Java can just do it. I see no need to turn PHP into Java. > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --20cf303a360b4e3b0d04cca275fc--