Fast switching..

Robert Fraser fraserofthenight at gmail.com
Wed Jun 11 04:46:37 PDT 2008


Georg Wrede wrote:
> If this is something I expect to come across regularly, I'd write a 
> small D program that takes as input a list of words with their number 
> and another number that hints at how often I expet the word. This 
> program would output the bit of D source code that I'd paste into my 
> application.

Which can be done with a string mixin + CTFE function ;-P. String 
mixins, IMO, are the most powerful concept in D.



More information about the Digitalmars-d mailing list