d
d copied to clipboard
Made crypto square exercise more idiomatic
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.