On Tuesday, 24 October 2017 at 17:30:27 UTC, Andrey wrote:
Hello, why there are no named arguments for functions like, for example, in kotlin i.e.:int sum(in int a, in int b) { return a + b; } sum(a = 1, b = 2);
This has been discussed to death: http://forum.dlang.org/post/n8024o$dlj$1...@digitalmars.com and you can do it as a library so no need to go in the language: https://github.com/CyberShadow/ae/blob/master/utils/meta/args.d