Leanpub, 2020. — 333 p.
A book about D programming language or DLang for Python programmers. “There is no best programming language”, they say. There is, for most applications it is D. The book starts from a comparison of D to Python and teaches all important features of D. D has all the features of Python but speed comparable to C and reliability comparable to Ada! D programming language or DLang for Python programmers: rapid software development of high-performance software and a reliable software technology. “There is no best programming language”, they say. There is, for most applications it is D.
The book starts with a comparison of D to Python. Then it explains D starting from simple features (types, variables, functions, expressions, statements) up to advanced ones (object-oriented programming, templates, mixins, contract programming, overloading of operators, etc.) Then follows advice for good programs and introduction to several libraries: the standard library Phobos (ranges, arrays, functional programming, tuples, the variant types, files, etc.) and several other important libraries including some libraries written by the author.