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

if vs switch vs OOP #163

Open
hadley opened this issue Aug 7, 2023 · 2 comments
Open

if vs switch vs OOP #163

hadley opened this issue Aug 7, 2023 · 2 comments

Comments

@hadley
Copy link
Member

hadley commented Aug 7, 2023

When to use each.

@jennybc
Copy link
Member

jennybc commented Aug 7, 2023

Self-promotion: remember that the code smells talk distills a lot of internal discussion about different approaches to conditional logic: https://github.com/jennybc/code-smells-and-feels

@hadley
Copy link
Member Author

hadley commented Aug 8, 2023

And #99

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

No branches or pull requests

2 participants