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

Ex. 100 shall be the new multi-object for loops #261

Closed
ratfactor opened this issue Apr 26, 2023 · 0 comments
Closed

Ex. 100 shall be the new multi-object for loops #261

ratfactor opened this issue Apr 26, 2023 · 0 comments

Comments

@ratfactor
Copy link
Owner

I'm really excited about this new language feature because I discovered it right at the very moment when I needed it (comparing two arrays, in my case):

ziglang/zig#14671 (PR)

ziglang/zig#7257 (initial proposal)

This is something that has always annoyed me about languages with iterators - you can iterate one thing, but if you want to iterate over a second thing as well, you have to use indexing and an index variable like a stone-age cave person!

Anyway, I'm creating this issue to reserve the Exercise 100 spot. :-)

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

No branches or pull requests

1 participant