Extended Type Design: further examples

Kirk McDonald kirklin.mcdonald at gmail.com
Mon Mar 19 16:25:19 PDT 2007


Andrei Alexandrescu (See Website For Email) wrote:
> By the way, a couple of days ago I've had an idea. Many people here ask
> for a "string" alias because char[] is a tad hard to type and uneasy on
> the eyes. Probably a good candidate would be:
> 
> alias invariant char[] string;
> 

Now that I like. Reminds me very much of Python.

-- 
Kirk McDonald
http://kirkmcdonald.blogspot.com
Pyd: Connecting D and Python
http://pyd.dsource.org



More information about the Digitalmars-d mailing list