Talk:Vector products: Difference between revisions

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


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

Revision as of 00:25, 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)