Thread overview
D for Java programmers
Mar 03, 2005
Stewart Gordon
Mar 07, 2005
Georg Wrede
March 03, 2005
The official D pages have:

"Converting C to D"
http://www.digitalmars.com/d/ctod.html

"Converting C++ to D"
http://www.digitalmars.com/d/cpptod.html


Anyone like to help out with:

"Converting Java to D"
http://www.prowiki.org/wiki4d/wiki.cgi?JavaToD

It would be for people who grew up on Java first,
and has never seen *either* of C or C++ before ?


References:
http://www.digitalmars.com/d/comparison.html
http://www.prowiki.org/wiki4d/wiki.cgi?NotesForProgrammersUsedTo/JavaLanguage

I think it would actually be a lot easier than
for instance doing a "Java to C++" introduction.

--anders

March 03, 2005
Anders F Björklund wrote:
<snip>
> Anyone like to help out with:
> 
> "Converting Java to D"
> http://www.prowiki.org/wiki4d/wiki.cgi?JavaToD
> 
> It would be for people who grew up on Java first,
> and has never seen *either* of C or C++ before ?
<snip>

It would be good to feature some Java snippets and their equivalents in D, rather like the C and C++ pages on the DM site.  I'll have a go at it.

We probably ought to have structs and unions as separate sections.  The structs section would describe how structs are different from classes, and then once the reader has got his/her/its head around this, the unions section would describe how unions are different again.

Stewart.

-- 
My e-mail is valid but not my primary mailbox.  Please keep replies on the 'group where everyone may benefit.
March 07, 2005

Stewart Gordon wrote:
> Anders F Björklund wrote:
> <snip>
> 
>> Anyone like to help out with:
>>
>> "Converting Java to D"
>> http://www.prowiki.org/wiki4d/wiki.cgi?JavaToD
>>
>> It would be for people who grew up on Java first,
>> and has never seen *either* of C or C++ before ?
> 
> <snip>
> 
> It would be good to feature some Java snippets and their equivalents in D, rather like the C and C++ pages on the DM site.  I'll have a go at it.
> 
> We probably ought to have structs and unions as separate sections.  The structs section would describe how structs are different from classes, and then once the reader has got his/her/its head around this, the unions section would describe how unions are different again.

Excellent!