Implementing and optimizing a simple graph metric

bearophile bearophileHUGS at
Thu Sep 26 15:03:11 PDT 2013

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 :-)


More information about the Digitalmars-d-announce mailing list