Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 850 Bytes

D.md

File metadata and controls

42 lines (34 loc) · 850 Bytes
tags
languages

D

Language

CLI handling

#!/usr/bin/env rdmd
import std.stdio;

int main(string[] args)
{
	writeln(":");

	return 0;
}

string concatenation

"asdasd" ~ "ASdasd"

Dub (package manager & build tool)

run package command: dub run ddox

generate documentation

dub build -b docs or dub build -b ddox

examples (how to use libraries, c sources etc.)

https://github.com/dlang/dub/tree/master/examples https://timurgafarov.medium.com/dub-tricks-d16f02c6ea81

Projects (worth browsing sources)

Check these code for examples and best practices:

Link Description
HipremeEngine game engine
phobos D lang standard library
libmir some library