Originally posted by: Boogak
A function returns a value, methods don't.
Originally posted by: Boogak
A function returns a value, methods don't.
I do believe arcain is correct. Procedure is often also referred to as a subroutine.Originally posted by: arcain
I always classified them this way:
function = return value
procedure = don't return value
method = function or procedure that belongs to an object
Originally posted by: arcain
I always classified them this way:
function = return value
procedure = don't return value
method = function or procedure that belongs to an object
I really never heard the term method used to describe a subroutine pre-OOP.
Wikipedia argrees: http://en.wikipedia.org/wiki/Function_(programming)
Replies like this mean you should get away from your computer for a while.Originally posted by: FFMCobalt
The difference is that neither of them should be the topic of discussion in Off Topic when there's a software forum.
Originally posted by: FFMCobalt
The difference is that neither of them should be the topic of discussion in Off Topic when there's a software forum.