-
Notifications
You must be signed in to change notification settings - Fork 519
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
✨ (concepts) Add concept exercise bird-watcher
#1682
base: main
Are you sure you want to change the base?
Conversation
5ee6a1f
to
bcc1e0f
Compare
87a6409
to
78f358c
Compare
I've only briefly looked at the code, but I feel like this might be a bit much to introduce. My hunch would be to see if we can introduce iterators later on. Note that it is perfectly fine for this exercise to expect the student to write things in a somewhat cumbersome, less idiomatic way simply because they don't yet know all the concepts (like iterators here). |
I agree which is why I did not include everything about iterators. Iterators would be a next logical concept to go through since they get introduced here. From my limited knowledge of Rust, I understand that you have to use either ranges or iterators in for loops. So I had to introduce a bit about both. What would you suggest here to simply things further? P.S.: In the concepts I have implemented so far I have messaging along the lines of "For now, you only need to know ABC about X. More in depth about it in later concepts." Because I expected myself to work on that concept immediately afterwards. Update: Removed Iterators completely. |
78f358c
to
883f5f4
Compare
This is inspired by the same in csharp track. Provides introduction to for loops, arrays and a bit of iterators.
883f5f4
to
1f776f6
Compare
I like the way this ended up, matching pages 57-58 in The Book. Introducing how to, without going too deep into how does it work. |
The author of this PR has stopped responding in the discussions planning the work on the syllabus. But there's been work put into reviews already, so I'm keeping it open in case it can be salvaged in a future attempt to create a good syllabus. |
This is inspired by the same in csharp track. Provides introduction to for loops, arrays and a bit of iterators.