Skip to content

Commit ef4b3ea

Browse files
committed
translated until line 11
1 parent 8cdb4a7 commit ef4b3ea

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

1-js/06-advanced-functions/01-recursion/article.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# Recursion and stack
1+
# Recursion și stack
22

3-
Let's return to functions and study them more in-depth.
3+
Să ne întoarcem la funcții și să le studiem mai în profunzime.
44

5-
Our first topic will be *recursion*.
5+
Primul nostru subiect va fi *recursiunea*.
66

7-
If you are not new to programming, then it is probably familiar and you could skip this chapter.
7+
Dacă nu sunteți noi în programare, atunci probabil că vă este familiar și puteți sări peste acest capitol.
88

9-
Recursion is a programming pattern that is useful in situations when a task can be naturally split into several tasks of the same kind, but simpler. Or when a task can be simplified into an easy action plus a simpler variant of the same task. Or, as we'll see soon, to deal with certain data structures.
9+
Recursiunea este un tipar de programare care este util în situațiile în care o sarcină poate fi împărțită în mod natural în mai multe sarcini de același tip, dar mai simple. Sau atunci când o sarcină poate fi simplificată într-o acțiune ușoară plus o variantă mai simplă a aceleiași sarcini. Sau, după cum vom vedea în curând, pentru a trata anumite structuri de date.
1010

11-
When a function solves a task, in the process it can call many other functions. A partial case of this is when a function calls *itself*. That's called *recursion*.
11+
Atunci când o funcție îndeplinește o sarcină, în acest proces poate apela multe alte funcții. Un caz parțial este atunci când o funcție se apelează pe sine *însăși*. Acest lucru se numește *recursiune*.
1212

1313
## Two ways of thinking
1414

0 commit comments

Comments
 (0)