News for hackers. Stuff that matters.
Re:Get rid of boolean function parameters by reacweb on Monday June 15, 2015 @07:40AM (#9718708)
You may love Ada:

    function Calc_Formula(A, B : Integer; Is_Gain : Boolean) return Float is ...

    X : Float := Calc_Formula(4, 5, Is_Gain => True);
Re:Get rid of boolean function parameters by darklajid on Monday June 15, 2015 @11:39AM (#9720024)
Actually that was 'real' C#, so the language I'm working with does support this feature.

That said, Ada is certainly something I want to learn more about at some point.