Talk:Vector products

From Rosetta Code
Revision as of 06:32, 10 April 2011 by rosettacode>Paddy3118 (Named.)

What specifically is meant by 'function'? Would 'routine' or 'relinkable code' suffice? I recall that there was some difficulty in another task where there was a hang-up on another task about how languages could implement code asking for the implementation and demonstration of utility code. --Michael Mol 15:48, 9 April 2011 (UTC)

Erm, "A named ecapsulation of code with parameters, that can be called with arguments and may return a value"? I've expanded the task description to encompass the main names used: function, method and subroutine. --Paddy3118 16:58, 9 April 2011 (UTC)
'Function' is a sufficient term. 'Routine' would work, but is not better than 'function'. 'Relinkable code' might be a library, not a function. A function can be a Ruby method (or block), a dc string, or a Factor word (or quotation). --Kernigh 00:25, 10 April 2011 (UTC)
Hi Kernigh, I too thought function would be OK but I have expanded in the past too. I am after something with a name, so lambda functions or unnamed blocks would not be best. --Paddy3118 06:32, 10 April 2011 (UTC)