I'm going to talk about the elephant in the middle of this conversation.
With computers, speed is everything.
Are there any time studies between dynamic languages and static ones?
If the speed of ColdFusion is about the same as java, then we can talk
about the subtle differences between the languages.  But if they're
miles apart, then we're talking miles vs. kilometers (to keep with the
same metaphor).


I'd like to see an average elapsed time for
<cfloop from="1" to="1000000" Index="I">
</cfloop>

And

FOR I=1 TO 1000000
NEXT I

And
(Insert C# code here)

And
(Insert java code here)

And
(Insert .Net code here)

I know, I know....
Different machines and different Operating Systems report different
results.
Your mileage may vary.  Yada Yada Yada.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jaime
Metcher
Sent: Wednesday, April 04, 2007 5:31 PM
To: [email protected]
Cc: [EMAIL PROTECTED]
Subject: [CFCDEV] Class methods part I - what's a static method?

Just listening to Helms and Peters Out Loud podcast on the CF 8 wishlist
-
probably old news for everyone, but made me think.  There was a lot of
stuff
about ColdFusion isn't Java, we don't need interfaces etc., with which I
totally agree.

The thing that made me think was this statement - "Smalltalk doesn't
have
static methods, neither does Ruby".  The implication being that static
methods are just another Java thing that doesn't apply to dynamic
languages.

Am I missing some crucial distinction between static methods and class
methods?  I don't know Java well enough to be sure, but the Ruby docs
actually state that they are equivalent. I don't know Ruby, but can
anyone
imagine Smalltalk without class methods and variables?

Jaime Metcher




You are subscribed to cfcdev. To unsubscribe, please follow the
instructions at http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

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



You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

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

Reply via email to