Watch the Amazon Original series Cross now on Prime Video. Yours with Prime.
Add Prime to get Fast, Free delivery
Amazon prime logo
Buy new:
$39.99
FREE delivery Friday, December 13
Ships from: Amazon.com
Sold by: Amazon.com
$39.99
FREE Returns
FREE delivery Friday, December 13
Or Prime members get FREE delivery Tuesday, December 10. Order within 6 hrs 24 mins.
In Stock
$$39.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$39.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
Returnable until Jan 31, 2025
Returnable until Jan 31, 2025
For the 2024 holiday season, eligible items purchased between November 1 and December 31, 2024 can be returned until January 31, 2025.
Returns
Returnable until Jan 31, 2025
For the 2024 holiday season, eligible items purchased between November 1 and December 31, 2024 can be returned until January 31, 2025.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$27.07
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery Monday, December 16 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Wednesday, December 11. Order within 6 hrs 24 mins.
Only 1 left in stock - order soon.
$$39.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$39.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Programming in D: Tutorial and Reference

4.7 4.7 out of 5 stars 28 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$39.99","priceAmount":39.99,"currencySymbol":"$","integerValue":"39","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"JFqZcGpAXA3NeFGmpl7Dio2zqGC1PXXJJo4s2REtuWkWK7Ntkproqdvg7HUsrFsZDLkoOYegTtQBnj0pMSN%2BzRAyTHwAeA35J7d78XBjIBfgP5rNCFluC9jKRP4%2Fn%2BQLQK4P03Vxc8scSu%2BtH378%2Fw%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$27.07","priceAmount":27.07,"currencySymbol":"$","integerValue":"27","decimalSeparator":".","fractionalValue":"07","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"JFqZcGpAXA3NeFGmpl7Dio2zqGC1PXXJBLGhpMaH834eS36HGkZmCAwdwkiMU%2Fqg8NxMQ%2BJBUsDZ71dZ6FgA8oqucWoWW443xIbgOfn9ZjwU7a6oQ4ffOwjNplkbWsIcvMpcy3kRHVFM8wrLIbOpFXH0xSCFjkZNczdDvKvmbntpA6t03BzGJPcbVRdKat%2FM","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

The main aim of this book is to teach D to readers who are new to computer programming. Although having experience in other programming languages is certainly helpful, this book starts from the basics.

D is a multi-paradigm system programming language that combines a wide range of powerful programming concepts from the lowest to the highest levels. It has C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity in mind.

Each chapter is based on the contents of the previous ones, introducing as few new concepts as possible. It is recommended that the book is read in linear fashion, without skipping chapters if possible.

Although this book was written with beginners in mind, it covers almost all features of D. More experienced programmers can use the book as a D language reference by starting from the index section.

Blurbs from the back cover:
  • “D is pristine, clean, immensely powerful, and arguably the actual state-of-the-art programming language. Ali's book is a gem. Clear, concise, and complete.” – Olivier Henley
  • “I have been using Ali’s online D book to teach D at the university level. It is up-to-date, complete, and most importantly, extremely readable. Having a print version is even better! This is now the 'go-to’ book for learning D programming.” – Chuck Allison, Professor and Chair, Computer Science Department, Utah Valley University
  • “Ali's explanations are succinct and on target. I like that he provides rationale for why D was designed in a particular way and how I can use it most effectively. This is the best computer language book I've read.” – Robbin Carlson, Luthier and Enterprise Architect
  • “I taught a CS2 Data Structures class in D with more success and student appreciation than when using either C++ or Java as it's an ideal language to express the relevant concepts at all scales, from detailed to big picture, without needless complexity.

    Ali Çehreli's tutorial played a central role supporting students especially during the first half of the course — without it the course simply would not have worked, so "many thanks Ali" — and an important part of that is its linearity — it can be read with only backward dependencies. This meant that with hard work even students of little experience and only moderate current abilities could get up to speed, and we saw just that. It is hard to overstate this factor. I unreservedly recommend this book to all.” –
    Dr. Carl Sturtivant, University of Minnesota Department of Computer Science & Engineering
  • “This book is one of the best guides through the language that I've seen.” – Andrew Wray, D Enthusiast
  • “I encourage anyone considering D to read this book. Not exactly 'D for Dummies' but it's easy to follow even if you don't have much experience with compiled languages.” – bachmeier, Reddit user
  • “Having worked through the book, I have to say this is one of the easiest to follow and distraction free read there is and the fact that it made learning a new language a total breeze really impressed me.” – Imran Khan, Student

