[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU-traductores] Statement if, while...
From: |
Javier Fdez. Retenaga |
Subject: |
Re: [GNU-traductores] Statement if, while... |
Date: |
Sat, 14 Jun 2014 19:37:43 +0200 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-686-pae; KDE/4.8.4; i686; ; ) |
Dora Scilipoti escribió:
> Veo que esto está en
> http://www.gnu.org/philosophy/danger-of-software-patents.html, y es
> terminología de programación.
>
> En el ámbito de la programación, "statement" suele traducirse como
> "sentencia", aunque también puede ser "condición" cuando está combinada con
> "if".
>
> "if", "for" "then", "else" y "while" no se traducen porque forman parte del
> código (incluso en el artículo está con la etiqueta <code>).
>
> "loop" es un "bucle", algo que se repite una cierta cantidad de veces ("N
> times") o al infinito.
>
> Veamos:
>
> n 13/06/2014 17:24, Javier Fdez. Retenaga wrote:
> > "You see, if somebody has made a machine that does something once, and
> > somebody else designs a machine that will do the same thing, but N
> > times, for us that's a for-loop, but for the Patent Office that's an
> > invention. If there are machines that can do A, and there are machines
> > that can do B, and somebody designs a machine that can do A or B, for us
> > that's an *if-then-else statement*, but for the Patent Office that's an
> > invention".
>
> a for-loop = un bucle <code>for</code>
>
> an if-then-else statement = una condición <code>if-then-else</code>
>
> > O, por ejemplo, al explicar las diferencias entre la ingeniería física y
> > la ingeniería informática:
> >
> > "For instance, when I put an if-statement inside of a while-loop,
>
> an if-statement inside of a while-loop = una condición <code>if</code>
> dentro de un bucle <code>while</code>
>
> > I don't have to worry that if this while-loop repeats at the wrong
> > rate, the
> >
> > if-statement might start to vibrate and it might resonate and crack;
> >
> > I don't have to worry that if it resonates much faster—you know,
> > millions of
> >
> > times per second—that it might generate radio frequency signals that
> > might induce wrong values in other parts of the program; (...)".
>
> a while-loop = un bucle <code>while</code>
>
> an if-statement = una condición <code>if</code>
>
> > "While" es un "loop", y así lo llama al principio de esta cita, pero
> > otras veces lo llama "statement", que es una denominación más general.
>
> Digamos que "while-loop" quiere decir que la sentencia "while" se repite N
> cantidad de veces.
Entendido. Muchas gracias.