On Wed, Jun 21, 2006 at 03:07:51PM +1000, Erik de Castro Lopo wrote: > Mark Sargent wrote: > > last night we touched on methods(functions equivalent for other languages?) > > Sorry, but no, functions are not really equivalent to methods. > > From: > > http://en.wikipedia.org/wiki/Function > > "A subroutine which has no side-effects; see functional programming."
Let's play spot the language theorist... Theoretically speaking, Erik, you're completely correct -- there is a difference between functions, subroutines, and methods. However, trying to keep the terms pure is going to be probably at least as hard as rescuing the term "hacker" from the general consciousness. - Matt _______________________________________________ coders mailing list coders@slug.org.au http://lists.slug.org.au/listinfo/coders