I posted about this contest in D.learn, so it was expectable that people
try out D there without a good feel for the language and its shortcuts.
Rank 439 is respectable, but I hoped for a higher ranked D entry.
I don't know if there should to be an optimized boolean matrix in Phobos.
Is thi
On Sunday, 25 December 2011 at 17:07:46 UTC, bearophile wrote:
It's usually better to think of pre/post increments as
returning void, and avoid code like this (but there is _far_
worse C/D code around):
lokeLars = path[index--];
I agree that one should *generally* avoid this kind of code,
Ants AI Challenge sponsored by Google is now finished, 24 people have played
this contest using D2:
http://aichallenge.org/language_profile.php?language=D
The best D entry, by Minthos, with rank 439 (over about 8000 entries!):
http://aichallenge.org/profile.php?user=4823
Minthos D2 code:
http://