Hey don't get me wrong.  I'm not saying that Hal's XFB is complex.  It was
just some "interesting" uses, or over-uses, of XFAs that were worrying me.

On your point about putting all the code in the index.cfm, I'm afraid that
wouldn't help the complexity measures - quite the opposite, in fact.  You
can't get away from the innate complexity of a particular app, but you can
spread it around in sensible ways, so your pieces are maintainable.  In
particular, there must be good reason to deliberately increase the
complexity.  If Hal's XFB increases complexity at all (I don't believe it
does) then the benefits may well be worth it.  On the other hand, using
extra CFCASEs and XFAs just to do a simple CFIF's job is increasing
complexity and for no discernible benefit.

You just seem to be equating your sample code with XFB.  I am criticising
one, but not the other ;-)

Lee.


-----Original Message-----
From: John Quarto-vonTivadar [mailto:[EMAIL PROTECTED]]



....

You know, if one scores a +1 for structured complexity and +1 unstructured
complexity and we assume (from your implication) that higher complexity
scores are not to be preferred, then perhaps we can just put everything in
the index.cfm. No need for a CFswitch and we'll score a +0 for index.cfm,
we'll have a completely uncomplex file that is 30,000 lines long.  :)

....

I believe XFB pushes a
project in all of those positive-result directions, and I heartily encourage
the skeptics to actually do a full non-trivial project with XFB, whatever
your former good habits are, to see for themselves.

....


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to