My first experience as a D Newbie

Rion Rion at rion.com
Thu Oct 12 10:29:31 UTC 2017


On Thursday, 12 October 2017 at 01:26:33 UTC, jmh530 wrote:
> On Wednesday, 11 October 2017 at 22:23:12 UTC, Rion wrote:
>> On Wednesday, 11 October 2017 at 18:29:38 UTC, qznc wrote:
>>> At least on Ubuntu, this gives me an IDE:
>>>
>>>   dub run dlangide
>>>
>>> I have not used it much and I don't know if it works on 
>>> Windows, but it might be the easiest way once you installed 
>>> dmd and dub.
>>
>> Windows 10:
>>
>> dub run dlangide
>> Failed to find a package named 'dlangide'.
>
> You have to fetch it first if you don't already have it:
> dub fetch dlangide
> dub run dlangide
>
> Of course, you might still have an issue...

I know but this illustrates the OP his point. Do you see a 
warning tell people they can need to use fetch? Its the small 
details that can made the experience much more nice but because 
everybody here is such D experts, they can not see that for a new 
user he will not have a clue what is going on.

D is riddled with less then friendly behavior simply because the 
developers are used to this and they do so from memory.

Why does it take a whole bunch of commands to make a shared 
library and link it. Go has it down to a simple clean command. 
Seen it also in other languages where is more easy. Yet D focuses 
on the old C++ style because the people developing D all come 
from this background and do not realism that there is something 
called user friendly.

Its everywhere over the D landscape and it makes it hard for 
people who are not C++/D aluminate then it needs to be. Its a 
missed opportunity and instead of always focusing on adding new 
language features, there need to be a clear period of focusing on 
user friendliness.


And by the way that command above on my tablet results in:

> Fetching dcd 0.9.1 (getting selected version)...
> dlangui 0.9.160: building configuration "default"...
> Error: out of memory
> dmd failed with exit code 1.

1.3GB free on a 4GB system... Out of memory really!


More information about the Digitalmars-d mailing list