digitalmars.D - Guys, what have I done xD
- Borislav Kosharov (8/8) Aug 07 2013 I played around and used D's flexible syntax and I managed to
- Brad Anderson (3/11) Aug 07 2013 That's amazing.
- Borislav Kosharov (3/15) Aug 07 2013 Thanks, but I was just bored :D
- Brad Anderson (3/20) Aug 07 2013 Now just make it make use of opDispatch in some way.
- Meta (3/11) Aug 07 2013 That's a cool trick. You could've used a better song, though.
- H. S. Teoh (5/13) Aug 07 2013 Oh dear. Is this the beginning of the IODCC? ;-)
- Borislav Kosharov (2/18) Aug 17 2013 What is IODCC?
- H. S. Teoh (9/26) Aug 17 2013 The International Obfuscated D Code Contest.
- Iain Buclaw (5/11) Aug 17 2013 One is not amused.
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
Aug 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 :DThat's amazing.
Aug 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:Thanks, but I was just bored :D I normally don't write code like that :DI 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 :DThat's amazing.
Aug 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:Now just make it make use of opDispatch in some way.On Wednesday, 7 August 2013 at 19:52:13 UTC, Borislav Kosharov wrote:Thanks, but I was just bored :D I normally don't write code like that :DI 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 :DThat's amazing.
Aug 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 :DThat's a cool trick. You could've used a better song, though.
Aug 07 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 :DOh dear. Is this the beginning of the IODCC? ;-) T -- You are only young once, but you can stay immature indefinitely. -- azephrahel
Aug 07 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:What is IODCC?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 :DOh dear. Is this the beginning of the IODCC? ;-) T
Aug 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: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.On Wed, Aug 07, 2013 at 09:52:10PM +0200, Borislav Kosharov wrote:What is IODCC?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 :DOh dear. Is this the beginning of the IODCC? ;-) T
Aug 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 :DOne is not amused. -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
Aug 17 2013