Safer casts

Yigal Chripun yigal100 at gmail.com
Tue May 13 00:55:38 PDT 2008


Janice Caron wrote:
> 2008/5/13 Yigal Chripun <yigal100 at gmail.com>:
>>  Good Points! I thought about the IDE issue, but I wasn't sure how the
>>  IDE handles this.
> 
> I don't have an IDE, but in my text editor,
> 
>     "a < b"
> 
> is colored like a string, but
> 
>     q{ a < b }
> 
> is colored like D code throughout. So I can choose my quoting method
> depending on how I want my code colored. This works, not because my
> IDE is smart, but precisely because it isn't! It doesn't realise that
> q{...} is a string, so it gets colored like code.
OK, but the point Ary made was that an IDE is smart and provides
auto-complete and similar features which cannot be provided for strings.



More information about the Digitalmars-d mailing list