Enviado em 29/03/2016 - 15:30h
Estou pesquisndo a respeito de Python (e Ruby) e esbarrei com yield.
É uma coisa nova. Não existe em outras linguagens.
Procurei o significado no tradutor do Google e veio rendimento como tradução.
Existe uma placa de trânsito em algum país cujo significado é yield.
Yield parece retornar elementos soltos que podem ser um array ou uma iteração.
Os exemplos não ajudaram
Afinal, prá que serve yield?
----------------------------------------------------------------------------------------------------------------
É uma coisa nova. Não existe em outras linguagens.
Procurei o significado no tradutor do Google e veio rendimento como tradução.
Existe uma placa de trânsito em algum país cujo significado é yield.
Yield parece retornar elementos soltos que podem ser um array ou uma iteração.
Os exemplos não ajudaram
Afinal, prá que serve yield?
----------------------------------------------------------------------------------------------------------------
# apt-get purge systemd (não é prá digitar isso!)
Encryption works. Properly implemented strong crypto systems are one of the few things that you can rely on. Unfortunately, endpoint security is so terrifically weak that NSA can frequently find ways around it. — Edward Snowden
Encryption works. Properly implemented strong crypto systems are one of the few things that you can rely on. Unfortunately, endpoint security is so terrifically weak that NSA can frequently find ways around it. — Edward Snowden