Guys, what have I done xD
Brad Anderson
eco at gnuk.net
Wed Aug 7 13:02:12 PDT 2013
On Wednesday, 7 August 2013 at 19:55:48 UTC, Borislav Kosharov
wrote:
> On Wednesday, 7 August 2013 at 19:54:32 UTC, Brad Anderson
> wrote:
>> On Wednesday, 7 August 2013 at 19:52:13 UTC, Borislav Kosharov
>> wrote:
>>> I played around and used D's flexible syntax and I managed to
>>> create this:
>>> https://gist.github.com/nikibobi/6169035
>>>
>>> It prints the song's lyrics and I have used aliases,
>>> templates, constants, the fact that f(a) == a.f() == a.f and
>>> many more small things. I tough that it was funny and strange
>>> and I decided to show it to you. Also if you change the enum
>>> Word it changes everything :D
>>
>> That's amazing.
>
> Thanks, but I was just bored :D
>
> I normally don't write code like that :D
Now just make it make use of opDispatch in some way.
More information about the Digitalmars-d
mailing list