Skip to content
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

Activity: Enums #677

Closed
absoludity opened this issue Dec 1, 2015 · 4 comments
Closed

Activity: Enums #677

absoludity opened this issue Dec 1, 2015 · 4 comments

Comments

@absoludity
Copy link
Contributor

It would be great to have an activity to go with the Enums example. One idea - an HttpStatus enum which has OK, Redirect, Error etc., but where each can include a status code, with something similar to the inspect function on the page already?

For an example of a small activity, see Display

For an example of a larger activity, see Tuples

@steveklabnik
Copy link
Member

I agree, that idea sounds good. Maybe we can flesh this idea out a bit and then someone can send in a PR?

@Morsicus
Copy link

Morsicus commented Dec 6, 2017

I like your activity @absoludity. For a more "academical" one a fizz-buzz game could be an idea too. What do you think ? I will be happy to help on this :)

@absoludity
Copy link
Contributor Author

It'd be quite a step from the examples to a fizz-buzz game (and possibly hard to do without assuming other existing knowledge?). It sounds like a great idea for an activity at the end of a larger section, for eg., after the flow-control or functions sections?

@marioidival
Copy link
Member

Hi, I'm closing this issue just to clean up the items that already exist. If you think this issue makes sense to stay open, please create a new issue with updated information and mention this one.

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants