In my experience CF is a typed language, but with virtually no
type-checking.  Almost all datatypes (except date/time types) are easily
cross compatible.  Without variable declaration it's very hard to type-check
data.
It's a bit lax and probably results in quite a few bugs.
Java is much cooler.
Regards,
Anthony Geoghegan.
Lead Developer,
What's On Where (WOW!)
http://www.wow.ie
mailto:[EMAIL PROTECTED]



-----Original Message-----
From: Jeffry Houser [mailto:[EMAIL PROTECTED]]
Sent: 07 November 2000 13:40
To: CF-Talk
Subject: Is Cold Fusion a Typed Language?



  I've heard in quite a few places that ColdFusion is a typed language?
However, it acts as an untyped language.  Can anyone verify for me which 
one is actually true?
  
  You don't declare variables a type when you create them, and you 
can typically change a variable from a string to an integer without 
a second thought.  I was told that ColdFusion handles all data 
conversion internally to take the burden off the user, but for 
efficiency's sake, it's best not to switch the type of a variable if 
you can avoid it.

  And if Cold Fusion is a typed language, what are the simple types? 
The standard string, integer, float, and boolean?  

-- 
Jeff Houser
AIM: Reboog711  | ICQ: 5246969 | Phone: 860-229-2781
--
DotComIt, LLC
Computer Consultant specializing in database driven web data
Lotus Notes/Domino, Cold Fusion
--
Half of the Alternative Folk Acoustic Duo called Far Cry Fly 
http://www.farcryfly.com
http://www.mp3.com/FarCryFly
--
Does Everyone Think I'm a Cynical?
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to