Answer the question
In order to leave comments, you need to log in
Readability of the code or speed of its execution?
Dear Khabrachans, please tell me, when writing a project, what should I pay more attention to, the readability of the code (if other programmers will work with it) or the speed of execution? The question is not only about the choice of recursion and cycles, but also in general, when writing any project.
That's where the question comes from: recursion is slower, but it's more readable than a loop, which is faster than recursion.
Answer the question
In order to leave comments, you need to log in
That's where the question comes from: recursion is slower, but it's more readable than a loop, which is faster than recursion.Thank you, neighing)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question