Naming a method that returns 0 for negative values -
i'm writing such method library. can't seem find name nor reference of having named such function before.
what name it?
i call clipper noun , clip verb.
the operation you're describing negativeclip or subzeroclip. of course have generic function 2 or 3 arguments. depending on needs see lowerboundclip or floorclip or bottomclip being paired upperboundclip or ceilingclip or topclip instead. in couple of word clip sounds redundant.
words bound, bounds, bounded, boundary used in mathematics think possible function names i'm not sure clear in meaning. , binding used in other programming topics there's potential confusion also.
Comments
Post a Comment