Examples from "Programming in D" book
Monkyyy
crazymonkyyy at gmail.com
Sat Jul 26 17:48:43 UTC 2025
On Friday, 25 July 2025 at 21:27:55 UTC, Brother Bill wrote:
> On Friday, 25 July 2025 at 18:47:19 UTC, Ali Çehreli wrote:
>> On 7/25/25 4:10 AM, Brother Bill wrote:
>> > On Friday, 25 July 2025 at 10:56:08 UTC, novicetoo wrote:
>> >> check https://ddili.org/ders/d.en/index.html
>> >> under "Code samples as a .zip file"
>> >
>> > Checked that out. These are not in order, nor exhaustive.
>> >
>> > I'll create my own code samples, then post them here first.
>>
>> The code samples are extracted automatically. True, not in the
>> order they appear in the book; the file names are based on
>> chapter names.
>>
>> True, not all pieces of code are extracted: Only the ones that
>> define main() and not have any non-standard import (anything
>> other than std and core).
>>
>> And to test, all those code samples (and some others that
>> don't have main()) are automatically compiled and executed
>> before put in that zip file.
>>
>> Ali
>
> Brother Ali, may I have copyright permission for "Programming
> in D" examples for COMMERCIAL use in creating a Udemy D
> tutorial course?
>
> Wy samples will be mostly exhaustive, expanding snippets, and
> even adding some from scratch. I get frustrated when I see
> example snippets without context. I always want full working
> code, so I can play with it.
> And so that's what I am building.
Copying the 1 old book everyone has read may not be effective.
I'm pretty sure every piece is common knowledge while there's
allot of other stuff 80% of the community hasn't touched
More information about the Digitalmars-d-learn
mailing list