4 ms·
Automatic return type inference is a joy, compared to TypeScript and Flow: https://tour.dlang.org/tour/en/basics/functions https://tour.dlang.org/tour/en/basics
by crazypython 6y ago
Automatic return type inference is a joy, compared to TypeScript and Flow: https://tour.dlang.org/tour/en/basics/functions https://tour.dlang.org/tour/en/basics/functions
A zero-overhead foreach loop is great compared to JavaScript and C#: https://tour.dlang.org/tour/en/basics/loops https://tour.dlang.org/tour/en/basics/loops
Uniform function call syntax: https://tour.dlang.org/tour/en/gems/uniform-function-call-syntax-ufcs https://tour.dlang.org/tour/en/gems/uniform-function-call-sy...
Sophisticated reflection, without any of the runtime overhead, since it occurs at compile-time: https://tour.dlang.org/tour/en/gems/traits https://tour.dlang.org/tour/en/gems/traits