www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Should I write a DIP for Null functions?

reply 12345swordy <alexanderheistermann gmail.com> writes:
I was think about about writing one about this as this is an 
"obvious" small easy feature to introduce as it practically a 
function that does nothing when called and that itself is quite 
useful.

Any objections to this?

Alexander
Jul 10 2018
parent Seb <seb wilzba.ch> writes:
On Wednesday, 11 July 2018 at 02:20:01 UTC, 12345swordy wrote:
 I was think about about writing one about this as this is an 
 "obvious" small easy feature to introduce as it practically a 
 function that does nothing when called and that itself is quite 
 useful.

 Any objections to this?

 Alexander
I think you will only find objections once you dive into the topic and actually write the DIP. I don't think anyone will object to you experimenting with this. Go for it! That being said, it certainly won't hurt to post a draft version of your DIP here, s.t. people have a better understanding to what they will object/agree to. Also I would recommend to highlight in your DIP use cases and why a library solution based on mixin is inferior.
Jul 10 2018