3 ms·
> Needless to say, don’t use this prime determination algorithm for any sort of real-life stuff. Instead, just appreciate it for its elegance. Yet another test
by makmanalp 16y ago
> Needless to say, don’t use this prime determination algorithm for any sort of real-life stuff. Instead, just appreciate it for its elegance.
Yet another testament to the subjectivity of elegance in code. One man's elegant code is another's ugly hack. (Not to discredit the cleverness of the author.)