Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71342 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17656 invoked from network); 20 Jan 2014 20:17:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2014 20:17:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.160.49 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.160.49 mail-pb0-f49.google.com Received: from [209.85.160.49] ([209.85.160.49:50272] helo=mail-pb0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FA/46-02192-63F7DD25 for ; Mon, 20 Jan 2014 14:55:35 -0500 Received: by mail-pb0-f49.google.com with SMTP id up15so6840099pbc.22 for ; Mon, 20 Jan 2014 11:55:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=0RZUn+Cs00MJIz9VTyWtO8gNjJDagLsLwC9bPTkhNtk=; b=W8jTXhLtp/1xmnjT2sf5bahuGlsvULTT4mBJdAy7qPGwH7LEn7AfmCiGDDhwzoFiUi 2KygxF5yBDxHYLsvj6vIqL4VDCESfcOaQU1gMfOBdRlPTIEYu52UNmbUEDI+XX8ubM0j jv4bCohtxsKpE2I+yxVR1shbp27U74o4/MdOa3Q3slnkUK5QOv1NLyDxogjMLfcih2aC q4fe1K81CmteBDYIK8thtn7DYlLiOJkbnOKgneCKvRNZbBnegXvINOF5owKVzDEooozd uHIpUUEXyUorFeBKZqyXYyo8sy7aciNYvkLR0iNesAMAUic7a7JquGs5hrU1tQskquXE 8Z1A== X-Gm-Message-State: ALoCoQlfGKCxd6eTsJ4NsY9+Rqnewq/eLs5d61eyaCnSBzvBydN/A6eLxxHiQ/7rhdSt8+ZJ038j MIME-Version: 1.0 X-Received: by 10.68.241.134 with SMTP id wi6mr20318182pbc.44.1390247731986; Mon, 20 Jan 2014 11:55:31 -0800 (PST) Sender: php@golemon.com Received: by 10.70.77.164 with HTTP; Mon, 20 Jan 2014 11:55:31 -0800 (PST) X-Originating-IP: [2001:470:1f09:2fa:22c9:d0ff:fe87:295b] In-Reply-To: References: <005001cf124f$3a40df00$aec29d00$@tutteli.ch> <20140116110127.202079vzjsj76n7b@webmail.tutteli.ch> <0B.B1.24763.139B7D25@pb1.pair.com> <002001cf12da$2bfbda90$83f38fb0$@tutteli.ch> <52DCA3E7.80602@lerdorf.com> <52DCED71.3020207@pthreads.org> <006301cf15f5$22f8df60$68ea9e20$@tutteli.ch> <52DD77E8.8000800@ajf.me> Date: Mon, 20 Jan 2014 11:55:31 -0800 X-Google-Sender-Auth: cuKWLc8tgX-BsD3r0esdTubsAQY Message-ID: To: Philip Sturgeon Cc: Andrea Faulds , Philip Sturgeon , Robert Stoll , Joe Watkins , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Introducing "Array Of" RFC From: pollita@php.net (Sara Golemon) >> This is a quite good point. If we're introducing limited-scope Generics >> here, what's wrong with using Generics syntax, especially since it will be >> familiar to C#, C++ and Java users? > > If we use the generics syntax for not-generics, then we can't EVER > implement generics properly, so that would be an incredibly bad idea. > That's an excellent point, and all the better reason to discuss their overlap NOW, rather than further down the road when we can't change arrayof syntax. To borrow from another message in this thread: Dictionary[] foo <-- Is that *really* what you want an array of int->string dictionaries to look like? Really? -Sara