Joseph Rushton Wakeling:

T is qualified via isFloatingPoint :-)

I know, but that qualification could change in future evolutions of your code. Strong type safety means that if you change a type in your code, with a localized change (like removing isFloatingPoint at the top of your function) the whole code that depends on that type (like the body of this function of yours) will keep working as safely as before :-)

Bye,
bearophile

Reply via email to