Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basics/ranges.md #33

Merged
merged 9 commits into from
Jun 5, 2017
Merged

Conversation

SMietzner
Copy link
Contributor

German translation of basics/ranges.md.

Copy link
Member

@wilzbach wilzbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ein paar Ideen.

basics/ranges.md Outdated
```

Falls das Range-Objekt ein Referenztyp ist (z.B. `class`), wird es
verbraucht ist für weitere Iterationen nicht mehr verfügbar (es sei
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wird es verbraucht, d.h. es zeigt auf das Ende und steht ...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wird es verbraucht, d.h. es zeigt auf das Ende und steht ...

Zu kompliziert? Zeiger, innerer Aufbau von Ranges müsste beschrieben werden?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dann würde ich wenigstens den Grammatikfehler ausbessern:

"wird es verbraucht und ist daher .."

basics/ranges.md Outdated
Falls das Range-Objekt ein Referenztyp ist (z.B. `class`), wird es
verbraucht ist für weitere Iterationen nicht mehr verfügbar (es sei
denn, der Schleifenrumpf bricht vor der letzten Iteration ab).
Falls das Range-Objekt ein Werttyp ist, wird eine Kopie der Range
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Werttyp klingt komisch.
Werte-Typ?

Leider ist Wikipedia auch nicht wirklich aufschlussreich: https://de.wikipedia.org/wiki/Datentyp

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imho so lassen, aber du hast recht, es sieht komisch aus.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Du hast in einem PR Wert-Typ verwendet. Ich glaube es ist vor allem wichtig einheitlich zu sein.
Siehe auch: #41

Range verbraucht.
Die meisten Ranges der Standard-Bibliothek sind Strukturen (`struct`),
sodass eine Iteration normalerweise nicht zerstörend wirkt - allerdings
nicht garantiert. Sollte diese Garantie wichtig sein, sind **forward**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

allerdings ohne Garantie

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nächster Satz enthält schon das Nomen Garantie, von daher...

basics/ranges.md Outdated
### Übungsaufgabe

Vervollständige den Quellcode, um eine `FibonacciRange` erzeugen,
die Zahlen der [Fibonacci-Folge](https://de.wikipedia.org/wiki/Fibonacci-Folge).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

, die die Zahlen ... generiert/zurückgibt?

basics/ranges.md Outdated

Vervollständige den Quellcode, um eine `FibonacciRange` erzeugen,
die Zahlen der [Fibonacci-Folge](https://de.wikipedia.org/wiki/Fibonacci-Folge).
Der`assert`-Befehl am Ende stellt die korrekte Implementation sicher!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Korrektheit deiner Implementation

@wilzbach wilzbach merged commit 7ec8922 into dlang-tour:master Jun 5, 2017
@SMietzner SMietzner deleted the add_ranges-md branch June 5, 2017 17:30
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create attributes.md

* Create attributes.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create bit-manipulation.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics

* Create bit-manipulation.md

* Create bit-manipulation.md

* Create bit-manipulation.md
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create compile-time-function-evaluation-ctfe.md

* Create compile-time-function-evaluation-ctfe.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create contract-programming.md

* Create contract-programming.md

* Create contract-programming.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create documentation.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics

* Create documentation.md

* Create documentation.md
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create functional-programming.md

* Create functional-programming.md

* Create functional-programming.md

* Create functional-programming.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create opdispatch-opapply.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics

* Create opdispatch-opapply.md
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create range-algorithms.md

* Create range-algorithms.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create scope-guards.md

* Create scope-guards.md

* Create scope-guards.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics

* Create scope-guards.md

* Create scope-guards.md

* Create scope-guards.md
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create string-mixins.md

* Create string-mixins.md

* Create string-mixins.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create subtyping.md

* Create subtyping.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create template-meta-programming.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics

* Create template-meta-programming.md

* Create template-meta-programming.md

* Create template-meta-programming.md

* Create template-meta-programming.md

* Create template-meta-programming.md

* Create template-meta-programming.md
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create traits.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics

* Create traits.md

* Create traits.md

* Create traits.md
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create unicode.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics

* Create unicode.md

* Create unicode.md

* Create unicode.md

* Update unicode.md

* Create unicode.md

* Create unicode.md
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create unicode.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics

* Create unicode.md

* Create unicode.md

* Create unicode.md

* Update unicode.md

* Create unicode.md

* Create unicode.md
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create uniform-function-call-syntax-ufcs.md

* Create uniform-function-call-syntax-ufcs.md

* Create uniform-function-call-syntax-ufcs.md

* Create uniform-function-call-syntax-ufcs.md

* Create uniform-function-call-syntax-ufcs.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create index.yml

* Create unittesting.md

* Create unittesting.md

* Create unittesting.md

* Create unittesting.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics

* Create unittesting.md

* Create unittesting.md

* Update unittesting.md

* Create unittesting.md

* Create unittesting.md
SMietzner added a commit to SMietzner/german that referenced this pull request Sep 13, 2017
* Update install-d-locally.md

* Update links-documentation.md

* Add basics/loops.md (#30)

* Add basics/foreach.md (dlang-tour#31)

* Add basics/further-reading.md (dlang-tour#36)

* Add basics/templates.md (dlang-tour#38)

* Add basics/delgates.md (dlang-tour#40)

* Add basics/interfaces.md (dlang-tour#35)

* Add basics/ranges.md  (dlang-tour#33)

* Add basics/exceptions.md (dlang-tour#37)

* Add basics/associative-arrays.md (dlang-tour#34)

* Add basics/alias-strings.md (dlang-tour#32)

* Add basics/classes.md (dlang-tour#39)

* Create unittesting.md

* Create unittesting.md

* Create unittesting.md

* Create unittesting.md

* Update classes.md (dlang-tour#44)

* Update index.yml

enable all files in basics

* Create unittesting.md

* Create unittesting.md

* Update unittesting.md

* Create unittesting.md

* Create unittesting.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants