digitalmars.D.learn - D vs Java which is more powerful
- GreatSam4sure (5/5) Nov 15 2019 According to this [1] a person that java is much more powerful
- bachmeier (13/18) Nov 16 2019 What does "powerful" mean? I sure as heck wouldn't call Java a
- GreatSam4sure (3/17) Nov 16 2019 Thanks, I was shock with the claim because I have knowledge of
- bauss (22/27) Nov 16 2019 Java as a language in itself is not more powerful than D
- GreatSam4sure (5/11) Nov 17 2019 Thanks, I am really shock about the claim that Java is move
According to this [1] a person that java is much more powerful than D. I am really surprised at this claim. Is this true? Because I believe D much more powerful than Java. I will really appreciate detail analysis 1.https://forum.dlang.org/thread/lnrhskowvyighdnzbdsn forum.dlang.org
Nov 15 2019
On Saturday, 16 November 2019 at 07:24:50 UTC, GreatSam4sure wrote:According to this [1] a person that java is much more powerful than D. I am really surprised at this claim. Is this true? Because I believe D much more powerful than Java. I will really appreciate detail analysis 1.https://forum.dlang.org/thread/lnrhskowvyighdnzbdsn forum.dlang.orgWhat does "powerful" mean? I sure as heck wouldn't call Java a powerful language for interacting with C code, for instance. This kind of discussion is not likely to be fruitful. Most participants will have a limited understanding of both languages, terms like powerful will go undefined, and claims will be based on anecdotes rather than data. If you want to compare languages, you need to start by figuring out what you want to do, then you need to decide which language will help you get there the easiest, which is the best option for long-term maintenance, and so on. A language's power (whatever that means) is not going to be a big factor in that decision.
Nov 16 2019
On Saturday, 16 November 2019 at 10:28:58 UTC, bachmeier wrote:On Saturday, 16 November 2019 at 07:24:50 UTC, GreatSam4sure wrote:Thanks, I was shock with the claim because I have knowledge of both languages[...]What does "powerful" mean? I sure as heck wouldn't call Java a powerful language for interacting with C code, for instance. This kind of discussion is not likely to be fruitful. Most participants will have a limited understanding of both languages, terms like powerful will go undefined, and claims will be based on anecdotes rather than data. If you want to compare languages, you need to start by figuring out what you want to do, then you need to decide which language will help you get there the easiest, which is the best option for long-term maintenance, and so on. A language's power (whatever that means) is not going to be a big factor in that decision.
Nov 16 2019
On Saturday, 16 November 2019 at 07:24:50 UTC, GreatSam4sure wrote:According to this [1] a person that java is much more powerful than D. I am really surprised at this claim. Is this true? Because I believe D much more powerful than Java. I will really appreciate detail analysis 1.https://forum.dlang.org/thread/lnrhskowvyighdnzbdsn forum.dlang.orgJava as a language in itself is not more powerful than D regardless of opinions. D as a language on its own is probably the most powerful language because of the way templates and metaprogramming works, CTFE etc. there's just no equivalent really. The closest to a competitor language-wise is Nim. However that being said .... Java excels far more than D in its framework, available packages and library ports but that's because Java is more popular and has been one of the most popular languages far longer than D has. D is not even popular compared to Java. D cannot and probably won't ever match the ecosystem of Java but that doesn't mean Java is the better choice. It all comes down to use-cases. You can't really say any language is better than another because each language has pros and cons. They're all tools and should be used respectively. Ex. you can see Java as a hammer and D is a screwdriver. A lot of people fail to realize that each language is a tool and not a toolbox.
Nov 16 2019
On Saturday, 16 November 2019 at 22:25:46 UTC, bauss wrote:On Saturday, 16 November 2019 at 07:24:50 UTC, GreatSam4sure wrote:Thanks, I am really shock about the claim that Java is move powerful than D since I have a working knowledge of both languages. You are right in your analysis. Thanks[...]Java as a language in itself is not more powerful than D regardless of opinions. [...]
Nov 17 2019