www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D language help for a C# programmer

reply Brien <reply tolist.com> writes:
I've made some progress on a language conversion tool, but I'm putting a call
out to the D language gurus for some tips.

Most of the conversions I've done have been syntactic.  What are some semantic
differences that I might run into doing a conversion?  Any other gotchas to
look out for?

(Example of a gotcha: usage of 'is' versus '==')
Jan 12 2010
parent BCS <none anon.com> writes:
Hello Brien,

 I've made some progress on a language conversion tool, but I'm putting
 a call out to the D language gurus for some tips.
 
 Most of the conversions I've done have been syntactic.  What are some
 semantic differences that I might run into doing a conversion?  Any
 other gotchas to look out for?
 
 (Example of a gotcha: usage of 'is' versus '==')
 

IIRC there are some odd differences between D and C#'s structs so be shure to account for them.
Jan 12 2010