Does D has an aim to be convertible back to C code easily?

I want to define a function as follows:

mysqlConnect( string host="localhost", string username, string password=null );


I was expecting that I could call the function as follows:

mysqlConnect( , "root" );

But, it neither allows me to define the function in that way, or allows me to call the function in that way even if I give a default value to username parameter. Would it be possible to allow a syntax as above?

This could open the doors to set parameters by giving parameter name as well.

Reply via email to