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

Made crypto square exercise more idiomatic #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Biotronic
Copy link

So the crypto squares exercise is essentially Java written in D, and does not promote idiomatic D code. I've changed the code to not use classes, and to do range comparisons instead of simple ==. This means older solutions won't work any more (different instantiation of classes vs structs), but new solutions should look a lot more like what's currently considered good D code.

Base automatically changed from master to main January 28, 2021 19:20
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

Successfully merging this pull request may close these issues.

1 participant