To be perfectly honest I've never actually used a language with "real"
assertions (I've only just barely begun to learn Java).  I'm glad I'm
using the concept correctly.  ;^)

The key, for me, in this is the ability to define assertive tests that
can be validated in multiple environments, locally or remotely.  If I
get the time I'd really like to dig into this: having an assertion
definition spec that can be used in both CF and JavaScript (at least)
would be really useful (at least I think so).

I haven't really given it any thought beyond that.  What we're doing now
(in CF 4.5) is very specific to our Cross Application Trust system...
making that more generic may not be at all easy.  Then again it might
be.

Yet another thing on the to-do list.

Jim Davis

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf
> Of Matt Liotta
> Sent: Friday, November 28, 2003 9:28 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [CFCDev] Exposing Validation rules for a component
> 
> It is interesting that you bring up assertions. As part of Java 1.4,
> assertions were added to the language allowing for greater robustness
> without the added burden of strong contracts i.e. the assertions are
> only used during development. For more coverage of this check out my
> article on the subject at
> http://www.devx.com/java/free/articles/Liotta02/Liotta02-1.asp.
> Interestingly enough, BlueDragon 6.1 not only adds CFCs, but also has
> assertions in the form of a new tag cfassert and function assert().
For
> those interested in making use of assertions in their code without any
> additional overhead in production this new facility is quite useful.
> 
> Matt Liotta
> President & CEO
> Montara Software, Inc.
> http://www.MontaraSoftware.com
> (888) 408-0900 x901
> 
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
> in the message of the email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.com).
> 
> An archive of the CFCDev list is available at www.mail-
> archive.com/[EMAIL PROTECTED]


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to