Using D

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 25 03:53:10 PDT 2014


On Mon, 2014-08-25 at 09:01 +0000, Chris via Digitalmars-d wrote:
[…]
> The main thing that put me off Java was not so much the fact that 
> you're restricted to OOP and that it's verbose etc., but that it 
> caused all sorts of problems when shipping the actual programs. 
> "Write once run everywhere" is a myth, if you ask me. D is much 
> closer to that than Java. In the end we encountered so many 
> problems that I dumped Java for cross platform development (and 
> for development in general). Nobody in the Java world ever talks 
> about this, but cross platform doesn't really work (apart from 
> running simple programs).
[…]

Java is not really an object-oriented programming language. OK it has
classes, inheritance, and method calls, but it is not founded on message
passing. For example:

	a + b

is not a message in Java as it is in C++, Python, etc.

Write Once Run Anywhere (WORA) has been a known fallacy since about
1995 ;-) Versions of things really are a bit of a
dependency/configuration nightmare. Maven Central and Gradle help
somewhat for the JVM, but then there is the shared library nightmare for
all other platforms.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140825/55225668/attachment.sig>


More information about the Digitalmars-d mailing list