D Templates Tutorial

A tutorial on the D programming language templates.
Alternatives To D Templates Tutorial
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Build Your Own X193,310
4 days ago1March 16, 2022262
Master programming by recreating your favorite technologies from scratch.
Awesome Competitive Programming10,905
a month ago24cc-by-4.0
:gem: A curated list of awesome Competitive Programming, Algorithm and Data Structure resources
Learn Vim10,857
22 days ago8other
Learning Vim and Vimscript doesn't have to be hard. This is the guide that you're looking for 📖
Rust Learning9,559
13 days ago4
A bunch of links to blog posts, articles, videos, etc for learning Rust
Blog3,182
2 years ago56
gamedev blog
Practical Cryptography For Developers Book2,897
24 days ago48mitCSS
Practical Cryptography for Developers: Hashes, MAC, Key Derivation, DHKE, Symmetric and Asymmetric Ciphers, Public Key Cryptosystems, RSA, Elliptic Curves, ECC, secp256k1, ECDH, ECIES, Digital Signatures, ECDSA, EdDSA
Awesome Computer Science Opportunities2,841
a month ago13mit
An awesome list of events and fellowship opportunities for Computer Science students
Break The Ice With Python2,186
2 months ago68Jupyter Notebook
The repository is about 100+ python programming exercise problem discussed, explained, and solved in different ways
Learning Oop In Php2,184
3 years ago7
A collection of resources to learn object-oriented programming and related concepts for PHP developers.
Byte Of Python2,022
13 days ago10Python
Beginners book on Python - start here if you don't know programming
Alternatives To D Templates Tutorial
Select To Compare


Alternative Project Comparisons
Readme

D Template Tutorial

What's it's about

This project is about a wonderful part of the D programming language: templates. It contains a markdown document on templates aiming to be a kind of tutorial.

It's divided in 6 chapters:

  • Introduction is just, well, the introduction text, explaining the goal of this document and the formatting conventions used.
  • Basics is about templates syntax, basic building blocks (static if, eponymous trick) and function, struct and class templates.
  • Some More Advanced Considerations is about more advanced ideas, like constraints, tuples or operator overloading.
  • Around Templates deals with other metaprogramming constructs interacting with templates: traits, compile-time function evaluation (CTFE) and string mixins.
  • Examples presents some more detailed examples of what can be done with D templates.
  • The Appendix gives some explanation on the is expression and links on other templates resources.

If you find any inexactitude, plain error or missing subject, don't hesitate to open an issue on github!

Other formats

The markdown syntax used for the doc is the extended version used by Pandoc (mainly for tables or code sections). Using markdown files and Pandoc, I generate the HTML, pdf and epub versions. Feel free to comment on them also.

Utils

The utils folder contains a small D script to extract the hundreds of modules present in the text and test their compilation. You can also find there the extracted and tested modules.

Popular Programming Projects
Popular Tutorials Projects
Popular Learning Resources Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Html
Markdown
Tutorial
Programming
Programming Language
Pandoc