www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D for Java programmers

reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
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
Mar 03 2005
parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
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 ?

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.
Mar 03 2005
parent Georg Wrede <georg.wrede nospam.org> writes:
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!
Mar 07 2005