kc
2015-10-07 12:30:57 UTC
Given that Dart has the keywords 'var' and 'dynamic' new users will think
C#.
But in C# 'var' is *locals* only with type inference. (Also C# does not
have optional/gradual typing).
This is where a lot of confusion comes from (imo). (And it doesn't look
like Dart is picking up JS dev's re the current 'var' semantics).
Dart's type system seems most like Groovy's. Groovy was influential - but
more with the builder/block concepts rather than the dynamic/gradual type
system. (Builders and blocks would be useful for Dart).
K.
C#.
But in C# 'var' is *locals* only with type inference. (Also C# does not
have optional/gradual typing).
This is where a lot of confusion comes from (imo). (And it doesn't look
like Dart is picking up JS dev's re the current 'var' semantics).
Dart's type system seems most like Groovy's. Groovy was influential - but
more with the builder/block concepts rather than the dynamic/gradual type
system. (Builders and blocks would be useful for Dart).
K.
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.