minus-squareEhForumUser@lemmy.caBannedtoGo programming language discussion@lemmy.ml•Go 1.21 RClinkfedilinkEnglisharrow-up2·3 years ago could have easily been in math package Not easily while avoiding the allocation hit of variadic arguments. But funny that, after all these years waiting on parametric polymorphism to be able to add a generalized min/max, it ends up as a built-in anyway. linkfedilink
Not easily while avoiding the allocation hit of variadic arguments. But funny that, after all these years waiting on parametric polymorphism to be able to add a generalized
min/max, it ends up as a built-in anyway.