Re: [coders] ri's Definition of Methods Confusing

2006-06-21 Thread Erik de Castro Lopo
Andre Pang wrote: > Sure, that's the mathematical definition of a function, but it's > certainly not the typical definition of a function in programming > circles. Well I did go on to sepcify the difference between pure and impure functions :-). > (I'm not arguing that functions with side-ef

Re: [coders] ri's Definition of Methods Confusing

2006-06-20 Thread O Plameras
Erik de Castro Lopo wrote: Hi Mark, Mark Sargent wrote: Hi All, 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 n

Re: [coders] ri's Definition of Methods Confusing

2006-06-20 Thread Andre Pang
On 21/06/2006, at 3:07 PM, Erik de Castro Lopo wrote: 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." Sure, that's the mathematical definition of a func

Re: [coders] ri's Definition of Methods Confusing

2006-06-20 Thread Erik de Castro Lopo
Hi Mark, Mark Sargent wrote: > Hi All, > > 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 pro

Re: [coders] ri's Definition of Methods Confusing

2006-06-20 Thread O Plameras
Mark Sargent wrote: Hi All, last night we touched on methods(functions equivalent for other languages?) and I wanted to just see what ri had for it, but, got the following, --- Class: SingletonClassMethods (no description...) -

[coders] ri's Definition of Methods Confusing

2006-06-20 Thread Mark Sargent
Hi All,last night we touched on methods(functions equivalent for other languages?) and I wanted to just see what ri had for it, but, got the following,--- Class: SingletonClassMethods (no description...)---