From owner-freebsd-questions@FreeBSD.ORG Wed Apr 7 12:10:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AD35106564A for ; Wed, 7 Apr 2010 12:10:01 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id 1F2828FC0A for ; Wed, 7 Apr 2010 12:10:00 +0000 (UTC) Received: by ewy24 with SMTP id 24so441875ewy.33 for ; Wed, 07 Apr 2010 05:10:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=Itsegd2LZE4B22h7FXRJhHj19boOvDUD0/MHuWMtBQg=; b=pKa7Eal5U8CbmJaeMX54zcnq9jurA7HcJ2h7wpbplIQDbHOLDtz/9RkV+8YyuI1931 p4dnGUwiF8p5bqefRnoCeJ/Ghela7LxWhHTxv7plEncqUyUcXhl80n/eH5iq90mHbCdO B14EOQwP4FWOviITb8cXjY+F12QlGQaXiNcxI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=Tu39FOzTVMpylw5o16ZmhKguqX4i33ksJ+e3RXTb9fPp0vWJTjw7eRzt6Xb6kI+i2S gwSDlJL7IB8s04yihuXhRzKTChElgD5im9VVOFufK3uSQyJdXjKGUWI970IdBuL3MMjS Q1n3Yp7Zi4ynPSPybqI0hMd2EusUR05Wnb+UE= Received: by 10.213.44.206 with SMTP id b14mr1924419ebf.45.1270642199628; Wed, 07 Apr 2010 05:09:59 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id j8sm129768gvb.1.2010.04.07.05.09.57 (version=SSLv3 cipher=RC4-MD5); Wed, 07 Apr 2010 05:09:57 -0700 (PDT) Date: Wed, 7 Apr 2010 13:09:54 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100407130954.4fd56215@gumby.homeunix.com> In-Reply-To: <20100407030717.GA26298@guilt.hydra> References: <86aatjnsts.fsf@red.stonehenge.com> <861vevnsow.fsf@red.stonehenge.com> <20100404163353.GA15198@guilt.hydra> <20100404201442.b456044e.freebsd@edvax.de> <4BB9A5ED.3040309@infracaninophile.co.uk> <20100405173632.739a0c42@gumby.homeunix.com> <20100406015544.GA21119@guilt.hydra> <20100406132049.641b9edf@gumby.homeunix.com> <20100407030717.GA26298@guilt.hydra> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: perl qstn... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2010 12:10:01 -0000 On Tue, 6 Apr 2010 21:07:17 -0600 Chad Perrin wrote: > On Tue, Apr 06, 2010 at 01:20:49PM +0100, RW wrote: > > On Mon, 5 Apr 2010 19:55:44 -0600 > > Chad Perrin wrote: > > > > > On Mon, Apr 05, 2010 at 05:36:32PM +0100, RW wrote: > > > There are more things in heav'n and earth, Horatio, than are > > > dreamt of by designers of eagerly evaluated prefix notation > > > languages. > > > > And most of them are obscure for good reasons. Just because a a > > syntax fits into a classification scheme doesn't make it a good > > idea. > Shall we trade more trite sniping, or would you like to say something > more substantive? You started it. > > > > Natural languages are mostly driven by spoken usage, in which people > > firm-up half-formed ideas as they speak - this is not a good model > > for programming languages. If you are hacking out a quick and dirty > > script it may be convenient to type the decision after the action, > > but it don't I think it promotes good quality software. > > This sounds exactly like the complaints Pythonistas use to explain why > they have a deep hatred of Perl. If that's how you feel, I'd prefer > you stop trying to tell me how Perl should work, and just use > something else. I'm not, I'm expressing an opinion that this is not a feature worth copying. > > Imperative languages have a natural order of decision followed by > > action, and code is most easily readable if the syntax doesn't try > > to subvert that. > > . . . except when the "natural order of decision" varies > significantly, such as when comparing functions with operators. It > gets even more confusing when both "functions" and "operators" are > actually methods in object oriented languages with an imperative > design, because suddenly the difference between a "function" and an > "operator" becomes purely arbitrary. There's nothing about > arbitrariness that suggests a "natural order". Expression are different. When you are trying to understand thousands of lines of code, the order of execution within an expression is fine detail, but the flow of execution is something that needs to be taken-in easily. > It's kind of odd you rail against natural language then talk about I'm not railing again natural languages, I just don't think they have much relevance. > imperative languages having a "natural order" -- which is, presumably, > based on the expectations of people who have been conditioned to think > that way by their use of natural language. No, it's conditioned by causality, and other mainstream programming languages. People juggle a lot of languages, being different for the sake of it isn't very helpful. > Frankly, if everybody just stuck to a purely "natural order of > decision" approach to imperative language design, we would never even > have developed structured programming. I have no idea what you trying to say here. I presume it must be some kind of straw man argument.