Glossary entry (derived from question below)
English term or phrase:
iterators are lazy be design.
Polish translation:
iteratory są umyślnie zaprojektowane z wartościowaniem/Iteratory wykorzystują wartościowanie leniwe leniwym
Added to glossary by
Frank Szmulowicz, Ph. D.
Jan 25, 2023 21:33
1 yr ago
18 viewers *
English term
Iterators are lazy be design.
English to Polish
Tech/Engineering
IT (Information Technology)
Próbuję zrozumieć to zdanie, ale niestety nie jestem w stanie wychwycić sensu. Może ktoś pomoże? Dziękuję!
kontekst:
It is interesting to combine local functions with iterators.
Iterators are lazy be design.
But you may want to perform an argument check eagerly, which is where local functions can be helpful.
kontekst:
It is interesting to combine local functions with iterators.
Iterators are lazy be design.
But you may want to perform an argument check eagerly, which is where local functions can be helpful.
Proposed translations
(Polish)
3 +1 | iteratory są umyślnie zaprojektowane z wartościowaniem leniwym | Frank Szmulowicz, Ph. D. |
Change log
Feb 2, 2023 11:49: Frank Szmulowicz, Ph. D. Created KOG entry
Proposed translations
+1
24 mins
English term (edited):
iterators are lazy by design.
Selected
iteratory są umyślnie zaprojektowane z wartościowaniem leniwym
wartościowanie
gorliwe, 244
leniwe, 244
https://helion.pl/pobierz-fragment/javpi6/pdf
--------------------------------------------------
Note added at 27 mins (2023-01-25 22:00:52 GMT)
--------------------------------------------------
CCCC
Generators are lazy. As we loop over generators, they don’t compute the next item in the loop until we ask them to.
https://pycon2019.trey.io/iterator-protocol.html
CCCCCCCCC
In programming language theory, lazy evaluation, or call-by-need,[1] is an evaluation strategy which delays the evaluation of an expression until its value is needed (non-strict evaluation) and which also avoids repeated evaluations (sharing).
https://en.wikipedia.org/wiki/Lazy_evaluation
CCCCC
Wartościowanie leniwe (ang. lazy evaluation, ewaluacja leniwa) – strategia wyznaczania wartości argumentów funkcji tylko wtedy, kiedy są potrzebne (na żądanie).
Zaletami tego podejścia są możliwość obliczenia wartości funkcji nawet wtedy, gdy nie jest możliwe wyznaczenie wartości któregoś z jej argumentów, o ile tylko nie jest on używany, wzrost wydajności dzięki uniknięciu wykonywania niepotrzebnych obliczeń oraz możliwość tworzenia nieskończonych struktur danych. Wadą wartościowania leniwego jest to, że mogą nie wystąpić (być może oczekiwane) skutki uboczne procesu wyznaczania wartości argumentów.
https://pl.wikipedia.org/wiki/Wartościowanie_leniwe
gorliwe, 244
leniwe, 244
https://helion.pl/pobierz-fragment/javpi6/pdf
--------------------------------------------------
Note added at 27 mins (2023-01-25 22:00:52 GMT)
--------------------------------------------------
CCCC
Generators are lazy. As we loop over generators, they don’t compute the next item in the loop until we ask them to.
https://pycon2019.trey.io/iterator-protocol.html
CCCCCCCCC
In programming language theory, lazy evaluation, or call-by-need,[1] is an evaluation strategy which delays the evaluation of an expression until its value is needed (non-strict evaluation) and which also avoids repeated evaluations (sharing).
https://en.wikipedia.org/wiki/Lazy_evaluation
CCCCC
Wartościowanie leniwe (ang. lazy evaluation, ewaluacja leniwa) – strategia wyznaczania wartości argumentów funkcji tylko wtedy, kiedy są potrzebne (na żądanie).
Zaletami tego podejścia są możliwość obliczenia wartości funkcji nawet wtedy, gdy nie jest możliwe wyznaczenie wartości któregoś z jej argumentów, o ile tylko nie jest on używany, wzrost wydajności dzięki uniknięciu wykonywania niepotrzebnych obliczeń oraz możliwość tworzenia nieskończonych struktur danych. Wadą wartościowania leniwego jest to, że mogą nie wystąpić (być może oczekiwane) skutki uboczne procesu wyznaczania wartości argumentów.
https://pl.wikipedia.org/wiki/Wartościowanie_leniwe
Peer comment(s):
agree |
Piotr Kresak
: Zgoda co do zasady, ale uprościłbym zdanie do "Iteratory wykorzystują wartościowanie leniwe".
9 hrs
|
Dziękuję Piotrze za Twoje fachowe i zgrabne określenie.
|
4 KudoZ points awarded for this answer.
Discussion