D dropped in favour of C# for PSP emulator

Jonathan M Davis jmdavisProg at gmx.com
Fri May 11 11:25:06 PDT 2012


On Friday, May 11, 2012 11:22:13 H. S. Teoh wrote:
> > 6. The 'in' operator returns a pointer (instead of a boolean). Which
> > is fine, except that it's not what you'd expect in any languages
> > other than C/C++. i.e. Non-intuitive
> 
> Actually, that is a WAT even for somebody coming from C/C++.

Really? That's pretty much exactly what I would have expected, and it would
really suck if it returned a bool. It's like what you get with find on
std::map, only it's a pointer instead of an iterator.

- Jonathan M Davis


More information about the Digitalmars-d mailing list