Re:Maximal Min() and Max()
by PaulDavisThe1st on Friday August 09, 2024 @12:43PM
(#41203422)
> C++ instead doubled down and added many more ways for implicit conversions to happen.
but also allows you to turn them off for objects, thankfully.
I think implicit type conversion is a mistake, perhaps one of the few true design flaws in C. Languages like haskell and rust went with explicit conversions which is probably a better idea overall, even if it does increase the code verbosity a bit. C++ instead doubled down and added many more ways for implicit conversions to happen.