Verbosity in D

Emanuele Torre torreemanuele6 at gmail.com
Mon Aug 8 00:18:12 UTC 2022


On Monday, 8 August 2022 at 00:11:33 UTC, pascal111 wrote:
> On Sunday, 7 August 2022 at 23:53:36 UTC, Emanuele Torre wrote:
>> On Sunday, 7 August 2022 at 16:01:08 UTC, pascal111 wrote:
>>> It's clear by working with D that it has the same bad point 
>>> like Pascal language; the "verbosity". Is there any plans in 
>>> future to make some shorthanded techniques that clean 
>>> verbosity from D?
>>>
>>> Quote: "In terms of functionality, Pascal is pretty much 
>>> exactly the same as C, except with some sanity-conserving 
>>> restrictions on one hand, and more verbose syntax on the 
>>> other. It was an okay language for the time when it was 
>>> popular, and I would give it kudos just for having the common 
>>> sense to make the assignment operator := instead of =, and 
>>> not allowing it to be chained, but verbosity back then was 
>>> still something to be avoided if possible, so C was naturally 
>>> seen as superior."
>>>
>>> https://www.quora.com/Is-there-a-value-learning-Pascal-now-Are-there-actually-any-parts-where-Pascal-is-better-than-C-Is-this-language-worth-investing-time-into-What-would-the-added-value-be-if-I-learn-it
>>
>> Regaring this, I don't understand what you mean either.
>> How is D unnecesarily verbose?
>> Do you have any specific example?
>
> I don't have specific code but it was a general notice. Take 
> Python as in example, the same program in Python doesn't cost 
> much code as D code, and of course by putting in accounts that 
> that I assume that there are some special tasks D can do, while 
> Python can't do.

You are just sounding like a troll now...

That makes no sense:

  "I assume that there are some special tasks D can do, while 
Python can't do"
  How?

  "Take Python as in example, the same program in Python doesn't 
cost much code as D code"
  What same program are you talking about? Why did you mention 
python as if you showed me an example I can see?

What am I supposed to say if can't even explain or show an 
example of how D is more verbose?



More information about the Digitalmars-d-learn mailing list