-
-
Notifications
You must be signed in to change notification settings - Fork 654
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
sorting-room
: Implement exercise to teach about type-conversion
and type-assertion
#1723
Conversation
FYI I merged the concept MRs so their content is now available to be included here. |
I dare say you've already thought about this, but it's worth mentioning that generics will be shipping soon, perhaps as soon as December. We'll need to fit that into our syllabus along with interfaces, won't we? I don't know if you already have an exercise planned for this. |
@bitfield I haven't looked at the final proposal that made it through yet. Do you see an issue with just adding a separate exercise on generics somewhat further down the concept tree? |
Added material from the concept docs. |
Ready for another look whenever you are ready @junedev |
My blog post summarises roughly what students will need to know. Yes, we need to tackle interfaces before generics—you could think of generics as further loosening the constraints on what kind of things a function can accept. Instead of just being constrained by method sets, for example |
Exercise looks good now! Left 2 more tiny comments, feel free to merge whenever you see fit. |
Co-authored-by: June <12543047+junedev@users.noreply.github.com>
Part of #1645
This is not complete yet since the introduction should be filled out from details in the concepts so leaving it as "wip", but I wanted to start getting feedback.