On 5/12/12, H. S. Teoh <[email protected]> wrote: > I always use this idiom: > > if ("abcd".canFind(foo)) { ... } >
As do I. Generally when I end up repeating myself all the time I write a helper function.. or if it's something more complicated than that - a template. Anyway hasn't this thread gone completely off tracks? Maybe Carlos (pspemu author) should try and elaborate exactly which issues he's faced, if he's reading this thread. You can't improve language/tools unless you know what's wrong with them. More real-world feedback about D would be great methinks.
