Thread overview
Guys, what have I done xD
Aug 07, 2013
Borislav Kosharov
Aug 07, 2013
Brad Anderson
Aug 07, 2013
Borislav Kosharov
Aug 07, 2013
Brad Anderson
Aug 07, 2013
Meta
Aug 10, 2013
H. S. Teoh
Aug 17, 2013
Borislav Kosharov
Aug 17, 2013
H. S. Teoh
Aug 17, 2013
Iain Buclaw
August 07, 2013
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
August 07, 2013
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.
August 07, 2013
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
August 07, 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.
August 07, 2013
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 a cool trick. You could've used a better song, though.
August 10, 2013
On Wed, Aug 07, 2013 at 09:52:10PM +0200, 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

Oh dear. Is this the beginning of the IODCC? ;-)


T

-- 
You are only young once, but you can stay immature indefinitely. -- azephrahel
August 17, 2013
On Saturday, 10 August 2013 at 18:28:26 UTC, H. S. Teoh wrote:
> On Wed, Aug 07, 2013 at 09:52:10PM +0200, 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
>
> Oh dear. Is this the beginning of the IODCC? ;-)
>
>
> T

What is IODCC?
August 17, 2013
On Sat, Aug 17, 2013 at 03:47:06PM +0200, Borislav Kosharov wrote:
> On Saturday, 10 August 2013 at 18:28:26 UTC, H. S. Teoh wrote:
> >On Wed, Aug 07, 2013 at 09:52:10PM +0200, 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
> >
> >Oh dear. Is this the beginning of the IODCC? ;-)
> >
> >
> >T
> 
> What is IODCC?

The International Obfuscated D Code Contest.

It's a pun on the IOCCC (International Obfuscated C Code Contest -- see ioccc.org), which is a contest where you try to write the most unreadable, unmaintainable, and horrible C code you can.

:)


T

-- 
The richest man is not he who has the most, but he who needs the least.
August 17, 2013
On 7 August 2013 20:52, Borislav Kosharov <bosak@gmail.com> 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

One is not amused.

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';