0
comment
comment
on 2/7/2015 7:01 AM
I attended the first London meetup group for the D programming language last week with my friend David. Near the end we had a chance to try and solve a cool programming problem called the secret santa challenge.
disclaimer – I am a complete D 'lol newb' so there might be nicer stuff I could do with syntax etc! Also I have not yet fixed my syntax highlighter to include auto, mixin, assert, and others
The Challenge
The secret santa problem is deceptively simple. You are given a list of names like so.
enum[...]