News for hackers. Stuff that matters.
Re:Hidden treasure in the D standard library by tonysuper on Thursday August 28, 2014 @05:02PM (#8239680)
The "flag" example could be easily replaced with named parameters. Seems a bit unnecisary to add a new type for that purpose, unless I'm missing something.
Re:Hidden treasure in the D standard library by asterite on Thursday August 28, 2014 @05:36PM (#8239845)
You are not missing anything: named parameters would have been a much nicer choice, but I think they don't want to make the language more complex.
Re:Hidden treasure in the D standard library by EvenThisAcronym on Thursday August 28, 2014 @07:29PM (#8240308)
Are there any plans to add named arguments a la C# or Python in the future?
Re:Hidden treasure in the D standard library by renox on Friday August 29, 2014 @05:04AM (#8241730)
Currently 'the plate is full': D is full of features and many of them are not finished/polished so I doubt that they will add such kind of feature in the near future..