-
Notifications
You must be signed in to change notification settings - Fork 10
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
Tutorial with exercises #6
base: exercises
Are you sure you want to change the base?
Conversation
|
||
// HINT: Use the valueLane() method to instantiate the lane | ||
// HINT: Use the .didSet() lifecycle callback to log a message showing updates to stats | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding some hints for intermediary statistic lanes here-ish would be nice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully the following comments (lines 23-30) better explain one's options for how to implement lanes. (Let me know if the wording can be made clearer.)
|
||
// TODO: update stats with update logic | ||
|
||
// HINT: access new data sent to histogram with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's replace this with n.get("count").longValue()
for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if the comments from (41-48) get too overwhelming. If so, I can remove the #RECOMMENDED
and #ALTERNATIVELY
sections and just leave it at suggesting n.get("count).longValue()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually like the RECOMMENDED and ALTERNATIVELY!
Description
Set out instructions in ui/README and server/README with tasks that focus on teaching basic Swim features through hands-on implementation such as:
Added TODO comments with hints in respective files to guide user where/how to follow these instructions
Points to be addressed before merge