Safer casts

Janice Caron caron800 at googlemail.com
Tue May 13 00:26:24 PDT 2008


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.



More information about the Digitalmars-d mailing list