tolf and detab

Nick Sabalausky a at a.a
Sun Aug 8 10:33:20 PDT 2010


"bearophile" <bearophileHUGS at lycos.com> wrote in message 
news:i3lb30$26vf$1 at digitalmars.com...
> Jonathan M Davis:
>> I would have thought that being more idomatic would have resulted in 
>> slower code
>> than what Walter did, but interestingly enough, both programs are faster 
>> with my
>> code. They might take more memory though. I'm not quite sure how to check 
>> that.
>> In any cases, you wanted some idiomatic D2 solutions, so there you go.
>
> Your code looks better.
>
> My (probably controversial) opinion on this is that the idiomatic D 
> solution for those text "scripts" is to use a scripting language, as 
> Python :-)
>

I can respect that. Personally, though, I find a lot of value in not needing 
to switch languages for that sort of thing. Too much "context switch" for my 
brain ;)




More information about the Digitalmars-d mailing list