D Language
D is a general-purpose programming language with static typing, systems-level access, and C-like syntax. - Home
It’s almost as if the universe had a law: inferior technology is always preferred no matter how hard you seethe - HN:
- Python preferred over Ruby
- TypeScript preferred over Dart or even JavaScript (which is fine and, as a bonus, doesn’t require compilation step like TS)
-
Go is preferred over Crystal and D.
- Programming in D: Tutorial and Reference
- Language Reference
- Tutorials
online
## DUB (package/project manager) Starting a new project
dub init myproject
Execute dub build
to build your project, dub run
to build and run it, or dub test
to build and run unit tests.
Ressources
- The D Programming Language by Andrei Alexandrescu
- Learning D as a second language
- The Top Dlang Open Source Projects
Notes
- D support #line like C-preprocessor (usefull with m4 –synclines)
- Uniform Function Call Syntax (UFCS)
- function chaining and component programming (concept)
- toString()
- tuple
- functionnal programming
- auto function
Written on October 3, 2019, Last update on September 4, 2020
dlang
lang
inferior-technology