Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
November 16, 2019 D vs Java which is more powerful | ||||
---|---|---|---|---|
| ||||
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 |
November 16, 2019 Re: D vs Java which is more powerful | ||||
---|---|---|---|---|
| ||||
Posted in reply to GreatSam4sure | 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.org
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.
|
November 16, 2019 Re: D vs Java which is more powerful | ||||
---|---|---|---|---|
| ||||
Posted in reply to bachmeier | On Saturday, 16 November 2019 at 10:28:58 UTC, bachmeier wrote:
> On Saturday, 16 November 2019 at 07:24:50 UTC, GreatSam4sure wrote:
>> [...]
>
> 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.
Thanks, I was shock with the claim because I have knowledge of both languages
|
November 16, 2019 Re: D vs Java which is more powerful | ||||
---|---|---|---|---|
| ||||
Posted in reply to GreatSam4sure | 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.org
Java 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.
|
November 17, 2019 Re: D vs Java which is more powerful | ||||
---|---|---|---|---|
| ||||
Posted in reply to bauss | On Saturday, 16 November 2019 at 22:25:46 UTC, bauss wrote:
> On Saturday, 16 November 2019 at 07:24:50 UTC, GreatSam4sure wrote:
>> [...]
>
> Java as a language in itself is not more powerful than D regardless of opinions.
>
> [...]
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
|
Copyright © 1999-2021 by the D Language Foundation