[Issue 13371] std.math.factorial

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Aug 30 07:03:22 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13371

yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com

--- Comment #7 from yebblies <yebblies at gmail.com> ---
(In reply to bearophile_hugs from comment #4)
> 
> I don't agree. I am using it. It's a basic common algorithm. Asking people
> to rewrite it in every little script of project is unwise.

If it was used in every little script this would be a valid argument.  I don't
think I've ever used it outside of project euler puzzles.

On the other hand, it costs us very little to provide it.  A function that only
takes a dozen lines doesn't have a high usefulness barrier to overcome.

--


More information about the Digitalmars-d-bugs mailing list