-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Example 5 uses message() to demonstrate the side-effect of printing. message is intended for condition signalling - diagnostic messages about code behaviour, so I think print() would be more normal if we want to teach about writing a function for the side effect of printing.
Also, else might be better than else if for the second case.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels