xsl-list
[Top] [All Lists]

RE: [xsl] Re: Un-cdata-section-elements

2006-03-22 12:17:22
Not to take this tangent too far but:

if (a && b){do();}

Can usually be decomposed into 

if(a){
  if(b){
    do();
  }
}

OTOH if you are using && for:

command-that-might-fail() && thing-to-do-if-it-succeeds()

Then there are certainly alternatives (and in my opinion this construct
is a pain).

---->N


.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:
||:.

Nathan Young
CDC Site Design & Development->Interface Development Team
A: ncy1717
E: natyoung(_at_)cisco(_dot_)com  

-----Original Message-----
From: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk] 
Sent: Wednesday, March 22, 2006 2:51 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Re: Un-cdata-section-elements


"& isn't used much"???

well I try to avoid javascript altogether, so I don't use it much,
I take your point though:-)  

Boolean AND operator 

well just as less-than is greater-than reversed, AND is just 
NOT(NOT(..) OR NOT(..)) so it's no doubt avoidable, although perhaps
that's goint to extremes.

David


______________________________________________________________
__________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
______________________________________________________________
__________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>