On Saturday, 14 March 2015 at 23:46:28 UTC, Ellery Newcomer wrote:
On Saturday, 14 March 2015 at 13:52:13 UTC, Craig Dillabaugh
wrote:
I don't have any C# experience so I can't compare those
languages much, but I've heard people say their are D / C#
similarities.
Anyway, this isn't a criticism of your comment, I was just
curious what (other than the shared C++ syntax heritage) you
find so Java-like in D?
Cheers,
Craig
I've been using C# pretty extensively for the last year or so.
Superficially, at least, C# and D are pretty similar, eg auto
(var), foreach, lambdas, classes and structs. C# is more biased
towards OO than D.
Metaprogramming is significantly weaker in C#. This is probably
the one area where I've wished for some of D's functionality.
Reflection is all runtime.
C# has some AST capabilities that D doesn't. This is probably
the main area where I envy C# when using D.
And C# has LINQ, which when combined with the last point is
fricken awesome.
You should give C# a try, its actually great. The only thing that
holds me back is that its maintained by microsoft, Multi Platform
support is sub par, and it cant be targeted towards other
architectures.