Editorial Reviews

About the Author

Ali Çehreli has been working as a C, C++, and more recently D programmer with small and large networking companies in Silicon Valley since 1996. He is a board member and the secretary of The D Language Foundation and an organizer of the Silicon Valley Chapter of the ACCU and the DLang Silicon Valley Meetup groups. He is a regular speaker at D conferences.

Product details

  • Publisher ‏ : ‎ CreateSpace Independent Publishing Platform (August 19, 2015)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 773 pages
  • ISBN-10 ‏ : ‎ 1515074609
  • ISBN-13 ‏ : ‎ 978-1515074601
  • Item Weight ‏ : ‎ 2.9 pounds
  • Dimensions ‏ : ‎ 7 x 1.75 x 10 inches
  • Customer Reviews:
    4.7 4.7 out of 5 stars 28 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Ali Cehreli
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read book recommendations and more.

Customer reviews

4.7 out of 5 stars
28 global ratings
Content is superb but the build quality of the book is questionable
5 out of 5 stars
Content is superb but the build quality of the book is questionable
The rating reflects the content of the book only.The books is handy resource to have around and coming from C its a great book to learn D. Very clear explanations and useful in learning D.Now to the build quality of the book.I must say it's a very attractive book but the glue holding the book together is questionable. I owned this book for one week and the middle of the book is already splitting apart. Like another reviewer suggest, I wish they offered a hardcover version since they usually are built better and last longer. I won't knock stars down from the rating since the content is great but wish they built it better.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

Reviewed in the United States on May 8, 2021
If you are writing production D code, this is the book to own. In a age where documentation is often an after thought, Programming in D really stands out. Every section is meticulously ordered and builds logically from simple concepts to more complex forms. It doesn't try to impress the reader with complex sentence structure or vocabulary, but instead aims to explain all D concepts as simply and thoroughly as possible. Because of this, "Programming in D" would probably be a reasonable purchase for non-native English speakers as well.

At over 700 pages, it's not a short text. Initially I was a bit worried about it's size. Other 600+ page "door stops" that I've seen have been filled with long opinion sections or narrative descriptions that distracted from the task at hand. Programming in D is, thankfully, the complete opposite. The book is long only because D has many features and Ali wants to explain them all, carefully.

If you're new to D, get this reference. You'll be a much more relaxed programmer.

