From 92af3c94fd36cf9c271671328a7cf4865bef0991 Mon Sep 17 00:00:00 2001 From: Awes0meM4n Date: Mon, 12 Aug 2019 18:27:09 +0200 Subject: [PATCH] List titles improved and bucle differences summary (#26905) The translations seem literal and I have never seen them in this way. It is normal to speak directly of the reserved word that defines them. I consider it important to say that there is a way to decide which of the four loops to choose and on what basis. --- guide/spanish/java/loops/index.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/guide/spanish/java/loops/index.md b/guide/spanish/java/loops/index.md index 8caf770faf..6d755efda8 100644 --- a/guide/spanish/java/loops/index.md +++ b/guide/spanish/java/loops/index.md @@ -8,17 +8,19 @@ Cada vez que necesite ejecutar un bloque de código varias veces, un bucle a men Java tiene 4 tipos de bucles: -* [Mientras bucle](loops/while-loop) -* [Hacer ... mientras bucle](loops/do-while-loop) -* [En bucle](loops/for-loop) -* [Para cada bucle](loops/for-each-loop) +* [Bucle `while`](loops/while-loop) +* [Bucle `do ... while`](loops/do-while-loop) +* [Bucle `for`](loops/for-loop) +* [Bucle `for` mejorado](loops/for-each-loop) + +La diferencia entre escoger uno u otro depende de mi conocimiento sobre cuántas veces tengo que repetirlo y si necesito acceder al índice sobre el que se está iterando. El comportamiento de los bucles se puede personalizar utilizando: * [Declaraciones de control](loops/control-statements) - * [Declaración de control de ruptura](loops/break-control-statement) - * [Continuar declaración de control](loops/continue-control-statement) + * [Sentencia de ruptura (`break`)](loops/break-control-statement) + * [Sentencia de continuación (`continue`)](loops/continue-control-statement) Un caso especial de bucles: -* [Bucles infinitos](loops/infinite-loops) \ No newline at end of file +* [Bucles infinitos](loops/infinite-loops)