short guide on getting started with D

thinkunix thinkunix at zoho.com
Wed Apr 5 05:52:33 UTC 2023


cgenie via Digitalmars-d-learn wrote:
> Hello,
> 
> I created a short guide on getting started with D: 
> https://blog.mmksoft.uk/#A%20short%20guide%20on%20getting%20started%20with%20D%20programming 
> 
> 
> This is because I recently I started to explore the language and, having 
> read the forum, I see DUB being discouraged quite often.
> 
> I would appreciate any remarks.


My observations:
#1 typo:  After that, add this meso.build file:

"meso.build" should be "meson.build"

#2 Does it matter where the dlang = import... block goes in the
meson.build file?  I added it after the "test(..." in the first
block and it seemed to work, but...

#3 where is dep?  Is it a file or do I have to create it?

I could only get you demo to work by removing the line

   dependencies: deps

from meson.build.  Then it created dub.json and dub ran it OK.

No need for a reply, just my obvservations from someone who knows
a little D and less meson.

scot




More information about the Digitalmars-d-learn mailing list