Talk:Vector products: Difference between revisions

From Rosetta Code
Content added Content deleted
('Function' is a sufficient term.)
(Named.)
Line 4: Line 4:


:'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). --[[User:Kernigh|Kernigh]] 00:25, 10 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). --[[User:Kernigh|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. --[[User:Paddy3118|Paddy3118]] 06:32, 10 April 2011 (UTC)

Revision as of 06:32, 10 April 2011

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)