El bloque else se ejecuta si el parámetro es 'falsy'.
The else block is executed if the parameter is falsy.
Lo bueno es que is también puede incluir un bloque else, tal como en la declaración if-else.
The good news is that is can also include an else block just like the if-else statement.
El fragmento anterior funciona muy bien, pero se puede conseguir el mismo resultado con un bloque else en el construct with.
The snippet above works just fine, but you can achieve the same result with an else block in the with construct.
Donde esos dos lenguajes pueden estar propensos a errores, Ceylon fuerza una estructura de bloque en los casos y remueve el caso default en preferencia a un bloque else.
Where those two languages can be error prone, Ceylon forces a block structure on the cases and removes the default case in preference to an else block.
Dar clic a eso transfiere al usuario al controlador actionVerify() de abajo; nota que los lleva al bloque else al principio porque aún no han enviado código
Clicking that transfers the user to the actionVerify() controller below; note that it takes them to the else block at first because they've not yet submitted a code
Si una condición es verdadera se ejecuta el bloque IF; y si la condición es falsa, se ejecuta el bloque ELSE.
If a condition is true the IF block is executed; and if the condition is false, the ELSE block is executed.
El nuevo bloque está en el medio, pero es casi idéntico al otro bloque else if, solo unas pocas cosas se invierten.
The new block is in the middle, but it's nearly identical to the other else if block, only a few things are reversed.
El código en el bloque else se ejecuta si el código en el intento: bloque no plantea una excepción.
The code in the else-block executes if the code in the try: block does not raise an exception.
El bloque else es un buen lugar para el código que no necesita el intento: la protección del bloque.
The else-block is a good place for code that does not need the try: block's protection.
Si puedes determinar lo que debería ir en la condición de prueba de While y en el bloque else.
See if you can figure out what should go as the test condition for the while and in the block for the else.