[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
[philly-lambda] Re: Pattern or Antipattern?
|
- From: "Andrew Gwozdziewycz" <apgwoz@gmail.com>
- To: philly-lambda@googlegroups.com
- Subject: [philly-lambda] Re: Pattern or Antipattern?
- Date: Wed, 29 Aug 2007 15:05:17 -0400
- Authentication-results: mx.google.com; spf=pass (google.com: domain of apgwoz@gmail.com designates 66.249.82.226 as permitted sender) smtp.mail=apgwoz@gmail.com; dkim=pass (test mode) header.i=@gmail.com
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ke/OLzBeinfBCM3gXDZ49zTRMs4WWhihwK4OhpmcfM56Ppfi+Y1sBgullGVgE9yVxg5majgAU7gLvQ6YGcD5OPe83rtAWV/iY+zQE+xKh/lgLf3qr3fgJwrNY1HSZBY1dPBU+eaM7Sp/qrf8pcG06kLilm69kdH77KPYeM8AOyk=
- Mailing-list: list philly-lambda@googlegroups.com; contact philly-lambda-owner@googlegroups.com
- Reply-to: philly-lambda@googlegroups.com
- Sender: philly-lambda@googlegroups.com
> Regarding the Java code, I would have done something like:
>
> Log.ifNot(person->knowsDance("tango"), "failed tango test");
>
> No need for the IF statements.
I can't help but think there's a reference to be made to Greenspun...
That ifNot looks awfully "macroish" to me.
--
Andrew Gwozdziewycz
apgwoz@gmail.com
http://www.apgwoz.com | http://www.photub.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Philly Lambda" group.
To unsubscribe from this group, send email to philly-lambda-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/philly-lambda?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|