>>>>>Sure, you can call a function from within that function. How that must be done with the above equation is your endeavour. :)
>>>>
>>>>Recursion isn't just a function calling a function. It is a function calling a very special function, namely itself.
>>>
>>>Understood. But isn't that exactly what I said? ...you can call a function from within that function...
>>
>>Not really, but we might just be splitting hair.
>>you can call a function from within that function
>>It is not just a function.
>>
>>I am sure you know exactly what recursion means and all this is just semantics.
>
>I think it would have been semantically incorrect if I had written: you can call the function from within that function. Maybe the native English speakers can comment on this one? :)
To be really clear, you'd probably want to write:
You can call a function from within the function itself.
But I think your original was clear in context. (You have to know what "that function" refers to, and in some contexts, it'll actually be something else.)
Tamar
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement