OT: What's your favorite codeline?
Tom S
h3r3tic at remove.mat.uni.torun.pl
Sun Aug 30 10:47:03 PDT 2009
A Bothe wrote:
> What's your favorite line of D code?
I like my recent:
c.resFunc = cast(void
function(void*))(*cast(void***)proto.resources[origResIdx].init().ptr)[
Command.Type.ResAcquire == c.type ? 1 : 2
];
Sure, it's 3 lines, but still one statement and if I were downs, that
would *be* one line ;D
--
Tomasz Stachowiak
http://h3.team0xf.com/
h3/h3r3tic on #D freenode
More information about the Digitalmars-d
mailing list