Re: We should deprecate C-style declarations

2009-11-22 Thread Bernard Helyer
On 16/11/09 04:27, Don wrote: Before TDPL is published, I think we should finally get rid of C-style declarations. Yes please.

Re: We should deprecate C-style declarations

2009-11-16 Thread Trass3r
Don schrieb: Before TDPL is published, I think we should finally get rid of C-style declarations. Supporting two styles of declarations just causes confusion, and AFAIK it doesn't have any benefits -- for example, it doesn't significantly help in porting code from C. D declarations are just be

Re: We should deprecate C-style declarations

2009-11-16 Thread Sean Kelly
Don Wrote: > Before TDPL is published, I think we should finally get rid of C-style > declarations. Supporting two styles of declarations just causes > confusion, and AFAIK it doesn't have any benefits -- for example, it > doesn't significantly help in porting code from C. D declarations are >

Re: We should deprecate C-style declarations

2009-11-16 Thread Álvaro Castro-Castilla
Don Wrote: > Before TDPL is published, I think we should finally get rid of C-style > declarations. Supporting two styles of declarations just causes > confusion, and AFAIK it doesn't have any benefits -- for example, it > doesn't significantly help in porting code from C. D declarations are >

Re: We should deprecate C-style declarations

2009-11-16 Thread Frank Benoit
Andrei Alexandrescu schrieb: > ...(such as "length" in array index expressions) ... finally yay!

Re: We should deprecate C-style declarations

2009-11-15 Thread Jesse Phillips
Thanks Don for keeping this page up to date: http://www.prowiki.org/wiki4d/wiki.cgi?LanguageDevel

Re: We should deprecate C-style declarations

2009-11-15 Thread bearophile
#ponce: > Yes please. There is no real use for: > int myvar[4]; > > instead of: > int[4] myvar; > > and porting from C requires some rewriting anyway. When you translate this C code: int a[4][10]; You have to remember to invert them to convert them to D: int[10][4] a; As time passes, D gets l

Re: We should deprecate C-style declarations

2009-11-15 Thread Andrei Alexandrescu
Don wrote: Before TDPL is published, I think we should finally get rid of C-style declarations. Supporting two styles of declarations just causes confusion, and AFAIK it doesn't have any benefits -- for example, it doesn't significantly help in porting code from C. D declarations are just bett

Re: We should deprecate C-style declarations

2009-11-15 Thread #ponce
Don Wrote: > Before TDPL is published, I think we should finally get rid of C-style > declarations. Supporting two styles of declarations just causes > confusion, and AFAIK it doesn't have any benefits -- for example, it > doesn't significantly help in porting code from C. D declarations are >

Re: We should deprecate C-style declarations

2009-11-15 Thread Ellery Newcomer
Don wrote: > Before TDPL is published, I think we should finally get rid of C-style > declarations. Supporting two styles of declarations just causes > confusion, and AFAIK it doesn't have any benefits -- for example, it > doesn't significantly help in porting code from C. D declarations are > just

We should deprecate C-style declarations

2009-11-15 Thread Don
Before TDPL is published, I think we should finally get rid of C-style declarations. Supporting two styles of declarations just causes confusion, and AFAIK it doesn't have any benefits -- for example, it doesn't significantly help in porting code from C. D declarations are just better. And ther