Go: A new system programing language
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Nov 11 07:56:40 PST 2009
Bill Baxter wrote:
> Looks interesting.
>
> * Uses a module system
> * Built-in arrays are value types.
> * Python like slice syntx a[lo:hi]
> * immutable strings
> * switch has no break. Use "fallthrough" to fallthrough.
> * Nested functions
> * First class tuples ( a,b = func(), a,b=b,a )
> * := for assignment
> * Uses "var" to declare variables (this was chapmpioned by some here
> instead of auto)
> * varible type comes after declaration and is optional
> * return type of functions comes after parameters
> * No Windows port yet. That's going to be a bit of a roadblock to
> widespread adoption.
> * Iota!?
> * ...
>
> There's a lot there that looks either like D or like things people in
> the D community have argued for.
It's also missing quite a few things that people in the D community take
for granted.
> And it's got the billion dollar backing of a major company.
That part I missed.
Andrei
More information about the Digitalmars-d
mailing list