Fix common library functions, or abandon then?
- by Ian Boyd
Imagine i have a function with a bug in it:
Boolean MakeLocation(String City, String State)
{
//Given "Springfield", "MO"
//return "Springfield, MO"
return City+", "+State;
}
So the call:
MakeLocation("Springfield", "MO");
would return "Springfield, MO"
Now there's a slight problem, what if the user called:
…