The worst D code you'll ever see

bauss jj_1337 at live.dk
Tue Jan 15 10:55:02 UTC 2019


I think I just wrote the worst D code in existence.

https://www.reddit.com/r/badcode/comments/aftpcf/bad_code_coding_challenge_2_primes_between_x_and_y/ee41he6/

What it does is find prime numbers between X and Y and adds them 
to an array.

It's part of a coding challenge to write bad code, but figured 
I'd share here.

It's rare I see D used in contests, so I figured I would use it 
for this one.

Enjoy the cringe.


More information about the Digitalmars-d mailing list