Top 5
Mike
vertex at gmx.at
Wed Oct 8 13:51:13 PDT 2008
Andrei Alexandrescu Wrote:
> Ok, per Aarti's suggestion: without speaking officially for Walter, let
> me ask this - what do you think are the top issues you'd like to see
> fixed in D?
>
> Andrei
Mostly some things from C#:
1. Real Properties
Please! Seriously ... please.
2. Attributes - and deprecate some keywords we wouldn't need anymore
// just an example; I don't really want to pick on foreach_reverse, although I wouldn't mind if it died :)
foreach_reverse(a; b) { ... }
[reversed] foreach(a; b) { ... }
3. Extension methods
4. Replace C-style switch with something modern and more D-like:
switch (x)
{
case (0) foo();
case (1)
{
bar();
baz();
}
else throw new Exception("nope");
}
5. In the future: LINQ
More information about the Digitalmars-d
mailing list