Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59405 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3634 invoked from network); 7 Apr 2012 14:00:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Apr 2012 14:00:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=tom@punkave.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tom@punkave.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain punkave.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: tom@punkave.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:57620] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/23-23111-778408F4 for ; Sat, 07 Apr 2012 10:00:24 -0400 Received: by yhfq11 with SMTP id q11so1700598yhf.29 for ; Sat, 07 Apr 2012 07:00:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-gm-message-state; bh=Z+Vw9tOR5P6ViqEMDgQ/lZWwQHG3Oew+k4vbmvs3JEY=; b=Ty/+QodkEpQg+xGMCN66+eemozEn+Ks1P3BY44C44TCQILyx0TOtcdhh7J4IAquaWL n0kqKe3sgBgELl3wt+z2ypK0zF6AQZ9topc0W/UVLx6V2XWI8IJQwb76OiBMhRwr940O n+tCQyT+ovQyquy0/8OzYsbvJvHE7DgyLS5X2uISylsFJ7RYGnS6bBxb2++J7ekCdPrO KCBlOpmHuOKgg1LcYNZvVzLJu0oo12ue84ZyIShIfWjidNWHG39sDehTNzig1YdlLzYX gL5BNzNKLRPPoAwHmdqr75irLZnLZnKb1v9y65fwW/BjBkBrRsCcpiUFeZyIYpylamkx o9fg== MIME-Version: 1.0 Received: by 10.236.184.229 with SMTP id s65mr353522yhm.102.1333807221258; Sat, 07 Apr 2012 07:00:21 -0700 (PDT) Received: by 10.100.35.16 with HTTP; Sat, 7 Apr 2012 07:00:21 -0700 (PDT) In-Reply-To: <03FFDCA3-90B2-48CA-B102-7562E0E9CA45@zort.net> References: <03FFDCA3-90B2-48CA-B102-7562E0E9CA45@zort.net> Date: Sat, 7 Apr 2012 10:00:21 -0400 Message-ID: To: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlzGdnJGevJC7ogG3ULLY/1McH2yFtcKfamLMkMoB3NfjTTvvSh+YuASc90cOHVeIltJNXv Subject: Re: [PHP-DEV] PHP class files without wrote: > > On Apr 7, 2012, at 09:39, Tom Boutell wrote: > >>> From the viewpoint of someone writing reusable classes, the need to >> start with > above it is a silly annoyance they don't experience with other tools. >> >> That said, you are making valid points, I'm not convinced myself that >> "file extensions" necessarily should or could be determined in every >> context. But it seems the most viable way of addressing the issue - if >> a viable way even exists. Partly I want to convince myself that this >> either can or can't ever be improved, and move on either way (: > > That "silly annoyance" doesn't seem to bother anyone who writes command l= ine tools, which require the #! line specifying the command interpreter to = be the first bytes in the file, with no leading white space whatsoever. Esp= ecially on unix systems (but also on the Mac), the file extension does not = affirmatively indicate the file type or whether or not it can be executed. > > Also, from a CLI perspective, you don't want extensions in the names of y= our scripts, because then it causes problems/confusion/extra work if you la= ter decide to change the language the script is written in. > > -John > > -- > John Bafford > http://bafford.com/ > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --=20 Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com