Also, I'd recommend getting a paper copy instead of just using the online version. It supports the author, saves your screen space for code, and gives your eyes a different focal point from time to time.
2 people found this helpful
Report
Reviewed in the United States on January 13, 2016
(The first thing to point out is that this book is available for free as pdf in a link from the dlang.org homepage (http://ddili.org/ders/d.en/index.html). The pdf and book appear to be identical. I dislike reading books/tutorials from a pdf since I'll copy and paste the example code and exercises, which isn't conducive to learning... Plus, having a good looking hardcopy is always nice.)

The book is great. It may even be a good book for learning programming in general (especially C-like languages), if you don't have any coding experience. The entire book gives very concise statements and examples for each idea. Even the chapters themselves are short and to-the-point. The author doesn't try to be sarcastic or witty. It's a proper tutorial for idiomatic D.

Though it's probably a reasonable reference book for D, if you already have a good handle on the language or have a lot of experience with C++, the book does build in a linear fashion. Since most of my previous experience is in python, skipping chapters made me feel lost... so read chapters in order. (The author even says this in the preface.)
9 people found this helpful
Report
Reviewed in the United States on January 17, 2016
The rating reflects the content of the book only.

The books is handy resource to have around and coming from C its a great book to learn D. Very clear explanations and useful in learning D.

Now to the build quality of the book.

I must say it's a very attractive book but the glue holding the book together is questionable. I owned this book for one week and the middle of the book is already splitting apart. Like another reviewer suggest, I wish they offered a hardcover version since they usually are built better and last longer. I won't knock stars down from the rating since the content is great but wish they built it better.
Customer image
5.0 out of 5 stars Content is superb but the build quality of the book is questionable
Reviewed in the United States on January 17, 2016
The rating reflects the content of the book only.

The books is handy resource to have around and coming from C its a great book to learn D. Very clear explanations and useful in learning D.

Now to the build quality of the book.

I must say it's a very attractive book but the glue holding the book together is questionable. I owned this book for one week and the middle of the book is already splitting apart. Like another reviewer suggest, I wish they offered a hardcover version since they usually are built better and last longer. I won't knock stars down from the rating since the content is great but wish they built it better.
Images in this review
Customer image
Customer image
4 people found this helpful
Report
Reviewed in the United States on September 11, 2017
very thorough on D language ... very skimpy on Phobos
One person found this helpful
Report
Reviewed in the United States on March 6, 2019
This has to be one of the most well though out books I seen in the past 10 years. The examples are clear, simple, and meaningful. The chapter on enum, has to be the best, not only is the concept explained so well that it rivals all the teaches that I have Ever had. If you have any doubts about this book, don't. Buy this book and be amazed at what this author and what d can do for you.
One person found this helpful
Report
Reviewed in the United States on November 10, 2017
I've read many introductary books to programming, and this is the best one by far. Each chapter is short and consice, focuses on only one element (loops, arrays, structs, etc...), and the provided examples are excellent as well. An excellent book for both beginners and those wishing to learn the workings of Dlang.
Reviewed in the United States on November 12, 2015
I like the book, makes a good reference -- something that has been needed. My one wish would be that was a hardback edition.
3 people found this helpful
Report
Reviewed in the United States on February 20, 2016
Well written book, a great resource if you want to learn the D language.
One person found this helpful
Report

Top reviews from other countries

Translate all reviews to English
SeasideLe
5.0 out of 5 stars An Excellent Introduction to the D Programming Language
Reviewed in the United Kingdom on December 30, 2018
I really liked this book. D aims to be THE successor language to C, and this title aims to be the best first book on D to read. I think it succeeds.

The 89(!) chapters introduce topics in bite-sized chunks so you can dip into this book at will or read it linearly (as recommended). I was coming from a C++ background, so not too many surprises in the first 450 pages or so, but even towards the end of the book (~700pp in total) the style is reassuring, measured and friendly. Every sentence is carefully judged, and don't be put off by the length of this book; it doesn't waffle on.

If you want to teach D, definitely consider this as your course book. If you want to learn D, either as a first compiled language or if you're coming from another C/non-C family language, do read this book. The first half of the book contains end-of-chapter exercises with full solutions at the back, while the later chapters introduce fully working code to compile and experiment with yourself.
Benny
5.0 out of 5 stars Excelled book for anybody starting with D, be it beginners or experienced programmers.
Reviewed in Germany on October 28, 2016
A excelled book to learn D from the start. It shows each and every function all explained with a lot of details and examples. There is a wealth of information in the 740+ pages.

Each chapter talks about a part of the code going from the basics to the very advanced abilities that D offers.

Best of all is that the author keeps his books current and up to date ( as my book was a revision of 06/2016, despite the book being published in 2015 ). And it showed because the authors used the ( at that time ) latest compiler version.

Be prepared to take a long time to read each chapter. Even if your a experienced programmer, its best to not skip the basics because they hold some interesting pieces of information, about what is possible in D. Its a good book to start in D and its even useful experienced programmers.

As a side note: Take a look at the author his D conference talks on Youtube etc. This will give you a test how the author can explain even complicated topics in easy to understand ways ( as he also does in the book ).
Walter D.
5.0 out of 5 stars New to D
Reviewed in the United Kingdom on February 28, 2022
This is a book for anyone wanting to get to grips with the magnificent D language. Indispensable.
Daniel S. Reichenbach
5.0 out of 5 stars Amüsant und hilfreich
Reviewed in Germany on December 29, 2016
Als Neueinsteiger in D mit Erfahrung in C/C++, Java und einigen anderen Sprachen hab ich ein recht trockenes Werk erwartet, dass nur die nackte Sprachfunktionalität vorführt.

Doch dem ist nicht so, denn Ali Cehreli stellt in jedem Kapitel die Funktionalität mit recht brauchbaren Beispielen vor, die zum selber lösen anregen und nicht die hundertste Fassung der gleichen Aufgabe sind. Das ganze garniert mit einem Augenzwinkern.

Besonders beeindruckt hat mich, dass der Autor auch online das Buch weiter pflegt und Verbesserungen vornimmt.

Wer nicht weiss, ob der Ausflug in D sich lohnt, sollte sich das Buch auf jeden Fall anschauen.
Emil Perhinschi
5.0 out of 5 stars Five Stars
Reviewed in the United Kingdom on October 3, 2018
probably easiest to understand D book written until now