You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following commit added significant complexity to the exercise: 8e1f617
I understand the desire to show people functional programming, I love it as much as the next Rust developer. But this exercise comes pretty much right after primitive types.
Even using vectors is a stretch here, the book itself covers vectors only much later. But I think that's withing reason here, because vectors are necessary to do almost anything and most programmers will be familiar with something similar. So I think it's justified to cover vectors a bit earlier than the book.
However... iterators? map? collect? lambda syntax? I find this completely unjustified. If this content is not covered in the dedicated section for iterators, it can be moved there.
Please consider removing the vec_map part from that exercise so as not to overwhelm new learners too early.
The text was updated successfully, but these errors were encountered:
I agree. I will remove it from the exercise in v7. But I will keep it in the solution as one of the possible solutions. I will mention that we will deal with iterators later.
The following commit added significant complexity to the exercise: 8e1f617
I understand the desire to show people functional programming, I love it as much as the next Rust developer. But this exercise comes pretty much right after primitive types.
Even using vectors is a stretch here, the book itself covers vectors only much later. But I think that's withing reason here, because vectors are necessary to do almost anything and most programmers will be familiar with something similar. So I think it's justified to cover vectors a bit earlier than the book.
However... iterators? map? collect? lambda syntax? I find this completely unjustified. If this content is not covered in the dedicated section for iterators, it can be moved there.
Please consider removing the
vec_map
part from that exercise so as not to overwhelm new learners too early.The text was updated successfully, but these errors were encountered: