PHP-style (embedded variables) print statements

Daniel Keep daniel.keep.lists at gmail.com
Fri Jun 1 18:25:36 PDT 2007



Dejan Lekic wrote:
> I pray to God I will never have to write code like:
> 
>>      Stdout("current=")(i)(" next=")(i+1)(" const=")(k*3)(" ")(str);
> 

"Mummy, why are my eyes bleeding?"

	-- Daniel

-- 
int getRandomNumber()
{
    return 4; // chosen by fair dice roll.
              // guaranteed to be random.
}

http://xkcd.com/

v2sw5+8Yhw5ln4+5pr6OFPma8u6+7Lw4Tm6+7l6+7D
i28a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP  http://hackerkey.com/



More information about the Digitalmars-d mailing list