Positive

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Oct 5 07:18:26 PDT 2008


bearophile wrote:
> Having two ways to do the same thing is generally very bad. So what
> you suggest is acceptable only as a *replacement* for the old syntax.

I agree.

> The ! is useful, because for me it means "instantiate real code from
> this template!", it's a command to do an action. While the dot syntax
> looks too much like method invocation and the like.

I agree.

> So I too add my -1 vote to the dot syntax. I think we are about at
> -20 now, I presume you have had the (negative) answer from the
> community.

I think it would be nice if the community first tried the syntax. I 
myself wrote Tuple.(int, int) a couple of times and was like, hmm, 
that's bizarre. Then I sed my entire codebase and I was in for a treat.

> And next time I suggest you to ask people first. In the design of a
> language I've seen it's very easy to add personal quirks.

You got the timings reversed. How can anyone know how it feels without 
actually using it? It's a syntax matter, so you gotta see it.

> Regarding the font to use, I suggest you Inconsolata, it's free and
> it's the best looking I have seen so far: 
> http://www.levien.com/type/myfonts/inconsolata.html

Thanks.


Andrei




More information about the Digitalmars-d mailing list